Case study

We scanned OWASP Juice Shop with GLAV's AI testing agents: 10 findings for under $0.25

This is a scan of GLAV’s own test app, not a customer. The target was OWASP Juice Shop, a deliberately vulnerable demo application, running on a test instance GLAV hosts itself. GLAV has no customer case studies to show here, and none are implied.

TL;DR

On 24 November 2026, GLAV’s AI testing agents scanned its own OWASP Juice Shop test app and reported 10 findings: 2 critical, 2 high and 6 medium. The run took 7 minutes 20 seconds and cost under $0.25 in tracked AI spend, well inside the $1.50 cost cap set for the run.

Setup

  • Target: OWASP Juice Shop, a deliberately vulnerable web shop built for security training. GLAV runs its own copy as a test target.

  • Date and duration: started 24 November 2026 at 14:31 UTC, finished at 14:38 UTC. Duration: 7 minutes 20 seconds.

  • Test type: web application pentest at the Lite test depth.

  • Access: no credentials were supplied. GLAV’s AI testing agents started as an outsider. Where a finding needed a logged-in customer, they registered an account themselves.

  • Authorization: the target was registered in a GLAV workspace, ownership was verified and a signed authorization was on file before the scan ran. GLAV only tests systems the owner has authorized.

  • Budget: a $1.50 cost cap on AI spend. The run finished under $0.25 of tracked spend.

  • Scope note recorded in the report: “GLAV’s own OWASP Juice Shop test target ($1.50 budget-cap proof run).”

What GLAV found

The report lists 10 findings. Severity and CVSS scores are as shown in the report. The fix column condenses the remediation each finding carries in the report.

#

Severity (CVSS)

Finding type

What the evidence showed

Fix

1

Critical (9.1)

SQL injection, login bypass (CWE-89) at POST /rest/user/login

Sending a SQL tautology in the email field returned 200 OK and a signed admin session token instead of 401. The token then listed every account from the admin user endpoint. Control payloads that were malformed in a specific way behaved differently (a 401 or a database error), which points to SQL string building rather than normal login.

Use parameterized queries for the login lookup, reject non-email input, keep password hashes out of the token, and add a regression test that submits quotes and SQL characters and expects 401.

2

Critical (9.1)

Unauthenticated credential exposure (CWE-916) at GET /rest/memories

An anonymous request returned full user records: emails, unsalted MD5 password hashes, roles, membership tokens and two-factor secrets. One hash in the dump resolved to a password that logged in as a second user.

Return only the fields the page needs, require authorization on the route, move password storage off unsalted MD5 to a memory-hard salted scheme, and rotate the exposed tokens and two-factor seeds.

3

High (8.2)

Unauthenticated file disclosure (CWE-552) at /ftp/ and /encryptionkeys/

Anonymous directory listings exposed a document marked confidential, a password-vault file (3,246 bytes, with the standard KeePass 2.x signature), a membership activation key and a signing public key.

Remove those directories from the web root, turn off directory listing, and put anything that must be downloadable behind authentication.

4

High (7.5)

UNION-based SQL injection (CWE-89) at GET /rest/products/search

The q search parameter reached the database unescaped. After the agents matched the ten-column result shape, a crafted query returned every user’s email, password hash and role inside the normal product JSON.

Bind the search term as a parameter instead of concatenating it, and use a database role with only the privileges search needs.

5

Medium (4.3)

Insecure direct object reference (CWE-639) at GET /rest/basket/{id}

A logged-in customer could read other users’ shopping baskets by changing the basket number to 1, 2, 3, 4 or 5.

Check that the requested basket belongs to the user in the session token.

6

Medium (6.5)

Broken function-level authorization (CWE-862) at GET /api/Users

A freshly registered customer token returned all 24 user records. The same request with no token returned 401, so the route checks that you are logged in but not that you are an admin.

Enforce a role check on the route, not only a valid-token check.

7

Medium (4.3)

Broken function-level authorization (CWE-862) at GET /rest/user/authentication-details

A customer could read the administrative view of authentication data: last-login IPs, timestamps and two-factor fields for the whole user base.

Restrict the route to admins. Masking fields in the output is not an access control.

8

Medium (6.1)

DOM-based cross-site scripting (CWE-79) via q on /#/search

A crafted search link rendered an <img> tag with an onerror handler in the page, and the script ran (window.__xss_fired was 1). The report ties it to code that marks the query as trusted HTML, and notes no Content-Security-Policy header was present.

Stop marking the query as trusted HTML, sanitize anything that must stay rich, and add a Content-Security-Policy.

9

Medium (4.3)

Insecure direct object reference (CWE-639) at GET /api/Complaints

Any logged-in customer received every other customer’s support complaints, each tied to a user ID.

Filter the query to the authenticated user’s own rows, or limit the route to admins.

10

Medium (5.3)

Unauthenticated exposure of configuration, metrics and log paths (CWE-200)

Three operational endpoints answered anonymously: the full runtime configuration (about 36 KB), a metrics endpoint, and an audit-log file with absolute server paths and file hashes.

Require admin authentication on the configuration route, limit metrics to the internal network, remove the log route from the public table, and add an external check that these paths return 401 or 403.

Severity count: 2 critical, 2 high, 6 medium, 0 low, 0 informational.

What the numbers mean

  • 10 findings in 7 minutes 20 seconds. Every finding carries request and response evidence and a proof of concept, so your team can confirm it themselves rather than take the scan’s word for it.

  • Under $0.25 against a $1.50 cap. The cap is a hard limit on AI spend for a run, and this run used about 16% of it. The figure comes from GLAV’s own cost tracker for the run, which deliberately counts on the high side.

  • The honest limit. A clean or short report does not prove an app is secure, and the report says so itself: results cover only what the agents could reach within the time and budget, and do not assert that every weakness was found.

  • Juice Shop is built to be broken. Finding SQL injection in a training app is expected. The point of this run is the evidence quality, the time and the cost, not a claim about real-world apps.

How the report reads

The scan produced a 44-page PDF. Its structure:

  1. Cover and scope. Target, scan mode, start and finish times, duration, and the authorization facts on record: registered target, verified ownership, signed authorization with an expiry time.

  2. Executive summary. A severity table with a plain-English meaning for each level, followed by the single most severe issue.

  3. One section per finding. Severity, CVSS and CWE, the affected asset, a description, the impact, the evidence (real requests and responses), a proof-of-concept script where one applies, the remediation, and fix guidance with example code.

  4. Triage status on every finding. Each shows “Open, not yet triaged”. GLAV delivers evidence-backed findings that your team triages in the app. In this run nobody had triaged them when the report was generated.

  5. Clear limits. The report says it is the output of a time-boxed automated assessment, not a certificate for ISO 27001, SOC 2, NIS2 or DORA, and not a substitute for a scoped human-led penetration test.

FAQ

Was this a scan of a real customer?

No. The target was OWASP Juice Shop, a deliberately vulnerable demo application, running on a test instance that GLAV hosts itself. It is a scan of GLAV’s own test app, not a customer system, and GLAV has no customer results to show here.

What did the scan find and what did it cost?

GLAV’s AI testing agents reported 10 findings on 24 November 2026: 2 critical, 2 high and 6 medium. The run cost under $0.25 in tracked AI spend against a $1.50 cost cap, and the cap held.

Does GLAV fix the issues it finds?

No. GLAV reports evidence-backed findings that your team triages in the app, with a recommended fix and example code for each. Your developers make the change. In this run all 10 findings were still marked as not yet triaged when the report was generated.

Can an automated scan replace a penetration test?

No. The report states that it is the output of a time-boxed automated assessment, not a compliance certificate and not a substitute for a scoped human-led penetration test. It covers only what GLAV’s AI testing agents could reach within the time and budget allowed.

Next step

Ready to see what is in your app?

Pick a plan and run your first pentest. Plans start at €20 a month. Not ready to pay? Try the free first scan: it is passive and sends no payloads, no fuzzing and no logins.

Shape

Next step

Ready to see what is in your app?

Pick a plan and run your first pentest. Plans start at €20 a month. Not ready to pay? Try the free first scan: it is passive and sends no payloads, no fuzzing and no logins.

Shape

Next step

Ready to see what is in your app?

Pick a plan and run your first pentest. Plans start at €20 a month. Not ready to pay? Try the free first scan: it is passive and sends no payloads, no fuzzing and no logins.

Shape