18 lines
637 B
JSON
18 lines
637 B
JSON
{
|
|
"id": "stellaops.secrets.private-key-openssh",
|
|
"version": "1.0.0",
|
|
"name": "OpenSSH Private Key",
|
|
"description": "Detects OpenSSH private keys (newer format)",
|
|
"type": "regex",
|
|
"pattern": "-----BEGIN OPENSSH PRIVATE KEY-----[\\s\\S]{50,}-----END OPENSSH PRIVATE KEY-----",
|
|
"severity": "critical",
|
|
"confidence": "high",
|
|
"keywords": ["BEGIN OPENSSH PRIVATE KEY", "END OPENSSH PRIVATE KEY"],
|
|
"filePatterns": ["*.pem", "*.key", "id_rsa", "id_ed25519", "id_ecdsa", "*.txt"],
|
|
"enabled": true,
|
|
"tags": ["cryptography", "private-key", "ssh", "openssh"],
|
|
"references": [
|
|
"https://man.openbsd.org/ssh-keygen"
|
|
]
|
|
}
|