All rules →
Rules / Swift
SHIELD-SWIFT-009

Hardcoded secret in source

highSwiftCWE-798CVSS 8.2

What it detects

A password, API key, or token is assigned a hardcoded string literal.

How to fix

Load secrets from the Keychain or a secure configuration service, never from source.

Scan your repo freeFull documentation
Back to all rules
SHIELD-SWIFT-009: Hardcoded secret in source — Zennoxa Shield