GrantScope privately scans, analyzes, and revokes risky Web3 token permissions using Anon-RPC.
GrantScope is a privacy-first Web3 security platform that helps Ethereum users discover, understand, and revoke token-spending permissions while protecting their blockchain query privacy through the Ethereum Foundation's Anon-RPC.
Every time users interact with decentralized exchanges or DeFi applications, they may grant smart contracts permission to spend their tokens. These approvals, sometimes unlimited, can remain active long after the original transaction is completed. If an authorized contract is compromised or malicious, users' funds may be exposed without their private keys being stolen.
The problem becomes more complex with Uniswap Permit2 and smart accounts, where permissions can exist across multiple authorization layers. Revoking one permission does not necessarily eliminate every related authorization.
Additionally, traditional wallet security scanners send blockchain queries directly to RPC providers, potentially exposing users' IP addresses alongside the wallet addresses they inspect.
GrantScope combines wallet permission security with privacy-preserving blockchain infrastructure.
Key Features:
Users enter an Ethereum wallet address without connecting their wallet. GrantScope retrieves supported permission data through Anon-RPC, analyzes active allowances, and presents an understandable security dashboard.
Users can inspect which contracts have spending authority, understand their potential exposure, and connect their wallet only when they choose to revoke a permission. After the transaction is confirmed, GrantScope checks the updated allowance to verify the result.
Unlike traditional approval dashboards, GrantScope emphasizes both permission security and inspection privacy. It helps users understand layered token authorizations while minimizing unnecessary exposure of their network identity during blockchain reads.
GrantScope does not claim to hide public blockchain transactions or support every smart-account permission mechanism. Instead, it provides transparent privacy guarantees, explainable assessments, and user-controlled security actions.
We believe checking your wallet's security should not require sacrificing your privacy.
GrantScope makes Ethereum permissions understandable, revocable, and more private to inspect—empowering users to take control of their Web3 security.
GrantScope is built using React, Vite, TypeScript, and Tailwind CSS, with a modular, browser-first architecture designed around privacy, security, and performance.
We used React and TypeScript to build a responsive Web3 security dashboard, with Tailwind CSS for styling and reusable UI components. The application separates wallet inspection, permission discovery, risk analysis, transaction execution, and privacy monitoring into independent modules.
Instead of relying on a centralized backend to process wallet data, we designed GrantScope to perform blockchain analysis directly in the browser, minimizing unnecessary exposure of wallet information.
The core integration is the Ethereum Foundation's Anon-RPC, which enables privacy-preserving blockchain reads through anonymizing transports such as Tor and Nym.
We integrated the Anon-RPC browser harness into our Ethereum RPC layer, allowing supported JSON-RPC requests to pass through an anonymizing worker rather than directly contacting a conventional RPC provider.
A particularly important engineering challenge was handling anonymous transport initialization, network timeouts, and gateway availability. We designed the transport layer to fail closed, meaning it does not silently switch to a non-anonymous RPC connection when an anonymous transport fails.
We also developed a Privacy Lab to report RPC routing, transport status, request latency, and disclosed non-anonymous operations.
We used viem and Ethereum smart contract ABIs to inspect ERC-20 token balances and allowances through functions such as balanceOf() and allowance().
Our permission discovery engine uses Ethereum Approval events and eth_getLogs queries to identify potential token-spender relationships, followed by current-state contract reads to verify active allowances.
We also incorporated Uniswap Permit2's AllowanceTransfer model to analyze an additional authorization layer, including spender allowances and expiration times.
A key technical design decision was distinguishing underlying ERC-20 approvals from Permit2 permissions so overlapping spending authority is not incorrectly double-counted.
GrantScope integrates wallet-based transaction signing to help users revoke unwanted token permissions.
For ERC-20 tokens, revocation uses approve(spender, 0). Supported Permit2 authorizations can be revoked through the appropriate Permit2 contract functions.
After transaction confirmation, the application rechecks the current permission state instead of assuming that submitting a transaction means the permission was successfully removed.
For testing, we deployed a custom GrantScope Test Token (GST) on Ethereum Sepolia, minted test tokens, and created a positive token allowance to validate the scanning and revocation workflow.
We built a deterministic permission assessment engine that evaluates allowance size, token balances, expiration, spender information, and available scanning coverage.
Rather than labeling unknown contracts as malicious, GrantScope explains which permissions deserve review and why.
We also support read-only scanning of smart-account addresses while acknowledging that session keys and account-specific modules require additional integration.
The most distinctive part of GrantScope is combining privacy-preserving RPC infrastructure with practical wallet security operations.
The architecture includes:
GrantScope demonstrates how Ethereum security tools can help users inspect and manage onchain permissions while reducing unnecessary exposure of their blockchain query activity.

