18 lines
517 B
JSON
18 lines
517 B
JSON
{
|
|
"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"
|
|
]
|
|
}
|