Skip to content
vetkitChecksChangelogDocumentation

vetkit.swift.tls.alamofire-evaluation-disabled

Alamofire server trust evaluation is disabled for a host (DisabledTrustEvaluator / .disableEvaluation). TLS connections to it accept any certificate.

Last updated:

Suite: Security

swift

Alamofire server trust evaluation is disabled for a host (DisabledTrustEvaluator / .disableEvaluation). TLS connections to it accept any certificate.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Use DefaultTrustEvaluator() or a pinning evaluator (PublicKeysTrustEvaluator); install a proper development CA instead of disabling evaluation.

References

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