FF
FRANKFOX

Agent autonomy

Testing a trust score for AI agents

Cabana Labs · 2026

Simulated 16 attacks on a trust score for AI agents.

13 parameter sweeps 16 attack scenarios Fakes held to 4–12% of an honest score
Honest agents Fake agents Exploit, start over Attester turns bad Trust score Compare scores attacker vs honest, per scenario

What the trust score is

Knowing who an agent is doesn't tell you whether to trust it to act for you. The trust score, designed at Cabana Labs, is built from two things: credentials the agent can prove it controls, and ratings from the services it worked for, given after each task. Credentials count for more when they cost something to get and carry history. The score is computed on a confidential blockchain (Oasis Sapphire), so anyone can check it without seeing the data behind it.

The problem

In a prototype agent marketplace built on the trust score, a person posting a task sets the trust an agent needs to apply. That only works if fake and misbehaving agents can't game the score, and if the score's settings are right before they're fixed in a contract that can't be changed.

How it differs from other reputation systems

What I built

A simulation of the whole system. Scripted actors play honest agents, attesters (parties that vouch for agents), apps that rate agents after each task, and attackers. It runs two kinds of tests:

Attack scenarios run 2,000 steps; sweeps repeat each setting 5 to 30 times. Every result records its setup, a command that regenerates it, and any change it made to the spec.

Watch an attack

Five of the 16 attacks, re-run with each agent's score recorded every 50 steps.

How to read it. The simulation runs honest agents next to attackers for 2,000 steps. In each step, agents do tasks for apps, apps rate them, and every agent's trust score updates.

  • Each dot is one agent. Its position from left to right is its trust score.
  • The top row is honest agents (filled dots); the bottom row is attackers (orange rings). The bar in each row is that row's average.
  • The run pauses at each event to say what changed. Click an event to jump to it.

    What the attacks showed

    Scores are averages, attacker against honest agent.

    What the sweeps showed

    The sweeps found four of the 13 settings that never took effect, before any were fixed in a contract: attester reputation reached about 0.93 within 50 steps, so settings that switch on below a reputation threshold never came into play. They may still matter at a cold start, when ratings are sparse. Three of the settings that did matter:

    What a sweep is. The same scenario, run many times, changing one setting between runs, to see what that setting does before it's fixed in a contract.

    • Each card is one sweep. Left to right is the setting, across the range tested; up is the result it's meant to move. Every chart starts at zero.
    • A dashed line marks the value the spec uses, where there is one. Hover or tap a point for its numbers.

    Limits

    Status

    A prototype at Cabana Labs, a three-founder studio. Simulation only; no deployment or users.