security-audit

security-audit is a skill for Claude Code, Codex from msradam/theodosia. It costs 250 tokens per session (7,714 once invoked), scanned B, original, Apache-2.0.

A skill for reviewing a web application for security vulnerabilities, either from its source code, a live website, or both, when the review is authorized.

In plain words
What is it for?
It is for defensive security reviews, authorized penetration testing, bug-bounty work, and checking how an application could be attacked.
Why use it?
It helps identify weaknesses and clarify what can be checked when the reviewer has code access, a running site, or limited access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; positional $N argument.

Good fit It is for defensive security reviews, authorized penetration testing, bug-bounty work, and checking how an application could be attacked.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/msradam/theodosia/security-audit.svg)](https://agentmods.dev/skills/msradam/theodosia/security-audit)
Your own site
<a href="https://agentmods.dev/skills/msradam/theodosia/security-audit"><img src="https://agentmods.dev/badge/skills/msradam/theodosia/security-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 250 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,714 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00250 $0.07714
Opus 5 $0.00125 $0.03857
Sonnet 5 $0.00050 $0.01543
Haiku 4.5 $0.00025 $0.00771

Measured 8d ago against content hash 5b5d3e6ae71b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

security-audit scanned grade B with 3 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 8d 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

| AWS IMDSv1 | `http://169.254.169.254/latest/meta-data/iam/security-credentials/` | none (legacy) |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

grep -rInE 'urllib\.(request|urlopen)\(|requests\.(get|post)\(.+\+' src/

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

grep -rInE 'child_process\.(exec|execSync)\(|\.spawn\(.+,\s*\{\s*shell' src/
examples/skills/security-audit/SKILL.md · 601 lines

How it starts

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

Web App Security Audit

Find the bugs before attackers do. Works equally well for:

  • Your own codebase — defensive audit before you get hacked
  • A project you have written authorization to audit — GHSA collaborator, bug-bounty scope, CTF engagement

First — what mode are we in?

digraph context {
    "Can I read the target's source?" [shape=diamond];
    "Do I also have a live URL?" [shape=diamond];
    "INSIDE mode" [shape=doublecircle];
    "OUTSIDE mode" [shape=doublecircle];
    "BOTH mode (ideal)" [shape=doublecircle];

    "Can I read the target's source?" -> "Do I also have a live URL?" [label=yes];
    "Can I read the target's source?" -> "OUTSIDE mode" [label=no];
    "Do I also have a live URL?" -> "BOTH mode (ideal)" [label="yes, running deployment"];
    "Do I also have a live URL?" -> "INSIDE mode" [label="no, code only"];
}

Check signals in this order:

Signal Mode
ls shows package.json / Cargo.toml / go.mod / pyproject.toml / Dockerfile / src/ in cwd inside (filesystem access to target)
User says "my project", "our codebase", "audit this repo", pastes code inside
User gave only a URL / hostname / API endpoint, no filesystem access outside (black-box)
Filesystem access AND a live URL of the same project both — most powerful
Written scope from the maintainer of a project you don't own outside or both (check cwd)

Before probing production from outside, you need authorization in writing. Scope artefact (maintainer DM, GHSA collaborator invite, bounty scope). Without it, stop.


INSIDE mode — source-code audit checklist

Read the code before doing anything else. Every bug found here is free (no prod traffic, no scope questions). Work in this order — cheap first:

1. Dependency CVEs and version pins

# Node
npm audit --production                          # or pnpm audit, yarn audit
grep -E '"(react|next|express|fastify|better-auth|drizzle)":' package.json
# Python
pip-audit || safety check
# Container
grep -E 'FROM\s+.+:latest|FROM\s+.+:\d' Dockerfile*   # :latest is a smell

Read the full file on GitHub · 601 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 601 lines · 250 tokens per session scan B 5b5d3e6ae71b

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository msradam/theodosia (15 stars, last pushed today), licensed Apache-2.0. It adds 250 tokens to every session and 7,714 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it B with 3 findings (cloud metadata endpoint, makes network calls, runs shell commands). 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

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server offers, call tools, or integrate MCP servers into workflows.

PrefectHQ/fastmcp · 46 tokens

dos-goal-fleet

Launch multiple goal-scoped workers in waves, each with a witness-gated stop condition and dos arbitrate file-tree safety. Use when an operator asks to run several independent goals in parallel and fold only verified ships.

anthony-chaudhary/dos-kernel · 51 tokens

dos-goal-gate

Ground a keep-working goal in evidence the worker did not author by wiring dos hook stop to refuse false done claims. Use for one self-stopping agent or loop worker; use dos-witness-claim for fold barriers.

anthony-chaudhary/dos-kernel · 54 tokens

dos-self-improve

Run the DOS self-improvement loop: propose a candidate, verify it in an isolated worktree, measure suite/truth/metric gates, and keep only confirmed gains. Use for recursive improvement; use dos-enforce-tune for policy knobs.

anthony-chaudhary/dos-kernel · 56 tokens

dos-supervise-loop

Keep a target count of dispatch loops alive across the workspace lane roster: spawn missing loops, scavenge stalled leases, and surface spinning workers. Use when supervising a DOS dispatch-loop fleet.

anthony-chaudhary/dos-kernel · 43 tokens

dos-witness-claim

Route subagent claims through independent read-back before another agent relies on them. Use at parallel, pipeline, or synthesis barriers where shipped phases, files, rows, messages, or other effects must be witnessed.

anthony-chaudhary/dos-kernel · 47 tokens