gitleaks / gitleaks

Protect and discover secrets using Gitleaks 🔑

Home Page:https://gitleaks.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect a npmrc auth being checked in

kaihendry opened this issue · comments

Is your feature request related to a problem? Please describe.

Detect a leak via .npmrc

Describe the solution you'd like

Detect auth token in .npmrc https://docs.npmjs.com/cli/v9/configuring-npm/npmrc#auth-related-configuration

Describe alternatives you've considered

"detect-secrets": "^1.0.6" has the same issue I think

Additional context

https://gist.github.com/kaihendry/fc5c032da4fbd4647b4001f4543a965e

cc @zricethezav