← all projects
AI agent wallet security MetaMask delegations Envio

ShieldAI

An autonomous AI agent that guards your wallet 24/7 — it watches every token approval in real time, analyses the contract, and auto-revokes the malicious ones before your funds can be drained.

Live demo ↗ View code ↗

The problem

Over $1.7B+ a year is lost to crypto phishing, and the most common vector is the humble unlimited token approval. You click "approve" on a malicious dApp once, and a contract can drain that token whenever it wants. Manual revocation tools require constant vigilance — by the time you notice, it's gone.

What ShieldAI does

ShieldAI removes the human from the critical path. It runs as an agent with delegated, narrowly-scoped authority over your smart account, so it can act the instant a threat appears — without you signing anything in the moment.

The loop: approval detected → AI analyses the contract bytecode → threat? → backend redeems a delegation → approval revoked on-chain → you stay safe. All automatic.

How it works

The hard part

EOAs can't sign delegations, so ShieldAI uses MetaMask Hybrid Smart Accounts via the Delegation Toolkit to grant the agent revoke-only authority. That scoping matters: the agent can defend you, but it can't move your money. Built and demoed on Monad testnet.

Type
Autonomous agent
Indexing
Envio HyperIndex
Accounts
MetaMask Smart Accounts
Chain
Monad Testnet