OPEN-SOURCE · MIT

approval.locker

See which of your wallet's token approvals can actually be drained - proven by execution, not just listed.

Most tools list your approvals and leave you guessing which ones matter. approval.locker goes one step further: it runs each approval through the exact path an attacker would use and reports the ones that actually move value.

Verdict = executed, not inferred. An approval is flagged as drainable only when a simulated attacker transaction actually moves the token, not because it appears on a list.

Developer kit - coming soon Point-and-check web app coming.

Open-source developer kit (Foundry + CI) releasing soon.

01 / what it checks

Three approval surfaces, one honest verdict.

approval.locker inspects the approvals that attackers actually abuse, and triages each entry into a single, honest state.

surfaces checked

What it looks at

  • ERC-20 allowances
  • Permit2 approvals
  • NFT setApprovalForAll

verdict states

One of four, per entry

legitimate known-malicious mutable-risk unknown

Findings are anchored to real incidents (Badger, Monkey Drainer, and others), so a verdict points to how the loss actually happened.

02 / how it differs

A list tells you what exists. Execution tells you what is actually drainable.

Tools like revoke.cash show you the list of approvals and let you decide. approval.locker proves which entries are actually drainable by executing the drain in simulation first. The verdict is a balance delta, not a rule that matched a name.

03 / boundaries

What it does, and what it does not.

Honest limits, stated up front. No overclaim.

  • Open source, MIT.
  • Does not find new contract bugs. It tests recognized drain paths, not unknown ones.
  • Does not phone home. It runs locally; your addresses stay with you.
  • The curated allowlist and blocklist are small seeds, not a comprehensive registry.
  • ERC-2612 permit signatures are off-chain and cannot be judged from on-chain state.