ios-security

ios-security is a skill for Claude Code from rusel95/ios-agent-skills. It costs 149 tokens per session (4,243 once invoked), scanned A, original, MIT.

An iOS security-audit workflow for Swift and Objective-C code. It checks areas such as data storage, encryption, login, networking, web views, dependencies, tamper resistance, and privacy using the OWASP MASVS security standard.

In plain words
What is it for?
Use it to review an iPhone or iPad codebase for issues such as unsafe secrets, weak cryptography, insecure network settings, and input-validation problems.
Why use it?
It helps find security weaknesses and explains their risk, location, standard reference, and concrete fix.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ios-all plugin — 11 skills shipped together , and of ios-agent-skills

Good fit Use it to review an iPhone or iPad codebase for issues such as unsafe secrets, weak cryptography, insecure network settings, and input-validation problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rusel95/ios-agent-skills/ios-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rusel95/ios-agent-skills --skill ios-security
Clone the repo
git clone --depth 1 https://github.com/rusel95/ios-agent-skills

Made for: Claude Code.

Or install ios-all, the plugin that ships this one along with the rest of its 11 skills.

Its marketplace also offers this one on its own, as the plugin ios-security — /plugin install ios-security after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ios-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/rusel95/ios-agent-skills/ios-security/github.svg)](https://agentmods.dev/skills/rusel95/ios-agent-skills/ios-security)
Your own site
<a href="https://agentmods.dev/skills/rusel95/ios-agent-skills/ios-security"><img src="https://agentmods.dev/badge/skills/rusel95/ios-agent-skills/ios-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ios-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/rusel95/ios-agent-skills/ios-security"><img src="https://agentmods.dev/badge/skills/rusel95/ios-agent-skills/ios-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00149 $0.04243
Opus 5.5 $0.00060 $0.01697
Sonnet 5.5 $0.00030 $0.00849
Haiku 4.5 $0.00015 $0.00424

Measured 3mo ago against content hash 07f08afe7193, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ios-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/quick-scan.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ios-security/SKILL.md · 311 lines

How it starts

The opening of the file, as written. The whole thing — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.

iOS Security Audit

Production-grade security auditing skill for iOS codebases aligned with OWASP MASVS v2.1.0. Operates pattern-first — high-confidence string/regex detection for CRITICAL issues, then semantic reasoning for HIGH/MEDIUM issues requiring data-flow understanding. Covers both Swift and Objective-C with language-appropriate detection strategies.

The audit produces a structured finding report with severity, location, MASVS mapping, risk explanation, and concrete fix. Every finding links to a MASVS control and, where applicable, a MASWE weakness ID.

Audit Scope Overview

MASVS v2.1.0 — 8 Categories, 24 Controls
├── STORAGE (2)  — Keychain, Data Protection, leakage vectors
├── CRYPTO (2)   — Algorithms, key management, randomness
├── AUTH (3)     — Protocol, local auth, step-up
├── NETWORK (2)  — ATS/TLS, certificate pinning
├── PLATFORM (3) — URL schemes, WebViews, UI security
├── CODE (4)     — Platform version, updates, deps, input validation
├── RESILIENCE (4) — Integrity, tampering, static/dynamic analysis
└── PRIVACY (4)  — Minimization, transparency, control, lifecycle

Quick Decision Trees

What severity level applies?

Is the issue exploitable without physical device access?
├── YES → Is sensitive data (credentials, PII, keys) exposed?
│   ├── YES → 🔴 CRITICAL
│   └── NO  → 🟡 HIGH
└── NO  → Does the issue weaken defense-in-depth?
    ├── YES → 🟢 MEDIUM
    └── NO  → 🔵 LOW

Which language audit strategy to apply?

Does the file use Objective-C (.m, .mm, .h with ObjC)?
├── YES → Apply ObjC runtime checks (swizzling, KVC, format strings)
│         AND standard checks → Read references/objc-specific.md
└── NO  → Pure Swift?
    ├── YES → Apply Swift-specific patterns (CryptoKit, actors)
    └── NO  → Mixed — apply BOTH checklists per file type

Is this an L2/regulated app?

Does the app handle financial, health, government, or payment data?
├── YES → L2 audit: encryption mandatory, pinning required,
│         compliance mapping needed → Read references/compliance-mapping.md
└── NO  → Does the app store any PII?
    ├── YES → L1+ audit: standard + privacy controls
    └── NO  → L1 audit: standard security controls

Read the full file on GitHub · 311 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 311 lines · 149 tokens per session scan A 07f08afe7193

Subscribe to this mod's changes

ios-security is a skill published in the GitHub repository rusel95/ios-agent-skills (14 stars, last pushed 1mo ago), licensed MIT. It adds 149 tokens to every session and 4,243 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ios-security compared with skills from other repositories

ios-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-securityrusel95/ios-agent-skillsSkill141mo agoMITA149Claude Code
flutterericrisco/rsc-harnessSkill6824d agoMITA91Claude Code, Codex
compose-multiplatformericrisco/rsc-harnessSkill6824d agoMITA80Claude Code, Codex
react-nativeericrisco/rsc-harnessSkill6824d agoMITA90Claude Code, Codex
harmony-arktsMindrally/skillsSkill3221mo agoApache-2.0A86Claude Code
localization-l10nMindrally/skillsSkill3221mo agoApache-2.0A28Claude Code
android-developmentMindrally/skillsSkill3221mo agoApache-2.0A27Claude Code