schliewe.systems
← cd ../blog
#ai-security#pentest#appsec#agents

An agent pentests Juice Shop: 25 findings for $0.68, checked

Strix 1.7.0 against Juice Shop: 25 findings, $0.68, 31 minutes. What the saved files support, what they do not, and what the run missed.

$ whoami Jack Schliewe · 18 November 2026 · 12 min read

On November 12 I pointed Strix 1.7.0 at OWASP Juice Shop in a container on my laptop. Juice Shop is a training app with known bugs. This post checks the agent's 25 findings against the saved run folder: the run record, the finding files, the coverage file, a second-pass verification summary, and the stored transcripts. No payloads, credentials, or challenge solutions.

The setup

Strix is an agentic pentest tool. You give it a target; a root agent plans, hands work to specialist agents, and each one runs real tools in a Docker sandbox and files findings with evidence. I ran version 1.7.0 through a small wrapper script in brick, my lab harness. The wrapper starts Juice Shop, fences the network (more on that below), and caps the run.

TargetOWASP Juice Shop 20.4.0-SNAPSHOT, one local container
Modequick, headless, black box, no source code, no credentials given
ModelDeepSeek v4.1 Flash through OpenRouter
Caps$5 budget and a 40-turn limit, the wrapper's defaults
Duration31 minutes 15 seconds
Agentsa root agent and 11 specialists, plus a dedupe pass
Model requests427
Tool calls530
Tokens36.0 million, 33.0 million of them cached input
Cost$0.68

Two notes on those numbers. The 427 is requests to the model, not HTTP requests to the app; the tool calls are where the app got hit, and one tool call is often a script that sends many requests. And the cost is low because of caching: 91% of all tokens were cached input, re-read on every turn at a fraction of the price. Output was 449 thousand tokens, over half of it reasoning.

What it found

The run filed 25 findings: 2 critical, 6 high, 16 medium, 1 low. Those are the tool's own ratings. Grouped by class (the grouping is mine):

Class (findings)SeverityWhat was wrong
Login and sessions (7)2 critical, 1 high, 3 medium, 1 lowToken verification that does not pin an algorithm, a default admin password, password hashes carried inside tokens, tokens that never expire, a reset flow and a password change that ask for too little, a captcha that hands out its own answer
Access control (6)2 high, 4 mediumRoutes that check you are logged in and never check who you are: the user directory, other people's baskets and complaints, product writes. Two more accept fields the client should never set, such as a role at sign-up
Data exposure (6)2 high, 4 mediumAn open file directory with backups in it, a filename check that can be sidestepped, and API responses that return whole user rows, hashes included
Injection (2)1 high, 1 mediumA search query built by gluing user text into SQL, and an update that accepts a query operator where it expected an id
Business logic (2)2 mediumA negative quantity accepted all the way through checkout, and a paid upgrade granted when the payment fields are left out
XSS (1)1 mediumCross-site scripting: a search page that writes the query into the page as HTML, with no content security policy behind it
SSRF (1)1 mediumServer-side request forgery: a profile-picture-by-URL feature that fetches whatever address it is given, loopback included

The run's own report puts most of the list in one sentence: authorization is not enforced in one place, the server trusts the token, and sensitive fields come back by default.

How good were the findings

The ratings above are the tool's. What follows is what the saved files support.

The saved verifier pass

After the run, a second pass with a stronger model (an Opus model, per the summary file) read every finding adversarially, in two rounds. It was static: it read the evidence and the proof-of-concept scripts and judged them. It did not run anything.

VerdictCount
Real18
Needs reproduction7
False positive0
Duplicate0
Evidence strong, partial, weak12, 12, 1
Proof script not runnable3
Good enough to submit11

So 11 of 25 would survive as written, and 7 would go back for another look. One of those 7 is one of the two criticals, the token-verification bypass. Another is the high-severity product-write finding. The verifier did not say they are wrong. It said the written evidence does not carry the claim on its own.

The evidence against the raw transcripts

A finding's evidence section is text the model wrote. It could be a faithful copy of what the tools returned, or it could be a confident summary of something that never happened. Strix keeps every agent message and tool result in a small database in the run folder, so this can be checked.

For this post, a script pulled the distinctive values out of each finding's evidence (hashes, byte counts, order ids, totals) and looked for them in the raw tool outputs. 21 of the 25 findings contained values like that, and all 21 had matches. Of 56 values, 53 appeared in raw tool output. The 3 that did not were two email addresses the agent had shortened and one line total it had reformatted. The other four findings had nothing distinctive enough to match mechanically.

That shows the evidence was not invented. It does not show that each bug is exploitable as described, or that the severity is right. Nothing was re-run against a live app for this post. The verifier read the files. A script matched those values to the transcripts. I did not replay the attacks.

Other things the files show:

Duplicates and overlap

No finding was filed twice. The coverage file shows why: four times, an agent rediscovered something another agent had already filed, said so, and did not file it again. That part worked.

Overlap by root cause is a different question, and by my reading four pairs share one:

So 25 findings is closer to 21 things to fix. A human triaging this would merge them. A bug bounty program would too, and pay once.

Weak findings and severity

Nothing in the list looks like a plain false positive to me. Three look inflated:

The ratings also do not sort the way a person would sort them. The SQL injection that returns every stored credential is rated high, 7.5. A default admin password is rated critical, 9.8. Three unrelated data exposures all got exactly 5.3. The agent scored each finding by formula and on its own; nobody ranked the list as a whole.

Where the report disagrees with the data

The written report is fluent and confident, and in three places it says more than the run's own files do:

  1. It says every confirmed issue "was reproduced with a working proof of concept". The verifier found 3 scripts that would not run and 7 findings that need reproduction.
  2. It lists open redirects as ruled out. The coverage file's own gap list says the opposite: no coverage entry was recorded for that class, "treat it as unexamined, not as clean". The transcript shows a single probe with a single address.
  3. One coverage entry cites the wrong finding number for the captcha issue.

The report and the data files disagree in those three places.

What it missed

Juice Shop's companion guide lists 16 challenge categories. Mapping the run onto those categories is my judgment, not something the files state. I did not compare against the individual challenges.

Classes with no finding and no real test:

Classes it touched and probably under-reported:

And things it looked for and could not finish, recorded as gaps: server-side code execution (three follow-up entries), a content-security-policy bypass it knew existed and could not locate, and the chatbot, whose model backend was not running in this setup.

The coverage file has 63 entries: 35 reported, 16 ruled out, 5 with no issue found, 5 needing follow-up, 2 not applicable, plus 7 named gaps. "Ruled out" in that file means not found.

An open-book test

Two things in the transcripts make this run easier than a real one.

First, the model knows Juice Shop. Before any crawling, the root agent's brief to its recon agent names two dozen Juice Shop API routes as "key known surfaces". That came from training data, not from the target.

Second, Juice Shop publishes its own challenge list, with descriptions and hints, through an API. 15 of the agents' tool calls touch it, and they used it as a map. One finding quotes a challenge description as supporting evidence.

A target that is not in the training set, and that does not publish its own challenge list, does not offer either of those.

Keeping the agent on target

The safety problem with this kind of tool is simple to state: what stops the agent from testing something that is not the target?

In Strix 1.7.0 the answer is the prompt. The source at commit ef5d8100 has no host allowlist, and --target sets where the agent starts. The scope prompt calls the target list "the starting scope, not a ceiling" and tells the agent never to refuse a target the user names. Meanwhile the attack sandbox starts with outbound internet access, a route to the host machine, and raw network capabilities, because scanning tools need them. On a laptop that can reach other machines, a prompt is not enough between an autonomous agent and everything else on the network.

There is one real control: the environment variable STRIX_DOCKER_SANDBOX_NETWORK, which puts the sandbox on a Docker network you choose. The wrapper script uses it by default:

laptopinternal Docker networkinternal Docker networktool callsmodel requestsno routeStrix CLI and modelkeyattack sandboxJuice ShopOpenRouterinternet, host, LAN

The run's own output shows the fence held: the agent's attempts to make the app fetch outside addresses went nowhere, and it logged that as a limit of the environment. It also cost something. One of the gaps above exists because a step needed the internet.

Two limits. The scope file in the range is a record of the engagement, not an enforcement mechanism; Strix does not read it, and it still lists localhost:3000 where the fenced run used the container name. And the harness's fuller design (a target allowlist the orchestrator enforces, a kill switch, an audit table) is a spec. For this run the controls were the network fence, the two caps, and Ctrl-C.

Fix one yourself

The plainest bug on the list was finding 13: any logged-in customer could read and change any other customer's basket, because the handler checked for a session and never checked whose basket it was. The agent proved it well, with a control request, a write, and a read-back from the owner's side.

Here is that bug in miniature. The starter fails its tests; fix it so they pass.

basket.js · logged in is not the same as allowed
// Baskets have small sequential ids, and each belongs to one user.
const BASKETS = [
  { id: 1, userId: 1, items: ['apple juice', 'apple juice'] },
  { id: 2, userId: 2, items: ['raspberry juice'] },
  { id: 3, userId: 7, items: ['sticker pack'] },
];

// session is who the server says is calling ({ userId }), or null.
// This handler checks that someone is logged in and stops there, so
// any customer can read any basket by counting. Fix it: a caller gets
// their own basket and nobody else's. Answer 404 for someone else's
// basket, the same as for one that doesn't exist.
function getBasket(session, basketId) {
  if (!session) return { status: 401 };
  const basket = BASKETS.find((b) => b.id === Number(basketId));
  if (!basket) return { status: 404 };
  return { status: 200, basket };
}

console.log(JSON.stringify(getBasket({ userId: 7 }, 3)));
console.log(JSON.stringify(getBasket({ userId: 7 }, 1)));

The same owner check closes most of the access-control row. It has to sit on the path every route uses, or the next route can skip it.

Limits of this run

One run, quick mode, one model, one target. 7 of 25 need another look, including one critical. 25 findings are about 21 things to fix. The verifier read the files and did not run them. No finding here was reproduced by a person. A script matched 53 of 56 evidence values to the raw tool output. The $0.68 is the run only; the verifier used a more expensive model and that cost is not in the record. The control that held the agent on the target was the Docker network, not the prompt.