Agent skill
ios-sec
Security policy for iOS apps. Enforces OWASP Top 10, Mobile Top 10, and CWE Top 25 mitigations.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ios-sec
SKILL.md
Purpose
Ensure iOS code is secure by default. For security output format and core refusal policy, see /shared-sec-baseline.
iOS-specific security concerns (always check)
- Keychain for secrets — never UserDefaults for tokens, passwords, or API keys
- ATS enforcement — no exceptions without justification; never disable TLS validation
- Deep link validation — validate scheme, host, and parameters before acting on universal/custom links
- Notification payloads — treat as untrusted input; validate before navigation or data use
- Biometric auth — use LocalAuthentication with fallback policy; don't rely solely on device passcode
- Privacy manifest — declare data collection accurately; required APIs need justification
Standard security (brief check)
- Input validation: sanitize all external input (network, clipboard, deep links)
- Error handling: no internal details surfaced to UI or logs
- Logging: no PII, tokens, or credentials; use OSLog with appropriate privacy levels
- Network: certificate pinning for sensitive endpoints; handle certificate failures safely
Additional refusals (iOS-specific)
Also refuse requests that: disable ATS, or store secrets in UserDefaults. Explain why and propose secure alternative.
Reference
For detailed OWASP/Mobile Top 10/CWE mitigation patterns, see reference/ios-sec-reference.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?