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.
npx skills add forefy/.context --skill prompt-injection-auditgit clone --depth 1 https://github.com/forefy/.contextWrote 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.
[](https://agentmods.dev/skills/forefy/.context/prompt-injection-audit)<a href="https://agentmods.dev/skills/forefy/.context/prompt-injection-audit"><img src="https://agentmods.dev/badge/skills/forefy/.context/prompt-injection-audit/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.
<a href="https://agentmods.dev/skills/forefy/.context/prompt-injection-audit"><img src="https://agentmods.dev/badge/skills/forefy/.context/prompt-injection-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.01963 |
| Opus 5.5 | $0.00022 | $0.00785 |
| Sonnet 5.5 | $0.00011 | $0.00393 |
| Haiku 4.5 | $0.00006 | $0.00196 |
Grade A, and why
prompt-injection-audit 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Contents
- Scope & authorization (blast-radius labels)
- Model endpoint or agent application: when to use a scanner instead
- Phase 0 - target profile: what is even reachable
- Phase 1 - oracle and channel setup, with the canary gate
- Phase 2 - technique-family triage
- Phase 3 - matrix run
- Phase 4 - judged objectives
- False-positive gates
- Output
- Reference files:
references/technique-matrix.md,references/delivery-channels.md,references/results-schema.md
Scope & authorization
Only run against an LLM application you own or are contractually engaged to test. This skill makes a target agent take actions its operator did not intend, so the authorization has to name the agent, its tools, and the accounts it acts as - not just the web app in front of it.
Blast-radius labels:
- Passive (phase 0) - profiling. Reads the app's own surface and documentation.
- Active-3rdparty (phase 1) - stands up a callback host and arms a channel. Payload content reaches your own infrastructure.
- Active (phases 2-4) - the target agent executes injected instructions. Anything it can do, a landed payload can do.
Two objectives need their own sign-off before you run them. Memory poisoning persists past the engagement window and needs an agreed cleanup step. Token exhaustion is resource exhaustion against a metered service: get it in writing, cap it, run it off-peak, or skip it and record it as skipped.
Model endpoint or agent application
Decide this before anything else, because it decides whether this skill is the right instrument.
A raw model endpoint - you hold an API key and send prompts directly - is scanner work. Corpus scanners such as Praetorian's Augustus carry hundreds of probes across dozens of provider bindings and score them with maintained detectors. Point one at the endpoint and take the result. Do not hand-roll a corpus here; a payload library frozen in markdown goes stale against the next model revision, and breadth is not what a methodology skill adds.
What ships with it
3 files 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.
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.
- 2mo ago First seen · 119 lines · 55 tokens per session scan A 6cecedb9f6d9
prompt-injection-audit is a skill published in the GitHub repository forefy/.context (156 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,963 once invoked, about $0.0002 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-09-08.
prompt-injection-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prompt-injection-auditforefy/.context | Skill | 156 | yesterday | MIT | A | 55 | Claude Code, Codex |
| eresus-manual-security-auditEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 145 | Claude Code, Codex |
| eresus-php-auditEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 92 | Claude Code, Codex |
| eresus-sast-scannerEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 100 | Claude Code, Codex |
| eresus-python-auditEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 101 | Claude Code, Codex |
| eresus-remediatorEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 84 | Claude Code, Codex |
| eresus-variant-analysisEresusSecurity/appsec-skills | Skill | 7 | 7mo ago | Apache-2.0 | A | 85 | Claude Code, Codex |