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