security-auditor

security-auditor is an agent for Claude Code from moasq/ios-dev-agent. It costs 38 tokens per session (786 once invoked), scanned A, original, MIT.

An automated security review for an iOS app, including its permissions, settings, stored data, and source code.

In plain words
What is it for?
Use it to inspect HealthKit data handling, secrets, entitlements, Info.plist privacy descriptions, and related app integrations such as sign-in, payments, notifications, and camera or photo access.
Why use it?
It helps reveal exposed health information, hard-coded credentials, incorrect permissions, and missing privacy disclosures before release.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Part of the ios-dev-agent plugin — 65 skills, 12 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it to inspect HealthKit data handling, secrets, entitlements, Info.plist privacy descriptions, and related app integrations such as sign-in, payments, notifications, and camera or photo access.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/moasq/ios-dev-agent/security-auditor
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.

Clone the repo
git clone --depth 1 https://github.com/moasq/ios-dev-agent

Made for: Claude Code.

Or install ios-dev-agent, the plugin that ships this one along with the rest of its 65 skills, 12 agents, 4 hooks, 1 MCP server.

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 security-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/moasq/ios-dev-agent/security-auditor/github.svg)](https://agentmods.dev/agents/moasq/ios-dev-agent/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/moasq/ios-dev-agent/security-auditor"><img src="https://agentmods.dev/badge/agents/moasq/ios-dev-agent/security-auditor/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 security-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/moasq/ios-dev-agent/security-auditor"><img src="https://agentmods.dev/badge/agents/moasq/ios-dev-agent/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 786 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.00038 $0.00786
Opus 5.5 $0.00015 $0.00314
Sonnet 5.5 $0.00008 $0.00157
Haiku 4.5 $0.00004 $0.00079

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

Security

Grade A, and why

security-auditor 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 1mo ago.

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.

.agents/agents/security-auditor.md · 100 lines

How it starts

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

Security Auditor Agent

You audit the current iOS app for security vulnerabilities.

Scope

For the current app, infer sensitive domains from entitlements, imports, Info.plist usage descriptions, and app code. Pay special attention to HealthKit, WeatherKit, local notifications, StoreKit/RevenueCat, Sign in with Apple, camera/photos, and on-device AI.

Workflow

Step 1: HealthKit Data Exposure

Search for HealthKit data handling:

  • Is PHI (Protected Health Information) logged to console via print() or os.Logger?
  • Is health data stored in UserDefaults or @AppStorage? (Must use SwiftData or Keychain)
  • Are health query results properly scoped (not leaking to other features)?
  • Is HealthKit authorization checked before every query?

Step 2: Credential & Secret Exposure

Check for:

  • API keys or tokens hardcoded in source files
  • Sensitive strings in Info.plist that should be in build configuration
  • .env files or credentials committed to the repository
  • Secrets logged to stdout/stderr

Step 3: Info.plist Privacy Descriptions

Verify required usage descriptions exist:

  • NSHealthShareUsageDescription — required for HealthKit read
  • NSHealthUpdateUsageDescription — required if writing to HealthKit
  • NSLocationWhenInUseUsageDescription — if using location for weather
  • NSUserNotificationsUsageDescription — for notification scheduling

Verify descriptions are user-facing and meaningful (not placeholder text).

Step 4: Entitlement Validation

Check that entitlements match actual usage:

  • com.apple.developer.healthkit — only if HealthKit is used
  • com.apple.developer.weatherkit — only if WeatherKit is used
  • No unused entitlements (attack surface reduction)

Step 5: Data Storage Security

  • SwiftData stores encrypted at rest (iOS default) — verify no custom unencrypted storage
  • No sensitive data in UserDefaults (it's plist, not encrypted)
  • Check for proper use of Keychain for any tokens/credentials

Step 6: App Transport Security

Read the full file on GitHub · 100 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. 1mo ago First seen · 100 lines · 38 tokens per session scan A 60c95aad114d

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository moasq/ios-dev-agent (6 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 786 once invoked, about $0.0002 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

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

crash-classifier-ios

Fast iOS crash classification by type, component, and trigger (Swift/Objective-C).

IvanLutsenko/awac-ai-agent-plugins · 24 tokens

android-kotlin-expert

Android native specialist for Kotlin, Java, Gradle/AGP, the Jetpack libraries, JNI/NDK, OpenGL ES and camera pipelines (Camera2, CameraX, MediaCodec, MediaPipe, ML Kit), and React Native / Expo Modules native bridging. Use when the task touches android/ (.kt, .java, .gradle / .gradle.kts, AndroidManifest.xml…

simiancraft/simiancraft-skills · 276 tokens

code-reviewer

Senior Android code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, performance. Use for thorough code review before merge.

GuillemRoca/agent-skills-android · 33 tokens