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

18 lines
598 B
JSON

{
"id": "stellaops.secrets.stripe-restricted-key",
"version": "1.0.0",
"name": "Stripe Restricted Key",
"description": "Detects Stripe restricted API keys",
"type": "regex",
"pattern": "rk_(?:live|test)_[A-Za-z0-9]{24,}",
"severity": "high",
"confidence": "high",
"keywords": ["rk_live_", "rk_test_", "stripe"],
"filePatterns": ["*.yml", "*.yaml", "*.json", "*.env", "*.properties", "*.config", "*.js", "*.ts", "*.py", "*.rb"],
"enabled": true,
"tags": ["stripe", "payment", "credentials", "api-key"],
"references": [
"https://stripe.com/docs/keys#limit-access"
]
}