18 lines
627 B
JSON
18 lines
627 B
JSON
{
|
|
"id": "stellaops.secrets.private-key-ec",
|
|
"version": "1.0.0",
|
|
"name": "EC Private Key",
|
|
"description": "Detects EC (Elliptic Curve) private keys in PEM format",
|
|
"type": "regex",
|
|
"pattern": "-----BEGIN EC PRIVATE KEY-----[\\s\\S]{50,}-----END EC PRIVATE KEY-----",
|
|
"severity": "critical",
|
|
"confidence": "high",
|
|
"keywords": ["BEGIN EC PRIVATE KEY", "END EC PRIVATE KEY"],
|
|
"filePatterns": ["*.pem", "*.key", "*.txt", "*.env", "*.yml", "*.yaml", "*.json", "*.config"],
|
|
"enabled": true,
|
|
"tags": ["cryptography", "private-key", "ecdsa"],
|
|
"references": [
|
|
"https://www.rfc-editor.org/rfc/rfc5915"
|
|
]
|
|
}
|