phpsafe 𝕏 GitHub
Official CA 421DTkQ3TSG3n7F9SkNZj9NxvdFGbypwkctPd2uupump This is the only official address.

SSL certificate checks turned off

Severity: Medium CWE-295 OWASP A02:2021 Cryptographic Failures rule: ssl_verify

Why it matters

Without certificate checks, anyone on the network path can impersonate the API you call and read or change the data, including your API keys.

βœ• Vulnerable
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
βœ“ Secure
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);

How to fix

Keep CURLOPT_SSL_VERIFYPEER true and CURLOPT_SSL_VERIFYHOST 2, or traffic can be intercepted.

Scan my code

Paste a file and PHP Safe points to every line that matches this rule.

Scan my code β†’