High severityRubyCryptographyHIGH confidence
TLS Verify None
TLS certificate verification is disabled (VERIFY_NONE / verify:false), exposing connections to man-in-the-middle attacks (CWE-295).
Standards mapping
- OWASP Top 10
- A02:2021 - Cryptographic Failures
- OWASP ASVS
- V9.2.1 (L2)
Vulnerable vs. safe
Flagged by this check
http.verify_mode = OpenSSL::SSL::VERIFY_NONEPasses - the safe pattern
http.verify_mode = OpenSSL::SSL::VERIFY_PEERWhy it matters & how to fix it
TLS certificate verification is disabled (VERIFY_NONE / verify:false), exposing connections to man-in-the-middle attacks (CWE-295). Leave verification at OpenSSL::SSL::VERIFY_PEER and supply a correct CA bundle instead of turning verification off.
References
Rule ID integsec-ruby-tls-verify-none - engine: Opengrep - license: MIT - Copyright (c) IntegSec Inc.
TurboPentest runs this check automatically
Connect a GitHub repo and this check runs on every white-box pentest - AI-validated and reported with proof, from $99 per target.
Start a pentestRelated checks
- JavaScript / TypeScript - CryptographyInsecure Randomness For Secrets
- JavaScript / TypeScript - CryptographyWeak Cipher Algorithm
- JavaScript / TypeScript - CryptographyWeak Hash Algorithm
- Python - CryptographyInsecure Random Token
- Python - CryptographyWeak Cipher DES ECB
- Python - CryptographyWeak Hash MD5 SHA1