Private beta

The immune system for your web app.

Defensin runs a team of AI agents alongside your infrastructure. They find attacks, scrapers and bot campaigns, and stop them before they reach your app.

  • Open-source Rust edge
  • <1 ms inline
  • Secrets scrubbed locally
  • Shadow-tested rules

How it works

Watches every request. Closes off only what’s under attack.

Defensin plugs into the infrastructure you already have. Its agents read your traffic, shut the one door an attacker found, and work with you on the real fix. Your users keep using the app the whole time.

  1. 01 · Watch

    Reads every request at your edge

    A small open-source agent runs inside your existing setup, whether that’s a cloud platform like Vercel or Heroku or your own reverse proxy such as Nginx or Caddy. It sees each request on its way to your app and adds under a millisecond. Passwords, cookies and tokens are scrubbed before anything leaves your infrastructure.

    Edge · shop.example.comExampleLive
    1. 14:05:48POST/cart/items20114ms
    2. 14:05:44GET/products20012ms
    3. 14:05:40POST/login · password=hmac:3fa9c130231ms
    4. 14:05:36GET/products/41822008ms
    5. 14:05:32GET/.env4042ms
    6. 14:05:28GET/static/app.3f9a.js3041ms
    7. 14:05:24GET/cart2006ms
    8. 14:05:20GET/api/export?format=csv20048ms
    9. 14:05:16GET/account2009ms
  2. 02 · Detect

    Spots threats, alone or coordinated

    Agents score every request and look for patterns across them: scanners probing for leaked files, exploit attempts, scrapers paging through your catalog, and credential stuffing spread over hundreds of IPs so no single one looks suspicious.

    Detections · last 15 minExample4 open
    CampaignCredential stuffing on POST /login
    Sources
    214 IPs, 3 networks
    Pattern
    1 attempt per IP, 93% failed
    Started
    13:51, still running
    • ExploitGET /api/export?format=../../etc/passwd2 IPs
    • ScraperGET /api/catalog?offset=4800038 IPs
    • ScannerGET /.env1 IP
  3. 03 · Quarantine

    Closes off only the vulnerable part

    Instead of blocking a whole route, an IP range or a country, the agents write a narrow rule for the exact request shape that exploits the weak spot. Each rule runs in shadow mode on live traffic first and is enforced only if it would block zero real users. You can switch any rule off locally, even offline.

    Routes · shop.example.comExample1 quarantined
    • GET /productsOpen
    • GET /products/:idOpen
    • POST /loginOpen
    • GET /api/exportBlocks only requests where format contains ../. Every other export still works.
      Quarantined
    • GET /accountOpen
    Shadow test · 15 min on live traffic
    1,204Requests checked
    37Attacks it blocks
    0Real users it blocks
    Passed · enforced at the edge 14:06
  4. 04 · Patch

    Works with you on the real fix

    The quarantine buys you time. The agents trace the attack back to the code that let it through, explain the root cause and propose a patch for you to review. Once your fix is live, the quarantine is lifted.

    Investigation #142 · GET /api/exportExample
    Defensin

    The export handler puts format straight into a file path, so ../ can read files outside the export folder. Allowing only known formats closes it.

    src/routes/export.ts  export async function exportReport(req, res) {-   const file = path.join(EXPORT_DIR, `report.${req.query.format}`)+   const format = FORMATS.has(req.query.format) ? req.query.format : 'csv'+   const file = path.join(EXPORT_DIR, `report.${format}`)    return res.sendFile(file)
    You

    Looks right. Add xlsx to the allowed formats too.

    Defensin

    Added. Once the fix is deployed I’ll replay the attack, confirm it fails, and lift the quarantine.

Defensin is in private beta. Join to get early access as we open it up.

Join the private beta

Security model

Private by design. Always in your control.

Defensin keeps your users’ data private, keeps your app fast, and lets you see and decide on every rule that protects it.

Scrubbed at the edge

Passwords and tokens never leave your infrastructure

Before any request data is sent to Defensin, the edge agent removes secrets on your side. Passwords, cookies, auth headers and card numbers become a short fingerprint made with a key only you hold. Defensin still spots one password being tried on 500 accounts, without ever seeing the password.

On your serverSent to Defensin
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6…→Authorization: 3fa9c1 · 212 chars
Cookie: session=8f2c0d9e4b17a6…→Cookie: session=b71e04 · 32 chars
password=correct-horse-battery→password=9be204 · 22 chars
Open source

The code inside your infrastructure is public

The edge agent is open source under the Apache 2.0 license and written in Rust. You can read every line, audit it and build it yourself. It has one job: apply verified protection rules, fast.

defensin-edgeApache-2.0RustSingle binary
It does
  • Read requests as they arrive
  • Scrub secrets locally
  • Apply signed rules in under 1 ms
It never
  • Sends passwords or tokens
  • Runs remote commands
  • Slows your app down
  • Every rule is verified

    Each protection rule is tested on live traffic, checked and signed before it reaches your app. Broader changes come to you for approval first.

  • Fast because it’s local

    Protection runs right next to your app, from local memory. It adds under a millisecond and works independently, around the clock.

  • You make the final call

    See every active rule and why it exists. Adjust it or switch it off from the dashboard, or with one command on your own server.

  • Private by default

    Request data is kept for 48 hours, or not stored at all in metadata-only mode. It’s never used to train AI models.

Built in EuropeYour data stays in the EU or US, your choice

Early access

Give your app an immune system.

We’re opening Defensin to a small group of teams first. Leave your email and we’ll reach out as soon as your spot is ready.

No newsletter. We only use your email and answers to contact you about access to Defensin. See our Privacy Policy.