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

18 lines
534 B
JSON

{
"id": "stellaops.secrets.pypi-token",
"version": "1.0.0",
"name": "PyPI API Token",
"description": "Detects PyPI API tokens",
"type": "regex",
"pattern": "pypi-AgEIcHlwaS5vcmc[A-Za-z0-9_-]{50,}",
"severity": "high",
"confidence": "high",
"keywords": ["pypi-", "pypi.org"],
"filePatterns": [".pypirc", "*.yml", "*.yaml", "*.json", "*.env", "*.sh", "*.toml"],
"enabled": true,
"tags": ["pypi", "python", "package-manager", "credentials", "token"],
"references": [
"https://pypi.org/help/#apitoken"
]
}