All rules →
Rules / Swift
SHIELD-SWIFT-015

Insecure random for security token

highSwiftCWE-338CVSS 7.4

What it detects

arc4random or a non-cryptographic random source is used to generate a token.

How to fix

Generate security tokens with SecRandomCopyBytes for cryptographic strength.

Scan your repo freeFull documentation
Back to all rules
SHIELD-SWIFT-015: Insecure random for security token — Zennoxa Shield