- How you use it
- Installs a bundle into your client
- What it can do
- installs software · writes files · network · secrets access · runs shell
- What's inside
The option
| Option | APlugin · v2.0.14+wwfix.1security-guidance plugin (Anthropic) |
|---|---|
| How you use it | Installs a bundle into your client |
| What it can do | installs software · writes files · network · secrets access · runs shell |
| What's inside |
What this thread does
What the technique is
On 16 October 2026 @Voxyz_ai shared a prompt for Claude Code: before you ship a site you built mostly with an agent, have Opus 5.5 play the attacker against it. Three subagents, each with its own test account (user A, user B and an admin), run a fixed list of attacks, write down what happened, and only then does the main session fix everything and rerun the list.
The difference from a code review is that each attack has to actually run against the app. An issue that was only spotted by reading code counts as unproven.
Only do this against an app you own, on your own machine or a preview deployment that is not connected to production data, with test accounts and test data. Do not point it at someone else's service, a shared staging system you don't control, or real users.
The attack groups (summarised)
- Acting as another user: query the database directly with the public key the frontend ships; swap another user's id into requests to read, edit or delete their data; add an admin role to a profile update; reuse a password-reset link.
- Getting around limits the UI enforces: call the API behind disabled buttons and hidden options; keep using a feature after the free quota runs out; fire many requests at once against a small credit balance; send very long, empty, negative or odd input; change the post-login redirect to another site.
- Coming in from outside: script injection through usernames, comments or Markdown; server-side requests to
localhostor the cloud metadata address if the app fetches URLs; cached pages or API responses leaking between users; preview links that are open without a login; instructions hidden in an uploaded file that try to make the app's AI feature read another user's data or call a tool.
Proof, not opinions
- Each attack ends in a row of a results table: how it was done, the request and response (tokens masked), and whether it was refused.
- After a fix, switch that protection off in local code only, confirm the attack now succeeds, switch it back on and confirm it is refused. That shows the test really exercises the fix.
- Save the attacks as scripts in the repo and run them again before each launch.
- The post suggests the default
mediumeffort for most of it andhighfor the impersonation group, where a miss is most costly. As of November 2026, per-invocation subagent effort needs Claude Code v2.1.292 or later (checked 2026-11-23).
Guard rails to put in your prompt
Write them in your own words; this is ours:
Before anything else, confirm the preview environment does not use the production database; if it does, work only on the local stack. Use only the test accounts I created, one set per subagent, and test data. Do not touch real users or any service I don't own, do not flood a single endpoint, and only use payment providers in test mode. Disable protections only in local code and only temporarily; never change database or hosting dashboard settings. Keep test credentials in an ignored env file and mask tokens in the results. Attack first and record without fixing; then fix from the lists, rerun every test and show me a before-and-after table. Remove the test accounts and data at the end. For anything that needs a dashboard change or a plugin install, give me the steps instead of doing it.
Keeping it fixed: the package
The post ends by installing Anthropic's security-guidance plugin (Apache-2.0) so later changes are reviewed too: a pattern check on each edit (no model call), a background Claude review of each turn's diff, and a deeper agentic review on each commit or push Claude makes. The model reviews use extra usage (your plan or API key).
Alternatives
- Static review only: see the thread on catching security bugs in agent-written code before they reach a commit.
- Anthropic's Claude Security plugin scans an existing codebase rather than live behaviour.
- Bug-bounty skill bundles such as Claude-BugHunter (MIT code; CC BY 4.0 content) exist, but they target external red-team work; for your own pre-launch check, a short attack list like the one above is easier to control.
Caveats (as of October 2026)
- This is a prompt pattern, not a tool. Results depend on the model actually running each request; check the evidence column, not the summary.
- Three subagents at medium to high effort on Opus 5.5 use a lot of tokens.
- Passing this list is not a security audit. It covers common web-app mistakes, not your threat model.
Started from a post by @Voxyz_ai, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.