ai-security

ai-security is a skill for Claude Code, Codex from arcasilesgroup/ai-engineering. It costs 158 tokens per session (3,235 once invoked), scanned A, original, Apache-2.0.

A security-review workflow that examines trust boundaries, authentication, data, dependencies, skills, and the software supply chain, then reports each result as PASS, FAIL, or INCOMPLETE with its command.

In plain words
What is it for?
Threat modelling, reviewing authentication and data flows, checking dependencies and tools, running the repository’s security scanners, and documenting security findings.
Why use it?
It prevents unchecked security assumptions and makes clear which protections were actually tested.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Threat modelling, reviewing authentication and data flows, checking dependencies and tools, running the repository’s security scanners, and documenting security findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arcasilesgroup/ai-engineering/ai-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 arcasilesgroup/ai-engineering --skill ai-security
Clone the repo
git clone --depth 1 https://github.com/arcasilesgroup/ai-engineering

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/arcasilesgroup/ai-engineering/ai-security/github.svg)](https://agentmods.dev/skills/arcasilesgroup/ai-engineering/ai-security)
Your own site
<a href="https://agentmods.dev/skills/arcasilesgroup/ai-engineering/ai-security"><img src="https://agentmods.dev/badge/skills/arcasilesgroup/ai-engineering/ai-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 ai-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcasilesgroup/ai-engineering/ai-security"><img src="https://agentmods.dev/badge/skills/arcasilesgroup/ai-engineering/ai-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,235 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00158 $0.03235
Opus 5.5 $0.00063 $0.01294
Sonnet 5.5 $0.00032 $0.00647
Haiku 4.5 $0.00016 $0.00324

Measured 19d ago against content hash 56dfe2a6feb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-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 19d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/validate-findings.cjs), 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/ai-security/SKILL.md · 166 lines

How it starts

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

ai-security — six-phase security audit with adversarial validation

You are a security auditor. Your job is to find exploitable vulnerabilities with real impact.

Platform terminology

This skill is agent-neutral. In the methodology:

  • Task tool means the coding agent's delegation or sub-agent mechanism.
  • research agent means a delegated agent optimized for focused codebase exploration and factual verification.
  • general agent means a delegated agent that can investigate broadly and spawn focused research agents.
  • subagent_type means the equivalent delegated-agent role supported by the current platform.

Use the platform's equivalent capabilities while preserving the specified roles, parallelism, prompts, and independence boundaries.

Setup

Before starting, establish two paths:

  • Target: the codebase to audit (from the user's request or the current working directory)
  • Output directory: where all audit artifacts go. Ask the user if not specified, or default to .ai-engineering/security/run-N where N is the next unused integer (check what exists with ls). Create it if it doesn't exist. This ensures multiple runs against the same repo produce separate results.

All files written during the audit go in the output directory:

  • architecture.md — Phase 1 output, fed into Phase 2 agent prompts
  • REPORT.md — human-readable report (Phase 4)
  • FINDINGS-DETAIL.md — detailed data flows for MEDIUM+ findings (Phase 4)
  • findings.json — machine-readable structured output (Phase 5)

Subagents (Phases 1, 2, 3, 6) do NOT write files — they return results to you via the Task tool. You are responsible for writing all files to the output directory.

Coverage and prior runs

Each audit run explores different code paths depending on which agents find what and where they dig. No single run finds everything. Testing shows the best single run finds roughly half the total vulnerabilities across multiple runs.

If prior runs exist for the same repo (check .ai-engineering/security/ for the other run-N directories), read their findings.json files before starting Phase 2. Use them to:

  1. Skip known findings — don't waste agents re-discovering the same status bypass. disposition is the ledger's other half: a finding marked fixed is closed, an open one is live ground. Mention prior findings in the report but focus hunting effort on new ground.
  2. Target gaps — if prior runs focused heavily on injection and auth, weight this run toward business logic, creative attacks, and the wildcard agent. If prior runs missed public endpoints, focus there.
  3. Resolve disagreements — if prior runs gave conflicting verdicts on the same finding, validate it definitively.

Read the full file on GitHub · 166 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. 19d ago Changed · +2 lines 56dfe2a6feb4
  2. 27d ago Changed · -1 lines d8488982dd6a
  3. 1mo ago Changed · +13 lines 7957e8dfb691
  4. 1mo ago Changed · +4 lines 8e496ed5cf64
  5. 1mo ago Changed · +55 lines · +19 tokens per session 9d5f01a8963f
  6. 1mo ago First seen · 93 lines · 139 tokens per session scan A 030ff02c7125

Subscribe to this mod's changes

ai-security is a skill published in the GitHub repository arcasilesgroup/ai-engineering (61 stars, last pushed 5d ago), licensed Apache-2.0. It adds 158 tokens to every session and 3,235 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-30.

Related

Other skills, from other repositories

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

322-frameworks-spring-boot-testing-integration-tests

Use when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester for HTTP, data isolation, and container lifecycle management for Spring Boot 4.0.x. This should trigger for requests such as Review Java code…

jabrena/plinth · 123 tokens

314-frameworks-spring-kafka

Use when you need to design or implement Kafka messaging in Spring Boot — including topic design, producer/consumer implementation, JSON serialization with Boot factory customizers, Testcontainers @ServiceConnection integration tests, retries and dead-letter topics, idempotency, and error handling. This should trigger…

jabrena/plinth · 112 tokens

setup-husky-dotnet

Use when configuring Git hooks in .NET projects before team commits occur, to enforce commit message standards and code formatting automatically.

SebastienDegodez/copilot-instructions · 30 tokens

vibeflow-stats

Compiles statistics from audit reports: PASS/PARTIAL/FAIL rates, most violated patterns, most failing DoD checks, and quality trends. Use after running several audits to spot improvement areas.

pe-menezes/vibeflow · 46 tokens

apex-azure-deploy

WORKFLOW SKILL — Execute Azure deployments (azd up, azd deploy, terraform apply) for already-prepared apps with built-in error recovery. WHEN: 'run azd up', 'run azd deploy', 'push to production', 'go live', 'bicep deploy', 'terraform apply', 'publish to Azure'. DO NOT USE FOR: creating new apps (apex-azure-prepare)…

jonathan-vella/apex-accelerator · 106 tokens