Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.ssh.unverified-host-key

Paramiko is told to accept unknown SSH host keys (AutoAddPolicy / WarningPolicy). The first connection can be intercepted by a man-in-the-middle.

Last updated:

Suite: Security

python

Paramiko is told to accept unknown SSH host keys (AutoAddPolicy / WarningPolicy). The first connection can be intercepted by a man-in-the-middle.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Load known host keys (load_system_host_keys / load_host_keys) and keep the default RejectPolicy.

References

Source: packages/engine/rules/sast/python.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.