Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add matiastripode/ios-agent-skills --skill "ios-security"
Install specific skill from multi-skill repository
# Description
Reviews iOS/Swift code for security vulnerabilities, data protection issues, and privacy compliance including OWASP Mobile Top 10
# SKILL.md
name: ios-security
description: Reviews iOS/Swift code for security vulnerabilities, data protection issues, and privacy compliance including OWASP Mobile Top 10
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 Keychainreferences/network-security.md- ATS, certificate pinning, API keysreferences/data-protection.md- File encryption, backups, clipboardreferences/privacy-manifest.md- iOS 17+ privacy requirementsreferences/owasp-mobile-top10.md- OWASP Mobile Top 10 for iOS
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.