Back to portfolio
Access-control testing · Pre-release

DeepThread

Find the bug that scanners only guess at.

Automated IDOR / BOLA detection that proves a user can read another user's data — or says nothing at all.

Why it exists

The most common serious API flaw — and the one scanners are worst at

Broken access control tops the OWASP charts, yet automated tools struggle with it. Not because it is rare, but because finding it needs something a scanner does not have: knowing who owns the data.

The scanner's view

It sees 200 OK on GET /api/orders/1002 and reports a possible IDOR. It cannot know whether record 1002 belonged to someone else — so it hands you a maybe.

The tester's reality

So authorization is still tested by hand: two accounts, swapped identifiers, notes in a text file. Careful work — and it does not happen on every build.

DeepThread's answer

Ask the question a tester asks, the same way every time. Request each object as its owner, as another user, and with no login — compare the three, and only speak when the comparison proves a leak.

How it works

Three steps. No agent, no integration work.

01

Point it at your staging API

Give it a URL and two ordinary user logins — or the OpenAPI spec you already publish. Nothing to install on the target.

02

It tries to read across accounts

Every object reference is requested three ways — as the owner, as a second identity, and unauthenticated — and the responses compared.

03

You get proof, or silence

A confirmed leak arrives with the evidence behind it. Ambiguous results become nothing — not a queue of maybes to triage.

Built differently

Not a scanner with an IDOR check bolted on

The design starts from how a tester proves an authorization bug — and refuses to report anything it cannot prove.

A differential oracle

The core is one read sent three ways. A finding means the second identity got the owner's data while the anonymous request was denied — authorization enforced for strangers, not between users.

Quiet when unsure

Every candidate is re-run live before anything is written. Ambiguous results become silence, so you get findings worth opening instead of a false-positive backlog.

Deterministic engine

No AI in the engine. Every verdict traces to a rule and the signals that triggered it, so a finding can be explained, replayed and argued with.

A safety layer it can't route around

Every request to your target passes a Rust safety chain — scope gate, non-destructive gate, rate limit, request budget and audit log. The orchestration code cannot send target traffic at all.

Proves impact, then stops

One record is proof. It captures the evidence for that single object and halts — rather than walking your database to show how bad it is. Evidence is kept as SHA-256 hashes, credentials redacted.

Runs entirely local

No account, no upload, no telemetry. The only network traffic is to the system you point it at. Ships as a verified single-file Linux binary.

A real run

Proof, not a maybe

Output from the practice lab — sixteen endpoints, eight with a real flaw and eight look-alikes that check ownership correctly.

deepthread
$ deepthread run http://127.0.0.1:5000 \ --openapi-spec openapi.json --budget 200 --rate 5
DeepThread — automated IDOR/BOLA detection
target: http://127.0.0.1:5000
Discovered 16 endpoint(s).
Detection: 16 candidate(s), 16 probe(s) run.
        8 confirmed finding(s)
┌────────────────────────────┬────────┬─────────┬──────┐
│ Endpoint                   │ Method │ Verdict │ Conf │
├────────────────────────────┼────────┼─────────┼──────┤
│ /api/documents/{id}        │ GET    │ Idor    │ 0.99 │
│ /api/tickets/{id}          │ GET    │ Idor    │ 0.99 │
│ /api/users/{id}            │ GET    │ Idor    │ 0.99 │
│ /api/invoices/{id}         │ GET    │ Idor    │ 0.89 │
└────────────────────────────┴────────┴─────────┴──────┘
Reports written under ./runs/.../reports $ echo $?  →  1   (exit 1 = findings)
Finding 6 — /api/tickets/{id}
VerdictIDOR · confidence 0.99
Variantuuid-read
CWECWE-639
CVSS 3.16.5 Medium

As a second authenticated user, the ticket owned by identity 1 is returned in full; the same request with no credentials is denied (401/403). Authorization is enforced for anonymous callers, but not between users. Owner, other-identity and unauthenticated responses are kept as SHA-256-addressed evidence.

Modern identifiers

Not just integer IDs

Seven identifier formats are recognised and probed by the same mechanism. Unrecognised parameters are left alone.

integerUUIDhashidbase64MongoDB ObjectIdKSUIDSnowflake
Who it's for

Teams that ship APIs

AppSec engineers

Run the same authorization check on every staging build, and gate CI on an exit code that tells "no bugs" apart from "the tool broke."

Penetration testers

Hand off the mechanical half of an authorization review — swap identifiers across accounts, keep the evidence — and spend the time on logic flaws.

API engineers

Catch a missing ownership check on a new endpoint before review, straight from the OpenAPI spec you already publish.

Under active development

What works, what's next

DeepThread is pre-release. Here is exactly what works today, what is being built, and what is planned.

Works today
  • Read-access IDOR / BOLA on path & query parameters
  • Seven identifier formats, one detection mechanism
  • OpenAPI 3.x (JSON or YAML) ingestion, crawler fallback
  • Markdown + JSON reports with evidence hashes
  • CI exit codes and a JSON output mode
  • Verified single-file Linux binary
In development
  • Early-tester distribution via request access
  • Automated CI for the engine's own test gates
Planned
  • Automatic ownership discovery for parameterised routes
  • PII-aware severity instead of one fixed CVSS score
  • Identifiers in request bodies and headers
  • Write-side and mass-assignment IDOR
  • GraphQL object identifiers
Validation

Tested on apps it had never seen

VAmPIcrAPIvAPIPixiTiredful-APINodeGoatDamn Vulnerable RESTaurant APIRailsGoat

Eight open-source vulnerable applications — a mix of real authorization flaws and deliberately-safe look-alike endpoints. A small, honest sample run end to end, not a false-positive rate measured in production. The full method goes to anyone evaluating it.

Pre-release

Free for early testers

DeepThread is pre-release, so nothing is for sale yet. Early teams willing to run it against real staging — and tell me what breaks — get it free.