save progress
This commit is contained in:
17
offline/rules/secrets/sources/private-key-ec.json
Normal file
17
offline/rules/secrets/sources/private-key-ec.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user