feat(ios): secrets in UserDefaults, URL schemes and permissions of iOS apps (#479)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Dashboard (push) Successful in 5m51s
CI / Deploy Agent (push) Successful in 7m29s

This commit was merged in pull request #479.
This commit is contained in:
sharang committed 2026-10-05 23:35:23 +00:00
1 parent 5fdf80a1e0
commit 5b2deec9e8
19 files changed
+906 -5

No files matched your search

+16
View File
@@ -442,6 +442,22 @@
],
"rules": [],
"check": "Stored data must be encrypted with a current cipher and mode (AES-GCM, ChaCha20-Poly1305); DES, RC4, ECB mode or a hard-coded key violates it."
},
{
"tool": "semgrep",
"scan_type": "sast",
"languages": [
"swift",
"objc",
"regex"
],
"cwe": [],
"rules": [
"cra-ai-14-swift-secret-in-userdefaults",
"cra-ai-14-swift-secret-in-appstorage",
"cra-ai-14-objc-secret-in-userdefaults"
],
"check": "An iOS app must keep passwords, tokens and keys in the Keychain; storing them in UserDefaults (also through @AppStorage), an unencrypted plist in the app container, violates it. The Objective-C rule is a regex pattern (semgrep has no Objective-C parser), hence the regex language."
}
],
"note": null,