This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Unlimited Approval Auto-Downgrader

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

The Unlimited Approval Auto-Downgrader scans token approval pages on EVM block explorers (Etherscan, BscScan, PolygonScan, and others), identifies approvals that are set to unlimited or excessively high amounts, and guides you through downgrading them to a finite, safer allowance via a single signed transaction. Unlimited approvals grant a third-party contract permission to spend your entire token balance—a significant security risk if that contract is ever compromised. This tool gives you a clear interface to see exactly which approvals are unlimited, and with one click, submit a transaction to reduce the allowance to a amount you specify (e.g., 100 tokens). It does not revoke approvals entirely (which can break integrations) but rather sets a reasonable spending cap that limits potential exposure while keeping your dApp interactions functional.

WHERE IT RUNS

It runs as a draggable overlay panel inside the BotGentz browser extension on any EVM block explorer that displays token approvals—Etherscan, BscScan, PolygonScan, Arbiscan, and Optimistic Etherscan. It works on the token approval tracking pages of these explorers, where approval addresses and allowance amounts are listed in tables.

HOW TO USE

1. Install the free BotGentz extension (see PLEASE NOTE) and ensure you have an EVM-compatible wallet extension installed (e.g., MetaMask, Rabby, Trust Wallet).

2. Navigate to a token approval page on a supported block explorer (e.g., Etherscan's "Token Approvals" page).

3. Click the BotGentz icon and select "Unlimited Approval Auto-Downgrader" from the tools menu.

4. The panel opens and automatically scans the page for approvals.

5. Review the detected approvals—unlimited ones are highlighted in red.

6. For each unlimited approval, enter a new allowance amount (e.g., 100) in the input field.

7. Click the "Downgrade" button to trigger a wallet transaction.

8. Confirm the transaction in your wallet extension. Once confirmed, the approval is downgraded.

9. Drag the panel to reposition it, resize it, collapse it, or press Escape to close.

THE ACTUAL MECHANISM — DOM-based approval extraction with on-chain fallback verification

This tool works in two layers. First, it performs DOM scraping on the block explorer page, looking for approval table rows that contain token contract addresses, spender addresses, and allowance amounts. It identifies unlimited approvals by detecting values that are extremely large (greater than 10^9) or displayed as "Unlimited" or "∞". Second, to ensure accuracy, it optionally cross-verifies the allowance on-chain by calling the `allowance` function of the token contract using the connected wallet's provider—this catches cases where the explorer page might be stale or incorrectly parsed. For the downgrade itself, the tool builds an `approve` transaction using the ethers.js library (loaded at runtime), encodes the function call with the specified finite amount adjusted for token decimals, and submits it via `window.ethereum.request({ method: "eth_sendTransaction" })`. The user signs the transaction in their wallet, and once confirmed, the allowance is permanently reduced on-chain.

THE PANEL

The panel is fully draggable by its title bar and snaps to the nearest edge of the viewport when released. You can resize it horizontally by dragging the left or right border; the height expands to fit content up to a maximum, with scrolling inside the approvals list. A collapse button minimizes the panel to a small floating chip showing "⚙️ Approval Downgrader" — click it to expand back. Press Escape at any time to close the panel entirely. The panel remembers its last position, size, and expansion state per domain via localStorage.

PLEASE NOTE

- This tool requires the free BotGentz extension and a real EVM wallet extension (e.g., MetaMask) already installed in your browser. It does not include a wallet—it connects to the one you already have.

- This tool works only on EVM-compatible chains (Ethereum, BSC, Polygon, Arbitrum, Optimism) and only on the block explorer pages listed in the target sites.

- Downgrading an approval requires an on-chain transaction and will incur gas fees on the respective network. Always review the transaction details in your wallet before signing.

- This tool cannot detect approvals that are hidden behind proxy contracts or multi-sig wallets where the approval is not directly visible on the explorer page. It also cannot automatically downgrade approvals without explicit user confirmation for each transaction.

- No wallet private keys, seed phrases, or sensitive data are ever read, stored, or transmitted. All transactions are signed and sent directly from your wallet extension to the network. Only anonymized usage metrics (panel open/close, scan events) are collected; you can disable this in the extension settings at any time.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.