Files
git.stella-ops.org/offline/rules/secrets/sources/npm-token.json
StellaOps Bot 3098e84de4 save progress
2026-01-04 14:54:52 +02:00

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"
]
}