Skip to content

Commit

Permalink
nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisArdern committed Sep 12, 2023
1 parent 357be22 commit a7cdc2b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion swift/lang/storage/sensitive-storage-userdefaults.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
rules:
- id: swift-user-defaults
message: >-
DATA
Potentially sensitive data was observed to be stored in UserDefaults, which is not adequate protection
of sensitive information. For data of a sensitive nature, applications should leverage the Keychain.
severity: WARNING
metadata:
likelihood: LOW
Expand All @@ -10,9 +11,14 @@ rules:
category: security
cwe:
- 'CWE-311: Missing Encryption of Sensitive Data'
masvs:
- 'MASVS-STORAGE-1: The app securely stores sensitive data'
owasp:
- A03:2017 - Sensitive Data Exposure
- A04:2021 - Insecure Design
references:
- https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/ValidatingInput.html
- https://mas.owasp.org/MASVS/controls/MASVS-STORAGE-1/
subcategory:
- vuln
technology:
Expand Down

0 comments on commit a7cdc2b

Please sign in to comment.