Skip to content

WalletBeat safety: infinite approval and permit risk warnings #151

Description

@0xpantera

Problem

WalletBeat scam-alert fixtures include infinite ERC-20 approvals and EIP-2612 permit signatures. Deckard can route approve/typed-data through approval, but it does not yet elevate infinite allowance/spender risk as a first-class warning.

Scope

  • Detect unlimited or unusually large ERC-20 approve(address,uint256) values.
  • Detect EIP-2612/Permit-style typed data and show owner/spender/value/deadline risk rows.
  • Warn on infinite allowance and long deadlines.
  • Keep eth_sign refused.

Acceptance criteria

  • WalletBeat allow-infinite-usdc and allow-infinite-permit have positive warning coverage.
  • Local-chain QA proves the warning/refusal behavior with throwaway accounts only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    qaAutomated QA, Playwright, local-chain testssecuritySecurity-relevantwalletbeatWalletBeat compatibility and QA

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions