CodeAnt AI home pagelight logodark logo
  • Dashboard
  • Dashboard
  • Documentation
  • Demo Call with CEO
  • Blog
  • Slack
  • Get Started
    • CodeAnt AI
    • Setup
    • Control Center
    • Pull Request Review
    • IDE
    • Compliance
    • Anti-Patterns
    • Code Governance
    • Infrastructure Security Database
    • Application Security Database
      • Apex
      • Bash
      • C
      • Clojure
      • Cpp
      • Csharp
      • Dockerfile
      • Elixir
      • Fingerprints
      • Generic
      • Go
      • Html
      • Java
      • Javascript
      • Json
      • Kotlin
      • Ocaml
      • Php
      • Problem-based-packs
      • Python
      • Ruby
      • Rust
      • Scala
      • Solidity
      • Swift
        • Biometrics-and-auth
        • Commoncrypto
        • Cryptoswift
        • Insecure-communication
        • Lang
          • Background
          • Clipboard
          • Crypto
          • Forbidden
          • Ns
          • Storage
          • Storage
            • Storage-protections
              • Swift data protection
          • String
          • Xml
        • Pathtraversal
        • Sql
        • Sqllite
        • Webview
        • Webview
      • Terraform
      • Typescript
      • Yaml
    Storage-protections

    Swift data protection

    File storage was observed that does not leverage the platforms strongest available protection mechanisms. Where feasible, data should be stored with completeFileProtection or completeUnlessOpen, ensuring that data is sufficiently protected at rest. By default, data is unlocked the first time the user authenticates after boot.
    Likelihood: LOW
    Confidence: HIGH
    CWE:
    - CWE-311: Missing Encryption of Sensitive Data
    OWASP:
    - A03:2017 - Sensitive Data Exposure
    - A04:2021 - Insecure Design

    StorageSwift format string
    twitterlinkedin
    Powered by Mintlify