Defense against autonomous AI attack agents · Open source

Detect. Deceive. Drain.

Turn an AI attacker's own loop against it.

An autonomous agent runs a loop: act, read the result, decide the next move. Undertow Security detects it from how it behaves, deceives it with a convincing fake of your app that answers at a crawl, and drains the budget driving it — leaving it nothing true to learn from.

  • One engine, every surface
  • Runs in your AWS account
  • Serverless
  • Defensive only
Verdict feed Illustration · sample data
  1. Blocked 203.0.113.48 Reconnaissance

    212 paths in 40 seconds, 96% not found. Says Chrome; the network fingerprint says a script.

    Judge Detected: systematic enumeration with a mismatched identity. Stopped at the edge — it never reaches the app.

  2. Draining 198.51.100.23 Confirmed agent

    Followed a canary admin link that no human is shown, then tried to act on what it found.

    Judge Moved into a padded cell that seems to work. Every turn it spends there burns its own budget.

  3. Deceived 203.0.113.200 AI-driven probing

    Nine payload variants on /search, each sent seconds after the last was refused.

    Judge An agent iterating on its own errors. From here every reply crawls in at nine seconds and tells it nothing true.

  4. Allowed 198.51.100.77 Verified crawler

    One request every three seconds across /blog, with a signature that checks out.

    Judge Vouched by Web Bot Auth. Looking automated is never held against a verified agent.

The problem

A signature judges one request. An agent is a loop.

Rules have no memory

A rule fires when a request matches a known-bad pattern. The twenty requests before it — the ones that mapped your sign-in flow and found the forgotten admin path — matched nothing at all.

The agent learns from your replies

It reads your error, rewrites the payload, and tries again in seconds. Every refusal is a lesson. Block the request and you have taught it what not to send next.

Volume is the wrong signal

A patient agent stays under every rate limit all week. Your best customer goes over it on a Friday. Counting requests punishes the wrong traffic.

The engine

One engine. Signals in, a verdict out.

Everything Undertow Security does is the same core. It reads request signals, keeps a rolling profile of every actor, and returns one verdict — then an enforcer acts on it. Detect, deceive and drain are that one engine behind different front doors.

Detect Every actor profiled by how it behaves.
WatchChallenge
Deceive Slowed to a crawl inside a fake of your app.
TarpitPadded cell
Drain Its budget burned, turn after turn.
Token sink

Verdicts escalate with the evidence and expire on their own. A real customer never leaves Watch. When the evidence is overwhelming the engine can block outright — but an agent kept busy is an agent that isn't trying something new.

The 3 D's

Three moves. One engine.

Each D is simply what the verdict tells the enforcer to do.

  1. 01

    Detect

    Behavioral detectors built from published agent tradecraft — cadence, canary values, enumeration, payloads that answer the last error, auth-endpoint hopping — profile every actor. Where it comes from (datacenter, Tor, a threat-intel feed) only sharpens a verdict already earned by behavior, and honest automation is verified and let through.

  2. 02

    Deceive

    A confirmed agent never sees your real app again. Every reply slows to a crawl — a tarpit and a flat Retry-After that starve the fast feedback its loop depends on — and it's moved into a padded cell: a fake that mirrors your routes, shapes and errors. Logins seem to work, writes are accepted, pages never end.

  3. 03

    Drain

    Inside the cell, a token sink sized to the agent and shaped like your app burns the budget behind it, turn after turn. With nothing true to learn from, the loop can't converge — it just runs out.

The Judge

A verdict that can't be talked out of it.

Everything an attacker sends ends up in a log, and the engine reads that log. So the Judge is built on the assumption that the evidence is trying to manipulate it.

  • Style never convicts alone. Looking automated is capped below the line where Undertow Security acts. It takes a real intent signal — an injection, an enumeration, a canary touched — before anything is deceived or drained.
  • Evidence, never instructions. A request that tells the model what to do is treated as content, and the attempt itself is recorded as hostile.
  • It can raise, never clear. The Judge can sharpen a verdict the hard rules reached. It can never wave through an actor they flagged.
  • Fails closed. If the model can't be reached, the deterministic rules carry on. Nothing is let through on a timeout.

Features

Attack of the Killer D's

Nothing here is a bolt-on. Each capability detects, deceives or drains — and every one is the same engine's verdict applied at a different surface. New in 1.0 is marked.

Detect

Behavioral detectors

Cadence, canaries, spec→targeting, write→verify, self-correction, auth hopping, id-enumeration, decoy hits — the signals an agent can't help emitting.

Detect

Verified agents

Integration keys, Ed25519 Web Bot Auth and reverse-DNS crawler checks. Honest automation is never deceived for looking automated.

Detect

IP reputation

Datacenter, Tor and threat-intel feeds as a secondary signal — corroboration that sharpens a verdict, never a gate on its own. Every feed fails open.

Detect

Campaign linking

IP- and UA-rotating actors that run one tool down one path are linked and judged together, so rotation doesn't reset the score.

Detect New in 1.0

Flood mode

Plain statistics spot a bot flood against your normal traffic and block the sources at the edge within a minute. For a flood spread across many IPs, the Judge's model picks one narrow rule from what it actually saw. In the lab it stopped 99.4% of a 478,000-request flood.

Detect New in 1.0

Managed edge rules

AWS anti-DDoS, IP reputation and known-bad-input rules stop web floods and exploit payloads in seconds. Common-attack, SQL injection and anonymous-IP rules only label traffic, so agents still walk into the cell. Sign-up forms get their own rate limit.

Deceive

The padded cell

A fake of the real app that answers at a crawl, mirrors its routes and errors, and remembers each agent's writes so the illusion holds across a whole session. In 1.0 it reaches every app the engine protects.

Deceive

Decoys and honey tokens

Unlinked decoy routes, canary credentials and honey sessions that no real user ever touches. An agent that bites is a certain detection, and a replayed token follows it to every new IP.

Deceive

The nine-second pause

A 429 with Retry-After: 9 makes an agent's own throttle pause the whole host. Its loop slows itself down, and every answer it waits for tells it nothing.

Drain

Token sink

Sized per agent and shaped like your app, it burns the budget driving the agent and returns no signal it can optimize against.

All three

One engine, every front door

An edge WAF scorer and an in-app ASGI shield are available today; a Verdict API with drop-in adapters for API Gateway, Envoy, nginx and Cloudflare Workers plugs the same brain into anything else.

All three

Operator dashboard

Who's being detected, deceived and drained, what they tried, and how much budget they've burned — plus the controls to tune it.

All three

Alerts & indicators

Findings out to webhooks, Slack, Teams and Splunk as OCSF; indicators exported as JSON and STIX 2.1 for the rest of your stack.

All three New in 1.0

Any app, its own front door

Put the engine in front of another app, or a site that keeps its own CloudFront, with the same firewall, cell router and padded cell. This site runs behind it.

All three New in 1.0

Budget page

A running cost estimate by service, checked against your real AWS bill every 24 hours, with an alarm at $100. A typical install runs about $50 a month.

V1

The first build is Suspicious Agents.

Undertow Security is the engine; a build is the engine put in front of a real application and deployed end to end so you can watch it detect, deceive and drain. Suspicious Agents is V1 — the reference build, with a live storefront as the protected app and a verdict on every request that reaches it.

What is in V1

  • All three D's on one engine: detection (behavioral detectors, the Judge, verified agents, campaigns, IP reputation), deception (the tarpit and the padded cell) and drain (the token sink).
  • Two front doors — the edge WAF scorer and the in-app shield — plus the Verdict API.
  • New in 1.0: flood mode and AWS managed edge rules against bot floods, protection for apps on their own CloudFront, and a Budget page with a $100 alarm.
  • A reference storefront that stays up and honest while the engine handles the agents, and an operator dashboard over the whole thing.
  • Open source under the Apache License 2.0: the engine, the dashboard, the reference store and the install guide are all on GitHub.

Named to stay in one voice

  • Every build takes its name from an Elvis song or from Memphis history — Suspicious Agents riffs on "Suspicious Minds."
  • The whole platform speaks in one voice, and one rule rides on top of it: keep every name legal.
  • The engine stays the product; the next build is the same three D's in front of the next app.

Guardrails

An automatic defense is a loaded weapon. It comes with a safety.

The fastest way to take down your own app is to deceive or block the wrong people with confidence. Undertow Security is designed so that being wrong is cheap, visible and reversible.

Observe mode first

The edge scorer logs what it would do and touches nothing until you've read enough verdicts to trust it with your traffic.

Allowlists always win

Your offices, partners, monitors and payment processors can never be deceived, drained or blocked, whatever the engine thinks.

Style alone is harmless

Looking like a bot is capped below the line where Undertow Security acts. Nothing is deceived, drained or blocked without a real intent signal behind it.

Everything expires

Verdicts are time-boxed. Nothing accumulates into a block list no one remembers the reason for.

Hard caps

A ceiling on how many actors can be flagged at once. At the cap the engine stops and raises an alert instead of escalating.

Defensive only

Undertow Security never reaches back into attacker infrastructure. It detects, deceives and drains what's aimed at your app — nothing more.

Architecture

Serverless, and all of it in your account.

Undertow Security deploys as infrastructure as code into your own AWS account. The edge scorer reads the logs your WAF already writes; the in-app shield is middleware you wrap your app in. No servers to patch. A typical install runs about $50 a month in AWS charges, mostly the firewall, and a budget alarm emails you if a month heads past $100.

Your traffic never leaves your account, and the model that judges it runs inside it.

FAQ

Questions worth asking.

Is Undertow Security in the request path?

Two ways. The edge scorer reads WAF logs after the fact and tells your firewall whom to act on — if it stopped entirely, your app would serve exactly as it does today. The in-app shield is in-line by design, because deceiving an agent means shaping the response it gets. You choose which surface fits.

Will real customers ever be deceived?

No. A real customer never leaves Watch: looking automated is capped below the line where Undertow Security acts, so it takes a genuine intent signal before anyone is slowed or moved into the cell. On top of that, allowlists always win, verdicts expire, and the edge starts in observe mode until you trust it.

What does "deceive" actually mean?

Once an actor is confirmed as an agent, it stops seeing your real app. Every response slows to a crawl and comes from a padded cell — a fake that mirrors your real routes, shapes and errors. Logins appear to work, writes are accepted and remembered, listings never end. The agent spends its run exploring something with no real data behind it.

Why drain instead of just blocking?

A hard block is a signal: the agent learns the boundary and routes around it. A slow, plausible fake reads as progress, so the loop keeps spending. Blocking is still there for the clear cases; deceiving and draining are for the ones worth keeping busy.

Does the engine read every request with a model?

No. Fast deterministic scoring looks at everything; only the small share of actors that look wrong go to the Judge. The model cost tracks suspicious activity, not your traffic volume.

Can it stop a bot flood?

A flood is a different attack from an AI agent: many machines sending volume, with no reasoning behind it. Undertow Security answers it in layers. AWS Shield Standard absorbs network floods. AWS's anti-DDoS and IP reputation rules in the firewall challenge or block a web flood within seconds. Flood mode spots a surge with plain statistics, blocks the sources driving it, and lets the Judge's model choose one narrow rule from what it actually saw. The model never sits in front of live traffic, so a flood can't run up a model bill.

What does it cost to run?

It runs in your own AWS account, so you pay AWS directly. A typical install costs about $50 a month, most of it the firewall and its managed rules, and a budget alarm emails you if a month heads past $100. The app's Budget page shows a running estimate by service and checks it against your actual AWS bill every 24 hours.

Is it available today?

Yes. Suspicious Agents, V1 of Undertow Security, is open source under the Apache License 2.0 and on GitHub. You install it into your own AWS account with the repo's install guide. It has been exercised under attack in the lab — a 50-agent flood stopped at the edge while a real shopper stayed up, with measurable budget drained from scripted agents — but not yet against real-world agent traffic, so it starts in observe mode and blocks nothing until you switch it on.

Get in touch

Detect it. Deceive it. Drain it.

The code is on GitHub. Running Undertow Security on AWS? Tell us what you're protecting and where the engine is wrong.