Prompt Injection Benchmark
Description
A reproducible prompt-injection benchmark that measures which defenses actually work: each payload is replayed against every defense, the report separates whether the agent COMPLIED from whether the damage was CONTAINED, failure rates carry bootstrap confidence intervals over a measured noise floor, and the defenses that do not work get published.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
prompt-injection-benchmark
[](https://github.com/jkelly-dev1/prompt-injection-benchmark/actions/workflows/ci.yml)
A reproducible attack and defense measurement suite, built as a **personal learning project**, that measures which prompt-injection defenses actually work and publishes the ones that do not. Fifty two synthetic payloads across five delivery channels and nine attack classes are run against thirteen independently toggleable defense configurations, three times each, and every rate is reported with a bootstrap confidence interval next to the noise floor it has to clear.
The headline offline result is a defense that fails. Against the deterministic mock agent the entire prompt-level family, delimiter fencing and instruction hierarchy and provenance tagging, produces an improvement that sits **inside its own variance** and is reported as NOT SHOWN. The controls with a demonstrated effect there are the structural ones and the output-level guard, and all of them work the same way: by making it not matter that the agent was fooled rather than by preventing it.
**Two full sweeps against real models then reordered that table, and the disagreement is the most useful thing in this repository.** Against `gpt-5.6-terra` the prompt-level family produced the LARGEST measured reductions and cleared its noise floor, which is the opposite of the offline verdict. Against `claude-opus-5` nothing cleared the floor at all, because that model complied 27 times in 2,028 trials and there was almost nothing left to reduce. Same corpus, same defenses, same code, three different answers. See [Real model results](#real-model-results); the reason a mock cannot stand in for a model is limit 1.
The rule this repo follows: no claim without a test. The table below maps each claim in this README to the test that enforces it.
The problem it addresses
Injection write-ups report a blo
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11