iOS Security
An agent skill for reviewing iOS/Swift code for security vulnerabilities, data protection issues, and privacy compliance.
When to Activate
- User asks for a security review of iOS code
- User asks about secure storage, networking, or authentication
- User runs
/ios-security-check
- Code involves: Keychain, UserDefaults with sensitive data, networking, authentication, file storage, or privacy-related APIs
Decision Tree
What area of code is being reviewed?
├── Data Storage
│ ├── Credentials, tokens, secrets → references/keychain-usage.md
│ ├── Files, databases, backups → references/data-protection.md
│ └── UserDefaults → Flag if storing sensitive data
├── Networking
│ ├── API calls, URLSession → references/network-security.md
│ ├── Hardcoded URLs, API keys → references/network-security.md
│ └── ATS configuration → references/network-security.md
├── Privacy
│ ├── Privacy manifest → references/privacy-manifest.md
│ ├── Tracking, analytics → references/privacy-manifest.md
│ └── Required reason APIs → references/privacy-manifest.md
└── General Security Audit
└── Walk through references/owasp-mobile-top10.md
Severity Levels
- CRITICAL: Direct data exposure, hardcoded secrets, no encryption on sensitive data
- HIGH: Missing certificate pinning on auth endpoints, weak Keychain configuration
- MEDIUM: Missing privacy manifest entries, ATS exceptions without justification
- LOW: Debug logging of sensitive data, clipboard exposure
Output Format
### [SEVERITY] Finding Title
- **Category:** Storage / Networking / Privacy / Authentication
- **File:** path/to/file.swift:line
- **Risk:** What could go wrong
- **Fix:** How to remediate
- **Reference:** Which reference doc
Reference Documents
references/keychain-usage.md - Secure storage with Keychain
references/network-security.md - ATS, certificate pinning, API keys
references/data-protection.md - File encryption, backups, clipboard
references/privacy-manifest.md - iOS 17+ privacy requirements
references/owasp-mobile-top10.md - OWASP Mobile Top 10 for iOS
Source: matiastripode/ios-agent-skills — distributed by TomeVault.
1---2name: ios-security3description: Reviews iOS/Swift code for security vulnerabilities, data protection issues, and privacy compliance including OWASP Mobile Top 10 Use when this capability is needed.4---56# iOS Security78An agent skill for reviewing iOS/Swift code for security vulnerabilities, data protection issues, and privacy compliance.910## When to Activate1112- User asks for a security review of iOS code13- User asks about secure storage, networking, or authentication14- User runs `/ios-security-check`15- Code involves: Keychain, UserDefaults with sensitive data, networking, authentication, file storage, or privacy-related APIs1617## Decision Tree1819```20What area of code is being reviewed?21├── Data Storage22│ ├── Credentials, tokens, secrets → references/keychain-usage.md23│ ├── Files, databases, backups → references/data-protection.md24│ └── UserDefaults → Flag if storing sensitive data25├── Networking26│ ├── API calls, URLSession → references/network-security.md27│ ├── Hardcoded URLs, API keys → references/network-security.md28│ └── ATS configuration → references/network-security.md29├── Privacy30│ ├── Privacy manifest → references/privacy-manifest.md31│ ├── Tracking, analytics → references/privacy-manifest.md32│ └── Required reason APIs → references/privacy-manifest.md33└── General Security Audit34 └── Walk through references/owasp-mobile-top10.md35```3637## Severity Levels3839- **CRITICAL**: Direct data exposure, hardcoded secrets, no encryption on sensitive data40- **HIGH**: Missing certificate pinning on auth endpoints, weak Keychain configuration41- **MEDIUM**: Missing privacy manifest entries, ATS exceptions without justification42- **LOW**: Debug logging of sensitive data, clipboard exposure4344## Output Format4546```47### [SEVERITY] Finding Title48- **Category:** Storage / Networking / Privacy / Authentication49- **File:** path/to/file.swift:line50- **Risk:** What could go wrong51- **Fix:** How to remediate52- **Reference:** Which reference doc53```5455## Reference Documents5657- `references/keychain-usage.md` - Secure storage with Keychain58- `references/network-security.md` - ATS, certificate pinning, API keys59- `references/data-protection.md` - File encryption, backups, clipboard60- `references/privacy-manifest.md` - iOS 17+ privacy requirements61- `references/owasp-mobile-top10.md` - OWASP Mobile Top 10 for iOS6263---64> Source: [matiastripode/ios-agent-skills](https://github.com/matiastripode/ios-agent-skills) — distributed by [TomeVault](https://tomevault.io).65<!-- tomevault:4.0:skill_md:2026-05-23 -->