All rules →
Rules / Swift
SHIELD-SWIFT-017

Keychain item without access control

mediumSwiftCWE-311CVSS 5.9

What it detects

A Keychain item is added with an insecure always-accessible protection class.

How to fix

Use kSecAttrAccessibleWhenUnlockedThisDeviceOnly or add SecAccessControl with biometrics.

Scan your repo freeFull documentation
Back to all rules
SHIELD-SWIFT-017: Keychain item without access control — Zennoxa Shield