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

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