{
  "id": 21663539,
  "title": "How UNSWEEP Tests and Verifies Its EIP-7702 Token Recovery Contracts",
  "url": "https://urgent.news/2026/11/24/how-unsweep-tests-and-verifies-its-eip-7702-token-recovery-contracts",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T20:41:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/unsweep/how-unsweep-tests-and-verifies-its-eip-7702-token-recovery-contracts-2pom"
  },
  "original_language": "en",
  "account": "UNSWEEP tests and verifies its EIP-7702 token recovery contracts through a reproducible engineering baseline. The core delegate contract is compiled with solc 0.8.39 and tested with Foundry. Foundry is used to compile and test the contracts, ensuring no tests fail across four suites. The UNSWEEP contract testing includes EIP-712 domain and replay protection, transient reentrancy lock, and cross-stack digest parity. Slither, a static analysis tool, is also used to examine the contracts, identifying one high and one low severity issue. The production contracts are deployed on Base and Arbitrum One, with bytecode and production frontend hashes verifying the contracts against the GitHub repository. The UNSWEEP team acknowledges known limitations and invites independent review of the contracts, relayer, and frontend.",
  "summary": "When a wallet's private key is compromised by a sweeper bot, sending ETH for gas to rescue remaining ERC-20 tokens usually fails—the bot drains the gas before the recovery transaction lands. UNSWEEP ( unsweep/unsweep , MIT) uses EIP-7702 delegation plus a relayer so a compromised EOA can sign a rescue intent locally in the browser without funding gas on the compromised address. Because asking…",
  "key_points": [
    "UNSWEEP tests token recovery contracts with Foundry and solc 0.8.39",
    "Contracts include EIP-712 domain, replay protection, and transient reentrancy lock",
    "Slither identifies high and low severity issues in contracts"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}