Skip to content
vetkitChecksChangelogDocumentation

vetkit.kotlin.tls.trust-all

A TrustManager or HostnameVerifier accepts every certificate/host, disabling TLS validation.

Last updated:

Suite: Security

kotlin

A TrustManager or HostnameVerifier accepts every certificate/host, disabling TLS validation.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Use the platform default TrustManager; load custom CAs into a KeyStore (or Android network security config) instead of disabling checks.

References

Source: packages/engine/rules/sast/kotlin.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.