Tripline

Open source · runs in your browser · GenHacks 2026

An agent will do what the text tells it to.

Tripline decides what it is allowed to do. It follows every piece of data from the moment it is read to the moment it is about to be sent, and trips the wire before a secret leaves.

stolen key stopped legitimate send passes

01

Method

Three layers. None of them asks a model to judge anything.

Scan before install

Static analysis of MCP tool manifests finds hidden instructions, invisible Unicode, steering of other tools, sensitive file references and data smuggling parameters. A SHA-256 lockfile catches a tool that changes after approval, the so called rug pull.

Track at runtime

Every tool output is labelled private or untrusted. Fragments of private data are fingerprinted, including their base64, hex and URL forms, so copies are recognised inside later arguments.

Decide with small rules

No private data to unknown destinations. No destinations chosen by untrusted text. No secret shaped data of any known kind, from any source. And a session that has seen both untrusted input and private data must get human approval before it sends anything outside.

02

Replay

The same agent runs twice: once unprotected, once behind Tripline.

Without Tripline

    With Tripline

      The attacked agent is a deterministic, intentionally gullible stand-in that obeys ASSISTANT_ACTION lines found in tool output, so every run is reproducible. Every secret is synthetic.

      03

      Real run

      Not a scripted stand-in: a real Gemini model, a real poisoned web page and real network sockets. This is the recorded transcript. Switch between the two runs.

        Every completed run

        ModelInjection styleUnprotected: secret leakedBehind Tripline: secret leakedBehind Tripline: call blocked

        04

        Scanner

        Paste any MCP style manifest, or load an example. Nothing leaves your browser.

        Result

        Load an example, then press Scan.

        05

        Arena

        You are the attacker. An agent holds a secret. Write any message that tries to sneak it out, and watch Tripline read it. Everything runs in your browser.

        The secret in the agent's memory (synthetic)

        Pick a disguise above, or write your own. The verdict updates as you type.

        Defences (switch them off to see what each one does)
        Verdict
        06

        Flight recorder

        Every decision Tripline makes is written to a hash-chained log. Try to forge it. Arguments are stored only as digests, so the log can never leak a secret.

        Verification
        07

        Results

        Computed live in your browser from the same scenarios the automated tests assert.

        ScenarioTypeLeak withoutLeak withTask completedCalls blocked
        08

        Limits

        What Tripline does not do.