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

18 lines
616 B
JSON

{
"id": "stellaops.secrets.private-key-rsa",
"version": "1.0.0",
"name": "RSA Private Key",
"description": "Detects RSA private keys in PEM format",
"type": "regex",
"pattern": "-----BEGIN RSA PRIVATE KEY-----[\\s\\S]{100,}-----END RSA PRIVATE KEY-----",
"severity": "critical",
"confidence": "high",
"keywords": ["BEGIN RSA PRIVATE KEY", "END RSA PRIVATE KEY"],
"filePatterns": ["*.pem", "*.key", "*.txt", "*.env", "*.yml", "*.yaml", "*.json", "*.config"],
"enabled": true,
"tags": ["cryptography", "private-key", "rsa"],
"references": [
"https://www.rfc-editor.org/rfc/rfc7468"
]
}