Skip to content
vetkitChecksChangelogDocumentation

vetkit.php.tls.http-client-verification-disabled

TLS certificate verification is disabled for an HTTP client or stream context, enabling man-in-the-middle attacks.

Last updated:

Suite: Security

php

TLS certificate verification is disabled for an HTTP client or stream context, enabling man-in-the-middle attacks.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Remove verify/sslverify/verify_peer = false; point the client at a CA bundle (cafile / verify => '/path/ca.pem') for private CAs.

References

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