Skip to content
DEV Community·Indexed by this site · Originally published· Defenses →

Deadbolt: adding an on-chain Solana spending lock for AI agents with wallets

The model said yes. The chain said no. An on-chain lock for AI agents with wallets

AI summary

Deadbolt hands the transfer permissions of an AI agent with a wallet to spending-policy checks in a Solana on-chain program, so the money cannot be moved even if the model is persuaded. The same injected prompt, via mistral-small, made the unprotected refund bot Penny transfer 0.1008 SOL to the attacker; with the same model and the same prompt, plus only an on-chain policy with a whitelist and a per-transaction limit of 0.01 SOL and an hourly limit of 0.02 SOL, the model still requested a transfer of 0.5008 SOL, which the program rejected with NotAllowlisted.

Read originaldev.to