Dev.to Security 🔐 Cybersecurity 👁 0 📖 4 min read

The scan came back clean. The refund went through twice.

A support agent issues a refund. The request times out somewhere between your API and the payment provider. The client retries. Two refunds land, and the customer keeps both. Every single request in that story was authe

The scan came back clean. The refund went through twice.

A support agent issues a refund. The request times out somewhere between your API and the payment provider. The client retries. Two refunds land, and the customer keeps both.

Every single request in that story was authenticated, inside its limit, and logged as a success. The bug isn't in any one of them. It's in the order they happened, and a checklist has no row for that.

This is the kind of failure WormHole is built to find. It's an AI vulnerability discovery and penetration testing tool from HACKBOX.AI, and it's aimed at systems where the business rule is the attack surface: multi-tenant SaaS, internal platforms, APIs, onboarding, approval and billing flows.

What it does that a scanner can't

A scanner matches patterns. Ask it whether a parameter is injectable, whether a header is missing, whether a library version carries a CVE, and it answers. Ask it whether a retry can charge a customer twice, and there's nothing to match. That rule lives in your workflow, not in a payload.

WormHole starts from a model of the system instead. Before it sends anything, it works out what the system is supposed to do: which states exist, who is allowed to move between them, which services trust each other, what the code assumes. Then it forms hypotheses and tests them one after another, following the thread when something doesn't line up instead of logging a line and moving on.

The session view after a run: assets, the workflows behind them, and what the engine decided to test next.

The session view after a run: assets, the workflows behind them, and what the engine decided to test next.

One session

You write down the target, the credentials you're allowed to use, and the risks you actually care about. That list becomes the scope, and the session doesn't step outside it.

From there it plans its own tests. It will sit inside a checkout flow and run the same step twice. It will cancel an approval and replay it an hour later. It will take a service account with more permission than its job needs and see how far that reaches. When it finds something, it doesn't stop at the finding: a weak endpoint on its own is a note, but a weak endpoint next to an over-privileged account and a missing check two hops away is a path, and the path is what ends up in the report.

The cases that pay off are usually the boring ones. A callback delivered twice, where the handler doesn't carry an idempotency key derived from the event. A refund retried with the same key but after the provider's dedupe window has closed, so it lands as a new request. An approval token that stays valid after the request is withdrawn, because withdrawal only flips a status column. None of these are visible in a single response; you only see them when you keep the sequence.

Because the engine also reads the repository, a runtime finding arrives with the code that allowed it: the handler that writes the ledger row before it checks the idempotency key, the middleware that authenticates but never authorises the object, the retry wrapper that re-sends on any 5xx without looking at what the previous call committed.

Three views, one engine

Workflow. Multi-step processes with approvals, retries and reversals. A revoked step that still replays. A retry that advances state twice. An approval granted to the person who requested it.

Services. The boundaries between components. Single-hop testing passes every hop on its own terms, which is exactly why it misses what happens when they're combined.

Code. The repository. Runtime tells you whether something is exploitable; source tells you why it exists and where — the authorization check that was never written, the data flow that skips validation, the key committed three releases ago.

The three are linked. A finding from a live test lands on a file and a line, so whoever fixes it doesn't have to guess.

Findings come back with the route they took and the object that changed, not just a severity score.

Findings come back with the route they took and the object that changed, not just a severity score.

What you get back

Four things, every time: what you didn't think to test, how far the path actually reaches, where it lives in the code, and the request that reproduces it.

The last one matters most. A finding you can't re-run after the patch is a description, and descriptions don't survive a review meeting.

Open source and Pro

Same engine, same evidence, same report. The open source build takes any OpenAI-compatible endpoint, and you maintain the PoC and fingerprint libraries yourself. Pro bundles model credits, ships a maintained library with each release, and adds a tuned concurrency pool and priority support.

The choice is about how much maintenance you want to own. It isn't about which edition finds more, because they don't differ there.

Scope

WormHole is for systems you own or have written permission to test. A session opens with a scope list and will not go outside it. It's a testing tool, not a substitute for authorization.

If your team already runs a scanner, keep it for the pattern-shaped bugs. This is for the class that comes back clean and still breaks in production.

Asset inventory before the run: what the engine is allowed to touch, and the services it maps behind each entry.

Asset inventory before the run: what the engine is allowed to touch, and the services it maps behind each entry.

WormHole — AI vulnerability discovery for complex business systems. wormhole.hackbox.ai

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.