security-fixer

security-fixer is an agent for coding agents from wrxck/auto-audit. It costs 56 tokens per session (3,667 once invoked), scanned B, original, no licence file.

A coding agent that applies the smallest fix for a confirmed security vulnerability. It creates a branch, changes source files, runs available project tests, and commits the result, but does not open the pull request.

In plain words
What is it for?
Use it after a proof of concept has demonstrated a vulnerability and the finding is ready to be fixed.
Why use it?
It turns a confirmed security report into a tested code change while keeping the fix separate from the main branch. Limiting the change helps reduce unrelated risk.

Agent

Part of the auto-audit plugin — 9 skills, 4 agents, 1 hook shipped together

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/wrxck/auto-audit/security-fixer
Clone the repo
git clone --depth 1 https://github.com/wrxck/auto-audit

Or install auto-audit, the plugin that ships this one along with the rest of its 9 skills, 4 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/wrxck/auto-audit/security-fixer.svg)](https://agentmods.dev/agents/wrxck/auto-audit/security-fixer)
Your own site
<a href="https://agentmods.dev/agents/wrxck/auto-audit/security-fixer"><img src="https://agentmods.dev/badge/agents/wrxck/auto-audit/security-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin unknown 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.00056 $0.03667
Opus 5 $0.00028 $0.01834
Sonnet 5 $0.00011 $0.00733
Haiku 4.5 $0.00006 $0.00367

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

Security

Grade B, and why

security-fixer scanned grade B with 2 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.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

**You MUST run all target-repo commands (tests, build scripts, linters) via `run_sandboxed`** from `scripts/lib/sandbox.sh`. Never invoke `npm`, `npx`, `pytest`, `jest`, `go test`, `cargo test`, or any other scraped-repo

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

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Never run `rm -rf`, `git reset --hard` on the default branch, or delete files you didn't create.**

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

agents/security-fixer.md · 203 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 203 lines · 56 tokens per session scan B f7d918e42ba8

Subscribe to this mod's changes

security-fixer is an agent published in the GitHub repository wrxck/auto-audit (26 stars, last pushed 22d ago), with no licence file. It adds 56 tokens to every session and 3,667 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (unrestricted tool access, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.