save progress
This commit is contained in:
17
offline/rules/secrets/sources/npm-token.json
Normal file
17
offline/rules/secrets/sources/npm-token.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "stellaops.secrets.npm-token",
|
||||
"version": "1.0.0",
|
||||
"name": "NPM Access Token",
|
||||
"description": "Detects NPM access tokens",
|
||||
"type": "regex",
|
||||
"pattern": "npm_[A-Za-z0-9]{36}",
|
||||
"severity": "high",
|
||||
"confidence": "high",
|
||||
"keywords": ["npm_", "npmrc", "_authToken"],
|
||||
"filePatterns": [".npmrc", "*.yml", "*.yaml", "*.json", "*.env", "*.sh"],
|
||||
"enabled": true,
|
||||
"tags": ["npm", "package-manager", "credentials", "token"],
|
||||
"references": [
|
||||
"https://docs.npmjs.com/about-access-tokens"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user