A DeFi trader receives a transaction confirmation showing receipt of an unfamiliar token, often airdropped without solicitation. The token appears in the wallet interface, claiming value, sometimes with a link to “claim rewards” or “complete verification.” Opening that link is how thousands of users have lost their entire portfolios to approval-based drain attacks. The attacker’s method is simple: create a token that looks real, distribute it for free, and wait for a user to interact with a scam website. The wallet itself becomes a staging ground for the attack if the interface cannot distinguish legitimate tokens from malicious ones or if the user lacks visibility into what they are actually approving.
This problem—distinguishing real tokens from spam across thousands of networks and millions of possible token addresses—is where automatic token detection becomes essential. A non-custodial wallet that manages assets across 141 EVM-compatible chains without the user manually tracking every new token contract would need either sophisticated filtering logic or a strategy for labeling and hiding suspicious entries. The rabby wallet extension uses a combination of on-chain data analysis, community risk flags, and contract verification to automatically identify tokens, display their risk level, and prevent users from approving transfers to known malicious addresses. Understanding how this detection works, and what it cannot prevent, is the practical difference between a clean portfolio and a compromised one.
How automatic token detection identifies the real from the spam
When a new token arrives in a wallet, the first question is whether it is legitimate or a vector for social engineering. Legitimate projects, exchanges, and protocols airdrop tokens to real users; scammers also airdrop worthless or harmful contracts to large address sets and hope a fraction will interact. The traditional defense—manually researching each token—does not scale. A user managing positions across multiple networks could receive dozens of token transfers in a week, and spending five minutes verifying each one is impractical for active traders.
The Rabby wallet extension uses a token detection system that pulls contract metadata from on-chain sources, cross-references it against known token lists, checks for suspicious contract patterns, and assigns a risk label. When a transfer arrives, the wallet examines the contract address, pulls its name and symbol from the smart contract interface, queries whether it has been previously verified by projects like 1Inch, Uniswap, or Coingecko, and compares it against blocklists maintained by security providers. If the contract matches no known source and exhibits patterns common to scam tokens—such as hidden transfer functions, pausable supply, or recent deployment—the interface marks it as “unknown” or “high risk” rather than treating it as legitimate.
The detection is not binary. Rabby assigns different confidence levels. A token with a strong community reputation, large number of holders, and presence on major decentralized exchanges receives higher trust than a freshly deployed contract with zero liquidity and no external verification. The interface then surfaces this information prominently. Users see not just “You received Token X” but “Unknown token from contract address 0x…” with a risk flag. This prevents the casual mistake of assuming that because something appears in the wallet balance, it is real.
Airdrop tokens also benefit from this detection logic. Legitimate airdrop projects such as governance tokens from established protocols will carry verification metadata and appear in multiple token lists. The Rabby wallet extension will show these with a clear name, ticker, and network. A scam token that mimics a real project’s name—such as creating “UNISWAP” instead of using the genuine “UNI” contract address—will show a different contract address and appear flagged or unverified when users do their due diligence.
Token detection across 141 EVM chains without manual curation
The challenge scales dramatically when a wallet claims to support not just Ethereum, but also Polygon, Arbitrum, Avalanche, Optimism, BSC, Base, Fantom, Linea, and more than a hundred other EVM-compatible networks. Each network has its own token ecosystem, its own deployment of popular tokens, and its own set of scam contracts mimicking legitimate ones. A user could hold the same token symbol on five different chains under five completely different contract addresses, and a careless wallet could display them as the same asset or fail to distinguish them.
Rabby’s multi-chain token detection works because it queries the contract address and network together. “USDC on Ethereum” is a different token from “USDC on Polygon,” and the wallet shows them separately, with different contract addresses visible in the interface. When token detection runs, it checks both the contract address and the network against token lists and risk data specific to that chain. This means that even if a scammer deploys a fraudulent “USDC” on a less-monitored network, the wallet will flag it as unknown because the contract address will not match the verified Polygon USDC address or the official token list.
Supporting 10,000+ tokens without bloating the interface is possible because the wallet does not display every token by default. Instead, it shows only tokens the user holds, has interacted with, or has explicitly added to a watchlist. When a new transfer arrives, the detection system runs: the contract address is resolved, its metadata is fetched, it is checked against blocklists and token lists, and the result is displayed with a risk rating. Users with large, active portfolios benefit because Rabby reduces noise by hiding zero-balance tokens and suppressing unverified spam automatically. This is not optional filtering; it is the core architecture of how the wallet organizes assets across so many networks without overwhelming the user interface.
Scam protection through transaction simulation and pre-signing previews
Token detection is only the first line of defense. The second is preventing users from approving transfers to malicious addresses or interacting with contracts that will drain their wallet. This is where transaction simulation enters the picture. Before a user signs a transaction—whether it is a token approval, a swap, or an NFT transfer—the Rabby wallet extension simulates the transaction in a sandboxed environment. It traces what will actually happen: which tokens will move, which contracts will be called, whether the user will retain control of their assets.
The simulation includes a scam filter that labels transactions as high-risk if they match patterns associated with known attacks. If a user approves unlimited transfer permissions to a contract address, the simulation will show that and warn the user. If a transaction is designed to transfer the user’s entire balance to an attacker’s address under the guise of a “claim” or “verification,” the simulation reveals it. This catches the attack vector that many users fall for: a legitimate-looking interface that actually requests an unlimited approval to a contract the attacker controls.
Pre-signing previews are equally important. After simulation, Rabby displays what the transaction will do in human-readable form before the user signs. Instead of showing raw contract data, it shows “You are approving 999,999,999 USDC for unlimited transfers to address 0x…” The user can then accept or reject with full knowledge. This is where Rabby’s scam protection becomes behaviorally effective: the interface forces a moment of deliberation. A user who sees “unlimited approval to unknown contract” and proceeds anyway has made an informed choice rather than a careless one.
The risk labeling that emerges from simulation is also crucial. Transactions are marked with color-coded warnings: green for low-risk standard transfers, yellow for unusual patterns, red for high-risk approvals or interactions with contracts flagged as malicious. A user swapping on a legitimate decentralized exchange will see green; a user interacting with a contract that has been identified as a drain vector will see red with a recommendation to cancel.
Hardware wallet integration and address whitelisting as secondary security layers
Automatic token detection and transaction simulation reduce risk, but they do not account for the case where a user’s private key is compromised. A keylogger, malware, or a stolen recovery phrase can give an attacker the ability to sign transactions directly from the compromised device. Hardware wallet integration in the Rabby wallet extension mitigates this by keeping the private key on a separate device. When a user connects a Ledger, Trezor, or OneKey hardware wallet to their browser extension, the wallet can display the same interface, perform the same token detection and transaction simulation, but require the physical hardware device to sign any transaction.
This creates an air-gap: even if the computer is fully compromised, the attacker cannot sign transactions without the hardware wallet. The attacker sees the interface, reads the simulated transaction details, but cannot proceed without physical confirmation. For users managing significant DeFi positions or holding valuable NFTs, this is a practical standard. The cost is a small delay during signing and the requirement to have the hardware device connected, but the security improvement is substantial.
Address whitelisting adds another layer. A user can manually designate certain addresses—such as a personal cold wallet, a trusted exchange withdrawal address, or a DAO treasury—as safe destinations. Once an address is whitelisted, the wallet can notify the user differently or allow faster confirmation. Conversely, any transfer to an address outside the whitelist can trigger a more intensive review process. This does not prevent sophisticated social engineering, but it prevents the common case of a user accidentally copying a malicious address or being redirected to a phishing site that claims to be a legitimate service.
What token detection cannot catch and the limitations of automated scam filtering
Despite strong technical protections, the Rabby wallet extension and any other non-custodial wallet have boundaries. The first is zero-day attacks: a contract that is deployed today, legitimately interacted with by thousands of users, and then converted to a scam drain tomorrow will not be flagged until after the contract has been identified as malicious. The detection system works on reputation and pattern matching; it cannot predict future behavior of a contract that currently appears legitimate.
The second limitation is social engineering that does not involve the wallet interface directly. A user who is tricked into sharing their recovery phrase, who gives permission through a phishing website that mimics the genuine wallet interface, or who is convinced by a fake support person to send funds to a “recovery address” has defeated security at the point where the wallet cannot intervene. The wallet can prevent a user from approving a malicious contract if they enter it through the browser extension; it cannot prevent them from typing a recovery phrase into a fake form.
The third limitation is that sophisticated scam tokens can mimic legitimate ones in ways that automated detection cannot always catch. A token with the same symbol and similar decimals, deployed on a network where fewer verification sources exist, might not be flagged as high-risk until it has already deceived a meaningful number of users. Community-driven blocklists and security providers improve over time, but the cat-and-mouse game never fully ends.
The fourth limitation is that scam protection relies on users actually reading the warnings. If a transaction is labeled high-risk in red text and a user clicks “approve anyway,” the wallet has done its job but the user has overridden it. Security is only effective if it is followed. A wallet interface that makes warnings prominent and gives users the information to make informed decisions cannot force them to make safe choices. The protection is real, but it is a guide rather than a guarantee.
Portfolio analytics and risk management as preventive defense
Beyond individual transaction protection, the Rabby wallet extension includes multi-chain portfolio analytics that allow users to see their total holdings, exposure by network, and concentration risk. A user holding 90 percent of their DeFi portfolio in a single protocol or token has exposure that could be reduced. Rabby surfaces this information, making it easier to identify imbalances that scam tokens or protocol exploits could amplify.
The wallet also tracks interaction history and approvals. Users can see which contracts have permissions to transfer their tokens, revoke approvals that are no longer needed, and audit past transactions. This becomes crucial after a security incident. If a user suspects they have interacted with a malicious contract or given an overly broad approval, they can use Rabby to revoke the permission without moving all their funds. This prevents an attacker from executing a drain after they have been identified but before the user has moved assets.
Risk management tools also include the ability to simulate custom transactions before approving them. If a user is considering a complex DeFi strategy—such as liquidating a position, swapping across multiple routes, and depositing into a yield farm—they can construct the transaction sequence, see the simulation of what will happen, and decide whether to proceed. This visibility is uncommon in wallet interfaces, where many users blindly approve whatever a decentralized application requests.
Best practices for using token detection without complacency
Automatic token detection and scam filtering create a significant safety improvement, but they are most effective when combined with user discipline. The first practice is to recognize that the Rabby wallet extension provides a strong technical defense but cannot replace judgment. Unknown tokens should be researched before interaction. If a token has been airdropped and the user has no memory of a project or claim, leaving it alone is the safest response.
The second practice is to verify contract addresses independently. If a user receives what appears to be a governance token from a legitimate project, they should check the project’s official website or social media to confirm the contract address before interacting. Scammers frequently deploy tokens with the same symbol as legitimate projects, relying on users to not verify. Rabby shows the full contract address and network; using that information is the user’s responsibility.
The third practice is to read transaction simulations carefully. If a transaction is previewed as “approve unlimited transfer permissions,” the user should ask why that is necessary and whether a limited approval would suffice. Many legitimate protocols can work with limited allowances. If a protocol truly requires unlimited approval, the user should consider whether the risk is acceptable or whether they should use an alternative.
The fourth practice is to update the wallet and review settings regularly. The Rabby wallet extension receives updates that improve token detection, refine scam filtering, and fix security issues. Staying current ensures that the latest protections are active. Similarly, reviewing hardware wallet connections, whitelisted addresses, and past approvals periodically helps catch compromises early.
Frequently asked questions
How does the Rabby wallet extension identify whether a token is a scam?
The wallet uses a combination of contract address verification against known token lists, analysis of contract code patterns, blocklists maintained by security providers, and community reputation data. If a token contract is not found on major token lists, has suspicious code patterns, or matches known scam addresses, it is labeled as unknown or high-risk. However, zero-day scams and tokens that are legitimate today but turned malicious later may not be caught immediately.
Can the Rabby wallet extension prevent all scams and drain attacks?
No. The wallet can prevent scams that occur through contract interaction in the browser extension interface by simulating transactions and blocking known malicious addresses. However, scams that occur outside the wallet—such as phishing attacks that steal recovery phrases, fake support conversations, or social engineering—are not prevented by the wallet itself. Users must also follow security practices such as protecting their recovery phrase and verifying addresses independently.
What should I do if I receive an unknown token in my Rabby wallet extension?
Leave it alone unless you have clear evidence that it is legitimate. Do not click links in airdrop notifications or interact with the token contract. If you are curious, research the project’s official website to confirm the contract address shown in Rabby matches the official source. Most airdrop scams rely on users clicking phishing links or approving malicious contracts without verification. The safest response is to ignore unknown tokens entirely.











