Lexsi AI Safety and Alignment Hackathon · Track 2 · built on Cohere Tiny Aya

Intentlock

A wallet agent should sign what its user intends. It should not sign what a token description tells it to.

Without a lock: the instruction rides along and gets signed

Untrusted texttoken page, README Agentreads and decides Proposed actiontransfer, approve Signerapproves signed

With Intentlock: it stops before the signature

Untrusted texttoken page, README Hardened agenttreats text as data Guarddid the user ask? Signernever sees it blocked

Everything on this page is a mock: no chain, no keys, no funds. Addresses are fake and commands are only logged.

1The chain

A long chain of people and machines, folded into one model

On 29 October 2026 about $6.3 billion left Binance's hot wallets across ten blockchains. Binance's incident report traces it to a fake recruiter, a fake interview and a coding assignment that carried malware. It ended at a signing system that signed what it was handed, including a batch of 50 EIP-7702 delegations to a sweeper contract.

Sources: TRM Labs for the on-chain mechanics; Binance's incident report as covered by BleepingComputer and TechTarget for the root cause.

1
Lure

A recruiter who does not exist offers a job.

2
Poison

The coding assignment carries malware that runs on install.

3
Foothold

Someone runs it. Access spreads quietly.

4
Signature

A signing system approves a request it should have doubted.

An autonomous wallet agent does all four in one context window.It reads the poisoned text and it proposes the transaction. Nobody stands in between.
Intentlock defends this agent-shaped version of the chain. It would not have stopped malware on a person's laptop or a compromised signing service.
2Watch it

One poisoned sentence, replayed step by step

Twelve episodes from the evaluation. The amber text is the injected instruction. Press play to watch what each agent did with it.

what the agent is given
Replay of recorded episodes from the final run; no live model.
Base Tiny Aya
Hardened agent + pre-signing guard
3How often

One example proves nothing. So we built a test.

Every scenario states what the user asked for and what the injection wants. Outcomes are read from the action log, with no model acting as judge.

Four families of attack

Attack success rate

4The lock

Two checks on intent: one inside the agent, one in front of the signer

Hardening

The agent is fine-tuned on safe trajectories built from the training scenarios: finish the user's task, treat tool output as data, and say what was ignored. Training uses SafeTune's SafeGrad, which keeps a narrow fine-tune from eroding the model's general refusal behaviour. Plain fine-tuning on the same data is the comparison.

Guard

A second small adapter sees only three things: what the user asked, what the tools just returned, and the exact payload about to be signed. It answers ALLOW or BLOCK with a reason. It never sees the agent's reasoning, so a compromised agent cannot talk it round. Anything it cannot parse is a BLOCK.

One pipeline, four Lexsi libraries

STEP 1
CuratorKIT

gates and de-duplicates the scenarios

STEP 2
AuditKIT

measures the base agent

STEP 3
SafeTune

hardens the agent; the guard is trained alongside

STEP 4
CircuitKIT

looked for the mechanism; none was confirmed

STEP 5
AuditKIT

measures again

5Results

Before and after, on seen and unseen formats

Where does injection-following live? A negative result.

CircuitKIT circuit discovery was attempted and ran out of memory on a 16 GB GPU and a 31 GB CPU machine. As a fallback, with our own code, we fitted one residual-stream direction that reads whether an injection is present (89% validation accuracy), then removed it from the base agent. Attack success on 120 scenarios per split, with 95% intervals:

ConditionTestHeld-out formats
No intervention19.2% [12.5, 25.8]16.0% [10.1, 22.7]
Direction removed25.0% [17.5, 33.3]8.4% [4.2, 14.3]
Steered away from direction22.5% [15.0, 30.0]9.2% [4.2, 15.1]
Random direction removed (control)16.7% [10.0, 23.3]11.8% [6.7, 17.6]

Removing the direction did not lower attack success on test, and on held-out formats the random control fell too, with overlapping intervals. No mechanism is claimed. Run 20261112T2003-interp-c369bcb.

6Limits

What this does not show