Secrets — Private Keys & Certificates

RSA, EC, OpenSSH, PGP, WireGuard, age and other private-key material.

All rules in this category are kind secrets. They run under vulnetix secrets and the secrets stage of vulnetix scan.

Rule IDNameSeverityDetection
VNX-SEC-641OpenSSH private key blockCriticalkeyword + regex
VNX-SEC-642RSA private key blockCriticalkeyword + regex
VNX-SEC-643EC private key blockCriticalkeyword + regex
VNX-SEC-644DSA private key blockCriticalkeyword + regex
VNX-SEC-645PKCS8 private key blockCriticalkeyword + regex
VNX-SEC-646Encrypted private key blockHighkeyword + regex
VNX-SEC-647PuTTY private key file (.ppk)Criticalkeyword + regex
VNX-SEC-648SSH2 private key blockCriticalkeyword + regex
VNX-SEC-649PKCS12 keystore referenceHighkeyword + regex + entropy
VNX-SEC-650Certificate bundled with private keyMediumkeyword + regex
VNX-SEC-651JWT HS256 hardcoded signing secretCriticalkeyword + regex + entropy
VNX-SEC-697SSH private key beginning marker (generic)Criticalkeyword + regex
VNX-SEC-731Hardcoded session/cookie signing secretHighkeyword + regex + entropy
VNX-SEC-732Hardcoded encryption key (AES/Fernet context)Highkeyword + regex + entropy

Remediation

Rotate any exposed credential immediately, remove it from source, and load it from a secrets manager or environment variable instead. Purge it from git history with git filter-repo. See CWE-798 and the OWASP Secrets Management Cheat Sheet.