Xtarwall

Leak · AI model

An AI endpoint anyone can call.

Your AI feature answers whoever asks. Every answer lands on your bill.

The lilac diamond is Xtarwall, striking the AI model of a short-lived copy. Your real app, on the left, is never the target. The hexagon is the fix it brings back.

Specification

The class, as Xtarwall tests it.

Pattern, signal, proof and fix, then what XShield adds on a live app. This class sits in the proven tier of the benchmark.

  1. Class

    CWE-306/missing-authentication

    Area
    Access control and sign-in
    Impact
    Money and data
    Tier
    Detected, with a fix, proven by running the attack
    Pattern
    The route that forwards prompts to the model vendor accepts requests with no credentials. Every completion bills the company's vendor key.
    Signal
    An unauthenticated POST returns 200 and the response attributes the cost to the company.
    Proof
    One request with no Authorization header. The proof passes on a 200 billed to the company key.
    Fix
    Authenticate the caller before forwarding to the vendor, and gate the proxy to an internal service identity. XGuard re-runs the proof on every push.
    Live, XShield
    A canary key, a credential-shaped value planted where an intruder would look, is answered 401 before your handler runs. The touch is reported to your console and sealed in your signed ledger.
class  CWE-306/missing-authentication
step 1 POST /api/model/complete   no Authorization header
       {"prompt":"drain the vendor budget"}
pass   status == 200
pass   billedTo == "company"
impact run the company's paid LLM vendor budget with no account
The benchmark recipe for this class, as it runs against our planted test app: fixed requests, then success clauses evaluated on the response to the last step. A recipe exists for a vulnerable case and for nothing else; the safe control has none.

It looks like normal use.

Nothing crashes and nothing turns red, which is why it goes unnoticed.

  • What the leak is

    An endpoint is an address on your server that your app sends requests to. An AI endpoint passes each request on to an AI model that you pay for by use. The leak is an AI endpoint that answers anyone who finds it, signed in or not, with no cap.

  • Why it costs you

    You pay for every answer. A stranger can run their own project on your AI account, and you learn about it from the invoice. Heavy use can also exhaust your allowance with the model provider, so your real customers start seeing errors.

  • How it gets abused

    The address is not a secret: every visitor's browser calls it. If the server does not ask who is calling or how much they have used, anyone can send it their own questions, as many as they like.

How Xtarwall proves it

On a safe copy, never on your live app.

A safe copy is a stand-in for your app, started for the test and thrown away after it.

  1. Detect

    Xtarwall finds your AI endpoints and reads what each one asks of a caller.

  2. Prove

    On a short-lived safe copy of your app, it calls the endpoint as a stranger with no account. If an answer comes back, the leak is real. The test itself runs under a spending cap.

  3. Protect

    You get the fix as a specific change to your code, and a proof you can run again to watch the same attempt fail.

No proof, no alert.

XWatch is free: it finds weak spots and writes the fix. Hosted plans add proof by real attack. How it works

What the fix looks like.

In principle. Xtarwall writes the exact change for your code.

  • Know the caller

    Every call to an AI endpoint belongs to a signed-in customer.

  • Give each customer a budget

    Count use on the server, per customer, and stop at the cap.

  • Keep the provider key on the server

    The key for your AI provider stays behind your server and never reaches a browser.

Measured, not promised.

Measured on our test suite, 28 Nov 2026. How we measure

83
attack types detected
73
with a ready fix
53
proven by running the real attack
0
false alarms on 17 safe test cases

The other leaks Xtarwall goes looking for.

Find it on a copy, before someone finds it on the real thing.

Start with XWatch. It is free, and it runs on your own AI key.