Attack the product's own AI like an adversary — make it ignore instructions, leak secrets, or misuse tools — and find where untrusted input can hijack it.
Free & open · no signup · read-only — it ends by asking · nothing leaves your machine
You are working inside this repo — an authorized red-team of this product's own AI. Mission: try to subvert it the way an attacker would, and find where untrusted input can override its instructions, extract its secrets, or turn its tools against the user.
This is the offensive pass — attack and report what works. For the defensive architecture review, run 35; for prompt hygiene, run 30.
Read-only pass. Read the prompts, tool wiring, and where external content enters the model; reason through attacks; change nothing but the report file.
Phase 2 sweeps the codebase through every one of these, citing file and line for each finding.
user input that overrides the system prompt or instructions
malicious instructions hidden in content the model reads (docs, pages, tool output)
coaxing the model to reveal its prompt, keys, or hidden context
tricking the agent into calling tools destructively or outside policy
getting the model to send private context to an attacker (e.g., a crafted link)
bypassing safety guardrails to produce disallowed output
where the model acts unsupervised on things it should not be trusted to do alone
One structured report at the repo root — or in reports/, if you keep one — the same shape every time, ready for a teammate — or the optional Studio — to act on.
Every Goal Prompt follows the same four steps, so results are consistent and repeatable — no matter which one you run.
Find every place untrusted content reaches the model.
Direct injection — user input that overrides the system prompt or instructions.
Rank by severity × reachability.
Create REDTEAM.md at repo root.
Copy it and paste it into your agent inside the repo you want checked.
Install the goal plugin once — two commands — then just type /goal:prompt-injection-redteam.
/plugin marketplace add GhostlyGawd/goal-prompts/plugin install goal@goal-promptsOr install only this Goal Prompt as /goal-prompt-injection-redteam:
curl -fsSL https://goal-prompts.vercel.app/install | BRIEF=118 shLet an agent fetch it mid-conversation, or pull the raw Goal Prompt by URL.
https://goal-prompts.vercel.app/raw/118.mdNothing hidden — this is the whole Goal Prompt, verbatim. Read it in a minute, edit it, or copy it as-is.
# Goal: Prompt-Injection Red-Team You are working inside this repo — an authorized red-team of this product's own AI. Mission: try to subvert it the way an attacker would, and find where untrusted input can override its instructions, extract its secrets, or turn its tools against the user. This is the offensive pass — attack and report what works. For the defensive architecture review, run 35; for prompt hygiene, run 30. Read-only pass. Read the prompts, tool wiring, and where external content enters the model; reason through attacks; change nothing but the report file. ## Phase 1 — Map the attack surface - Find every place untrusted content reaches the model: user input, retrieved documents, web pages, tool results. - List the model's powers: the tools it can call and the secrets or context it holds. - Note the trust boundaries it is assumed to respect. ## Phase 2 — Audit through 7 lenses 1. **Direct injection** — user input that overrides the system prompt or instructions 2. **Indirect injection** — malicious instructions hidden in content the model reads (docs, pages, tool output) 3. **Prompt & secret leakage** — coaxing the model to reveal its prompt, keys, or hidden context 4. **Tool & action abuse** — tricking the agent into calling tools destructively or outside policy 5. **Data exfiltration** — getting the model to send private context to an attacker (e.g., a crafted link) 6. **Jailbreaks** — bypassing safety guardrails to produce disallowed output 7. **Trust boundaries** — where the model acts unsupervised on things it should not be trusted to do alone ## Phase 3 — Curate - Rank by severity × reachability: an indirect injection that triggers a destructive tool outranks a prompt leak. - For each, describe the attack that works and the least-privilege or isolation fix. - Separate "the model can be fooled" from "being fooled causes real damage"; the second is the emergency. ## Phase 4 — Report Create `REDTEAM.md` at repo root: 1. **Attack surface** — where untrusted content meets the model, and what the model can do 2. **Findings** — each: severity · attack path · what it achieves · the fix 3. **Systemic defenses** — input isolation, output filtering, and least-privilege tool design 4. **Priority** — the injections to close first, by damage and ease Start the report with today's date. If `REDTEAM.md` already exists from a previous run, read it first and lead with what changed since. ## Rules - Treat everything the model reads as attacker-controlled, including retrieved content - The fix is rarely a better prompt; it is least privilege and isolation - No LLM attack surface in this repo? Say so in a one-paragraph null report and stop — a null result is a valid finding. - If a `reports/` directory exists at the repo root, write the report there instead of the root. - Before asking, present the top findings as a ranked list in plain words - Report only — end by asking which injection risks to close first
reports/ directory exists at the repo root, write the report there instead of the root.Curated neighbors — briefs that answer the adjacent question, worth running in the same session.
Every system prompt in the repo: contradictions, dead instructions, bloat, and injection surface — with a consolidation plan.
A defensive review of your agent's blast radius — injection paths, unvalidated outputs, over-broad permissions, ungated irreversible actions.
Find the code that ranks, scores, or filters people, list the exact fields it consumes, and check whether any eval ever sliced results by group — suspicions labeled.
Whether the product's AI outputs are grounded in real sources or confidently invented — and whether it cites, hedges, and refuses when it should.
Diff what the UI says about the AI against what the code does — disclosure strings quoted, dropped confidence traced, retention claims checked against real payloads.
Whether the data used to train, fine-tune, or retrieve is licensed, clean, and free of the PII and contamination that create legal and quality risk.
Runs inside these playbooks — curated sequences you can launch with one paste: