vetkit.rust.tls.certificate-validation-disabled
TLS certificate or hostname validation is switched off, so the connection can be intercepted (man-in-the-middle).
Last updated:
Suite: Security
rust
TLS certificate or hostname validation is switched off, so the connection can be intercepted (man-in-the-middle).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Remove the danger_* / SslVerifyMode::NONE setting; trust a private CA by adding its certificate as a root (add_root_certificate / set_ca_file) instead of disabling validation.
References
Source: packages/engine/rules/sast/rust.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.