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

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"
]
}