All rules →
Rules / C#
SHIELD-CSHARP-019

Trust-all TLS certificate validation

highC#CWE-295CVSS 8.1

What it detects

A certificate validation callback is overridden to always return true, disabling TLS trust checks.

How to fix

Perform proper certificate chain and hostname validation instead of returning true unconditionally.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CSHARP-019: Trust-all TLS certificate validation — Zennoxa Shield