security-specialist

security-specialist is an agent for coding agents from CarolaneLFBV/ios-development-agents. It costs 129 tokens per session (947 once invoked), scanned A, original, MIT.

A specialist for secure Swift and iOS development, including authentication, encrypted storage, network protection, and cryptography. It covers tools such as Keychain Services, CryptoKit, and passkeys.

In plain words
What is it for?
Use it to review or implement biometrics, OAuth sign-in, passkeys, Keychain storage, encrypted files, HTTPS protections, certificate pinning, and secure cryptographic operations.
Why use it?
It helps avoid common mistakes when storing secrets, handling sign-in, protecting network traffic, and using encryption.

Agent

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 agents/carolanelfbv/ios-development-agents/security-specialist
Clone the repo
git clone --depth 1 https://github.com/CarolaneLFBV/ios-development-agents

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/carolanelfbv/ios-development-agents/security-specialist.svg)](https://agentmods.dev/agents/carolanelfbv/ios-development-agents/security-specialist)
Your own site
<a href="https://agentmods.dev/agents/carolanelfbv/ios-development-agents/security-specialist"><img src="https://agentmods.dev/badge/agents/carolanelfbv/ios-development-agents/security-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 947 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.00129 $0.00947
Opus 5 $0.00064 $0.00474
Sonnet 5 $0.00026 $0.00189
Haiku 4.5 $0.00013 $0.00095

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

Security

Grade A, and why

security-specialist 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 4d 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/security-specialist.md · 89 lines

How it starts

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

Security Specialist

Secure coding, vulnerability assessment, and compliance.

Context7 first

Query context7 for current Keychain, CryptoKit, LocalAuthentication, and ATS APIs before implementing — security APIs are easy to misuse from memory.

  • resolve-library-id/apple/swift
  • query-docs → the specific API (SecItemAdd flags, AES.GCM, LAContext policies, ASAuthorization…) Fall back to the guidance below if context7 is unavailable.

Core Expertise

Domain Technologies
Authentication Biometrics, OAuth 2.0/PKCE, JWT, session management, passkeys
Data Protection Keychain Services, Data Protection API, encryption at rest
Network Security ATS, certificate pinning, HTTPS enforcement
Cryptography CryptoKit (AES-GCM, SHA-256+, HKDF, P256), secure random, key management

Decision Guidelines

Where to store secrets

  • Keychain → tokens, passwords, API keys, certificates — always
  • Data Protection API → large encrypted files on disk
  • Never → UserDefaults, plist, hardcoded strings, logs

Auth strategy

  • Passkeys → preferred for new apps (phishing-resistant)
  • Biometrics + Keychain → returning-user unlock, sensitive operations
  • OAuth 2.0 + PKCE → third-party auth (always PKCE, never implicit)
  • JWT → stateless API auth, short-lived access + long-lived refresh

Signature Patterns

Keychain storage with access control

static func save(_ data: Data, for key: String) throws {
    let query: [String: Any] = [
        kSecClass as String: kSecClassGenericPassword,
        kSecAttrAccount as String: key, kSecValueData as String: data,
        kSecAttrAccessible as String: kSecAttrAccessibleWhenUnlockedThisDeviceOnly]
    SecItemDelete(query as CFDictionary)
    guard SecItemAdd(query as CFDictionary, nil) == errSecSuccess else { throw KeychainError.saveFailed }
}

CryptoKit AES-GCM

import CryptoKit
func encrypt(_ data: Data, with key: SymmetricKey) throws -> Data { try AES.GCM.seal(data, using: key).combined! }
func decrypt(_ data: Data, with key: SymmetricKey) throws -> Data { try AES.GCM.open(.init(combined: data), using: key) }

Read the full file on GitHub · 89 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. 4d ago First seen · 89 lines · 129 tokens per session scan A 10b4d9281adf

Subscribe to this mod's changes

security-specialist is an agent published in the GitHub repository CarolaneLFBV/ios-development-agents (7 stars, last pushed 1mo ago), licensed MIT. It adds 129 tokens to every session and 947 once invoked, about $0.0006 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 agents, from other repositories

spec-compliance-reviewer

Agent Spec Compliance Reviewer — vérifie indépendamment que chaque Acceptance Criteria (AC) de chaque US est implémentée dans le code matérialisé. Re-lit le code sans faire confiance au rapport dev-, sur le pattern "Do not trust the report" (superpowers v5.1). Produit spec-compliance.{md,json} avec verdict 🟢/🟡/🔴…

zekiriabd/SDD-Pro · 104 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

code-quality-reviewer

Per-module objective code quality assessment with measurable metrics and threshold-based PASS/FAIL. Produces reviews/phase-6-review/code-review.md. Focuses on maintainability and pattern consistency — not spec compliance (rtl-critic) or functional correctness (Phase 5). (Opus).

babyworm/rtl-agent-team · 62 tokens

audit-geo

Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platform GEO scoring (Google AIO, ChatGPT, Perplexity, Bing Copilot).

XuanRanL/loamwright-SEO-Skill · 44 tokens

ui-visual-validator

Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.

Dicklesworthstone/pi_agent_rust · 54 tokens

investigative-reporter-agent

Takes a story spark and produces a fully-scoped investigation package — editorial angle, source map, records requests, document analysis, verification checklist, libel-risk flags, and a draft lede — ready for an editor's desk.

ur-grue/autopunk-media-skills · 6 tokens