security-check

security-check is a command for coding agents from markdavidgan/apple-dev-skills. It costs 17 tokens per session (118 once invoked), scanned A, original, MIT.

A security review for an Apple app. It checks how the app stores credentials, handles sign-in, uses encryption, protects network traffic, and limits abuse.

In plain words
What is it for?
Use it to inspect Keychain storage, Sign in with Apple, biometrics, CryptoKit, App Transport Security, certificate pinning, App Attest, and DeviceCheck.
Why use it?
Security mistakes such as exposed secrets, weak encryption, or unprotected data can put users and the app at risk. The review compares the implementation with a security checklist.

Command

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.

agentmods
npx agentmods add commands/markdavidgan/apple-dev-skills/security-check
Clone the repo
git clone --depth 1 https://github.com/markdavidgan/apple-dev-skills

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-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/markdavidgan/apple-dev-skills/security-check.svg)](https://agentmods.dev/commands/markdavidgan/apple-dev-skills/security-check)
Your own site
<a href="https://agentmods.dev/commands/markdavidgan/apple-dev-skills/security-check"><img src="https://agentmods.dev/badge/commands/markdavidgan/apple-dev-skills/security-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.00118
Opus 5 $0.00009 $0.00059
Sonnet 5 $0.00003 $0.00024
Haiku 4.5 $0.00002 $0.00012

Measured 3d ago against content hash 214d821c25c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-check 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 3d 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.

platforms/claude/commands/security-check.md · 9 lines

What it actually says

Run the app-security skill on $ARGUMENTS.

Audits secret/credential storage (Keychain vs UserDefaults), authentication (Sign in with Apple, biometrics/LAContext), cryptography (CryptoKit usage, key handling), transport security (ATS, pinning), and anti-abuse (App Attest/DeviceCheck) against the security checklist — flagging hard-coded secrets, weak crypto, and data left unprotected.

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. 3d ago First seen · 9 lines · 17 tokens per session scan A 214d821c25c2

Subscribe to this mod's changes

security-check is a command published in the GitHub repository markdavidgan/apple-dev-skills (5 stars, last pushed 4d ago), licensed MIT. It adds 17 tokens to every session and 118 once invoked, about $0.0001 per session on Opus 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 commands, from other repositories

code-diagram

You are a code analysis expert. Analyze real source code and generate accurate Mermaid diagrams. Never guess or invent — every element must come directly from the code.

usamaijazmughal/code-diagram · 81 tokens

ai-do

You are a routing assistant for DSPy AI skills. Understand the user's problem, pick the best skill, and generate a ready-to-run prompt.

lebsral/DSPy-Programming-not-prompting-LMs-skills · 0 tokens

arc-skill

You are scaffolding a new React Native (Expo) project using the arc-skill architecture.

art9mid/arc-skill · 0 tokens

arc-connect

Connect API layer, storage, state management, authentication, and i18n to an existing React Native Expo project. Use after arc-scaffold to add backend integration. Trigger when the user mentions adding API calls, auth flow, login, storage, state management, internationalization, backend connection, or data fetching to…

art9mid/arc-skill · 70 tokens

arc-audit

Audit a React Native Expo project for mobile UX issues, performance problems, and architecture violations. Use to check code quality against arc-skill best practices. Trigger when the user asks to review code, check for issues, wants a health check, mentions touch targets, accessibility, performance audit, or says 'is…

art9mid/arc-skill · 76 tokens

arc-feature

Add a complete new feature domain to an existing React Native Expo project — types, API module, React Query hooks, screen, and components in one go. Use when adding a new entity like products, orders, chat, users, recipes, or any CRUD resource. Trigger when the user says 'add a feature', 'create a new screen for X'…

art9mid/arc-skill · 94 tokens