Gate has published the third edition of Gate Security Academy, produced together with open-source hardware wallet brand OneKey. This edition looks at how malicious wallet approvals and address poisoning work, and what users can check before signing or sending funds.
Gate Security Academy is a series dedicated to the different types of security issues in the crypto industry, drawing on real cases users may encounter and bringing together the platform and security provider perspectives.
Six months ago, you clicked “Confirm” on a website to claim an airdrop. A pop-up appeared, displaying a string of characters you couldn’t understand. You signed it. The campaign ended, you closed the website, later uninstalled the application, and even replaced your computer.
Today, the USDT in your wallet is gone. Your private key was never exposed, your recovery phrase has always been locked away in a drawer, and you have never shared your password with anyone.
So where did things go wrong?
In this edition, OneKey and the Gate Security Team discuss wallet approvals and address poisoning from the perspectives of both wallet providers and trading platforms.
Guest Introductions
OneKey: Founded in 2019, OneKey is an open-source brand for hardware and software wallets. Since its founding, OneKey has remained committed to a fully open-source philosophy. The core code of its hardware and software products is publicly available on GitHub for community review, and both have passed security audits by SlowMist and Offside Labs. OneKey has earned the trust of users managing hundreds of millions of dollars in assets, as well as investment backing and institutional adoption.
The OneKey App is available on desktop, mobile, and as a browser extension. It can be used independently as a software wallet or connected to a OneKey hardware wallet. Through features including secure elements, offline signing, transaction parsing, risk alerts, and clear signing, OneKey helps users manage assets across multiple blockchains without giving up control of their private keys or recovery phrases.
Gate Security Team: Gate’s security department is responsible for building and maintaining the platform’s account, trading, and asset security systems. The team also regularly handles user appeals involving suspicious account activity and requests for assistance with investigations.
Founded in 2013, Gate now serves more than 63 million users worldwide and was among the first major trading platforms to introduce 100% Proof of Reserves (PoR). In November 2026, Gate introduced Proof of Security (PoSEC), a new framework that allows users to assess whether the platform’s cold storage assets would be sufficient to cover all user assets even in the event of a total loss of hot wallet assets. Security has always been a fundamental part of Gate’s operations. Through Gate Security Academy, Gate aims to help users better understand the security risks they may encounter and how to protect themselves.
Q1. How can assets be stolen from an on-chain wallet without the attacker obtaining the private key?
OneKey: A private key determines who has signing authority, while an approval grants certain permissions to a contract or address. Many approvals serve legitimate purposes, helping users save gas fees and reduce repeated on-chain operations. However, they also create opportunities for attackers.
An approval you previously signed effectively allows another party to access certain assets. Take ERC-20 tokens on Ethereum and other EVM networks as an example. When using applications such as exchanges or lending platforms, users often need to perform an Approve operation first. This allows a designated address or contract to use a certain amount of a particular token. Once the approval takes effect, the authorized party can call “transferFrom”to transfer tokens without asking you to confirm each transaction again.
For example, suppose you want to swap 100 USDC but end up granting unlimited approval. After the transaction is completed, the remaining approval may still be valid. If the authorized party is an attacker, or if the contract is later found to have an exploitable vulnerability, the risk is no longer limited to the original 100 USDC. It could affect more USDC held at that address.
NFTs have a similar mechanism. “setApprovalForAll” generally allows the authorized party to manage all NFTs you hold under the same NFT contract, rather than just the one you intend to sell.
That is why we recommend checking the authorized party, asset, amount, and scope of permission before signing. If you cannot clearly understand any one of these, do not sign. More importantly, use a wallet with signature parsing capabilities so you can understand exactly what you are signing.
Gate Security Team: OneKey has explained the mechanism in detail. What we would like to add is a common misunderstanding among users, because it is the root cause of many of these risks: many people interpret “signing” as simply “confirming.”
On the traditional internet, clicking Confirm means agreeing to a particular action. Once that action is completed, the permission ends. But on-chain approval signatures work differently. After signing once, the authorized party can transfer assets at any time, repeatedly, and without asking for your confirmation again, as long as the transfers remain within the approved limit. What users sign is not simply a transaction, but something more like a long-term authorization letter.
There is another, less obvious distinction. Permit and Permit2 involve off-chain signatures. They do not generate an on-chain transaction or consume gas when signed, and wallet pop-ups often display nothing more than a string of incomprehensible characters. Users instinctively assume that an operation that costs nothing should carry little risk. In reality, these signatures can be just as dangerous as on-chain approvals.
Before connecting to an unfamiliar contract, you can submit its address to Gate AI’s contract auditing tool and generate a structured risk report. Common issues such as owner privileges, blacklisting, additional token minting, and transaction taxes will be flagged, with coverage of more than 57 vulnerability types.
When you reach the signing stage, check which token is being approved, the amount, and the project involved. Where supported, use clear signing to ensure that what you see is what you sign, and revoke approvals promptly after use.
Q2. What are the most common traps targeting ordinary users? How can users decide whether to connect their wallets when they encounter these websites?
OneKey: Common traps usually revolve around two emotions: making you feel that there is something to gain, or making you worry that you will lose something if you do not act.
The first category includes airdrops, whitelists, free minting, refunds, and compensation. The second includes account abnormalities, security upgrades, token migrations, and warnings that assets are about to be frozen. The packaging may differ, but they all eventually direct users to a page requiring them to connect a wallet, sign a message, or transfer funds.
We recommend using wallets with website security detection capabilities. Official websites generally have verification indicators. If a website is unverified or triggers a phishing warning, do not connect your wallet.
Connecting a wallet is usually only the starting point. The subsequent signature is what grants specific permissions. First, verify the complete domain name and the purpose of the operation. Then check the contract, method, approval amount, and spender. If a website claims to offer a reward but asks for unlimited access to unrelated assets, leave immediately. Uninterpretable hexadecimal data, unfamiliar EIP-712 messages, and repeated pressure to act quickly are also warning signs.
When testing unfamiliar DApps, use a separate wallet containing only a small amount of funds. Wallets holding long-term savings should generally not be connected to unfamiliar projects.
Gate Security Team: Based on the cases we have handled, the source of a link is often more dangerous than the page itself. As we have emphasized in Gate Security Academy, users should not click unfamiliar links casually. Links from private messages, group chats, and search engine advertisements are three of the most common sources of phishing websites.
Search advertisements deserve particular attention. Many people assume that the first search result must be the official website. But advertising placements can be purchased, and this is one of the most common ways phishing websites attract visitors.
Although connecting a wallet is generally a low-risk action, that does not mean it is completely risk-free. As hackers’ techniques continue to evolve, there have been numerous cases of on-chain wallet theft in which users reported that their assets were stolen after visiting phishing or counterfeit websites and simply connecting their wallets, without signing anything. That is why users must be extremely cautious from the moment they click a website link.
A relatively reliable approach is to bookmark the applications you use regularly and always access them through those bookmarks. This habit can help users avoid most attacks that redirect them to phishing websites or fake official pages, making it one of the most cost-effective precautions users can take.
We also want to remind users that attackers often exploit the credibility of trading platforms to make their scams appear legitimate. They may claim that “Gate has already listed this token” or “Gate is running an airdrop” to make a worthless project seem trustworthy.
In these situations, the standard for verification is simple: all official Gate announcements are also published on the announcement page of our website. If a message appears only on a particular social media account and cannot be found on our official website, there is a high probability that something is wrong. This does not require any technical knowledge or the ability to analyze smart contracts.
If users receive emails, text messages, or direct messages claiming to be from Gate, they can use our Official Verification Channel to check whether the domain or contact email address is genuinely ours. This takes only a few seconds.
Users can also set their own Anti-Phishing Code in their account. Once enabled, all emails sent by Gate will include that code. We recommend that users who have not yet configured this feature enable it in their security settings.
Q3. How do address poisoning attacks trick users into sending funds to the wrong address? What checks are essential before making a large transfer?
OneKey: Address poisoning exploits a very common habit: copying addresses from transaction history and checking only the first and last few characters.
Attackers generate large numbers of addresses with beginnings and endings similar to addresses frequently used by their targets. They then send zero-value or very small token transfers to make those fake addresses appear in the targets’ transaction histories. Many users check only the beginning and end of an address before making a transfer, or simply copy a “recent address.” As a result, the funds end up being sent to the attacker.
The most important precaution is not to treat transaction history as a trusted address book. When depositing funds to an exchange, obtain the address from the verified official deposit page. When paying another person, reconfirm the address through a trusted channel. The source of the address must be reliable, and after pasting it, users should check every character rather than just the first and last few.
For large transfers, we recommend sending a small test transaction first and asking the recipient to confirm receipt, or checking that the funds have arrived in your own destination account. When making the full transfer, check the complete address again. A successful test transfer does not mean that you can skip checking the address when copying, pasting, and confirming the second transaction. Frequently used addresses can be saved to an address book or whitelist after verification.
Wallet applications such as OneKey also provide relevant detection features. If an address is copied incorrectly, warnings such as “First-time transfer” or “Similar address detected” can help users quickly identify a potential poisoning attempt.
Gate Security Team: This issue is more directly related to trading platforms than many people realize, because deposits and withdrawals are two of the most common scenarios for address poisoning.
Let’s start with deposits. We want to emphasize OneKey’s advice once again: always obtain your deposit address directly from the platform’s official deposit page. Do not copy it from old conversations in social applications.
Users should also be alert to potential security problems with keyboard applications installed on their phones. There have been many cases where compromised keyboard software silently replaced users’ transfer or deposit addresses, resulting in stolen funds.
For withdrawals, Gate offers two tools that we recommend using directly.
The first is the Address Book. Once you have verified a frequently used address, save it there. You can then select it directly in future transactions, reducing the risk of accidentally pasting the wrong address.
The second is an API withdrawal restriction: API withdrawals can go to addresses already saved in the Address Book. In automated trading scenarios, where no one may be watching the screen, this restriction effectively requires an additional round of manual confirmation.
Newly added withdrawal addresses are also subject to a 24- to 48-hour cooling-off period. If a poisoned address is pasted by mistake, this creates an additional window in which the error may be discovered.
Q4. Why should wallet approvals be reviewed regularly, and what should users pay attention to when revoking them?
OneKey: Because an operation may have ended, but the approval may not have.
Disconnecting a wallet, closing a website, or even uninstalling a wallet application does not automatically revoke on-chain approvals that have already taken effect. If you granted a contract unlimited approval, it may retain those permissions long after you stop using the project. If the contract later develops an exploitable vulnerability, even an unused approval could put the assets in your wallet at risk.
You do not need to review every historical record before taking action. Start with the most important ones: unlimited approvals involving high-value assets, NFT-wide approvals, unfamiliar spenders, and applications you no longer use. Just because a project was once trustworthy does not mean you need to keep giving it access to your assets.
When revoking approvals, use a verified wallet interface or approval management tool, and confirm the account, network, token, and spender. Revocation usually requires an on-chain transaction and a network fee. After submitting it, confirm that the transaction has succeeded and the permission has been updated. Revocation can prevent the permission from being used again, but it cannot recover assets that have already been transferred.
There is another easily overlooked detail: dangerous messages that have already been signed but have not yet been submitted on-chain may not appear in ordinary approval lists. In such cases, the signature may need to be invalidated or canceled according to the specific protocol. Simply checking whether there are unfamiliar approvals in the list is not enough.
For some Permit signatures, the deadline only limits the latest time the signature can be submitted. It does not necessarily mean that the approval will expire at the same time once it takes effect.
Gate Security Team: Regular security “checkups” are equally important for trading platform accounts. We would like to extend the idea of regular reviews from on-chain wallets to exchange accounts and encourage users to conduct a complete review of their account permissions.
First, security logs. Accounts record login history and important operations, including login times, locations, devices, and changes to security settings. If you suspect unusual activity, this is the most direct place to check and one of the most valuable sources of evidence during an investigation.
Second, API keys. This is one of the most easily forgotten areas. Many users create API keys when experimenting with quantitative trading strategies, connecting third-party tools, or using copy-trading services. Afterward, they neither delete the keys nor review the permissions they granted.
API keys are very similar to on-chain approvals: they are created for a specific purpose, but they do not automatically expire. We recommend regularly reviewing existing keys, deleting those no longer in use, and checking whether the permissions of the remaining keys exceed what is actually needed.
Third, security settings themselves. Is your linked phone number still active? Have you changed your email address? Can you still access your registered authentication methods?
These details may not affect everyday account use, but if you ever need to recover your account or respond to an emergency, any one of them becoming inaccessible can make the situation much more complicated.
Q5. If users discover that they may have signed a dangerous approval, or their assets are already being transferred, what is the correct order of actions?
OneKey: First, reduce the possibility of further losses, then investigate exactly what happened. Evidence can be preserved at the same time, but collecting materials should not delay efforts to stop the losses.
Immediately stop interacting with the suspicious website. Do not sign any additional requests it presents, even if they are described as “repair,” “verification,” or “revocation.”
If you have clearly identified a malicious approval, revoke it as quickly as possible through a trusted interface. If the scope of the risk is unclear or assets are still being transferred out, prioritize protecting the remaining assets. Using a trusted device, move any assets that can still be transferred safely into a secure wallet.
If there is any possibility that your recovery phrase or private key has been exposed, the destination wallet must use an entirely new recovery phrase. Changing the wallet password, reinstalling the application, or creating a new account under the same recovery phrase cannot eliminate the risk of the original key being compromised. The new wallet should be created on a trusted device, and the old wallet should no longer be used to receive assets.
If the ETH or other network-fee tokens you add are immediately transferred away, do not repeatedly deposit more funds and try again. This may involve an automated sweeper, meaning ordinary transfers and approval revocations may not be completed in time. In such cases, seek assistance from a trusted security team through official channels.
At the same time, preserve the affected address, relevant transaction hashes, blockchain network, token, amount, and time of the incident. Then collect suspicious URLs, signing details, screenshots, and chat records.
Contact the wallet provider, any centralized exchange that may have received the funds, and local law enforcement through official channels. Compared with simply saying, “Help, my wallet has been hacked,” providing these materials makes it much easier for the receiving party to investigate. If some information is missing, report the essential facts first and provide additional materials later.
Another important warning: some attackers specifically target users who have already suffered losses. Many victims, desperate to recover their funds, believe private messages from people promising “100% recovery.” They may then pay so-called unlocking fees or hand over their recovery phrases, only to be scammed again.
Gate Security Team: This type of incident differs from an account takeover. If an attacker holds an approval that the user signed, changing passwords or reinstalling applications will not prevent the attacker from continuing to transfer assets, because that approval has nothing to do with the on-chain wallet’s password.
That is why the first step should be to revoke the approval and move the remaining assets, rather than changing the password.
When assets are moved through a technically valid contract call, signed by the user using permissions the user granted, investigating the case and determining responsibility become more complicated than in ordinary account takeover cases. This is because the technical records may not show any evidence of an “unauthorized” action.
That is another reason we recommend regularly reviewing wallet approvals and revoking unnecessary permissions as early as possible to prevent problems before they occur.
What the platform can do is try to prevent attacks from reaching the withdrawal stage in the first place.
As mentioned earlier, Gate has multiple layers of authentication across login, trading, withdrawals, and changes to security settings.
Login protections include passwords, email or SMS verification, Google Authenticator, and IP address monitoring.
Withdrawals require a separate fund password, independent of the login password. The system also triggers dynamic verification based on the login environment, withdrawal amount, and overall account risk. The higher the risk, the stricter the verification.
Changes to important security information, such as linked phone numbers, email addresses, Google Authenticator, or fund passwords, can trigger withdrawal restrictions. Newly added withdrawal addresses are also subject to a 24- to 48-hour cooling-off period.
We also recommend enabling Passkey authentication. It requires fingerprint or facial recognition to complete verification, and phishing websites cannot trigger authentication using a passkey registered for the legitimate domain.
These layers of protection work together to make it difficult for attackers to withdraw assets even if they obtain some of the user’s information.
When suspected stolen funds enter Gate, our risk monitoring systems may identify suspicious activity through risk labels and abnormal behavior detection. Where appropriate, the platform can take further risk-control measures in accordance with its procedures and applicable requirements.
The platform operates a real-time risk assessment system powered by machine learning. It evaluates withdrawal requests, dynamically adjusts limits, and monitors and intercepts abnormal transactions according to account behavior and risk levels.
If a user’s own Gate account is also affected, they should immediately contact official customer support to freeze the account, which will automatically disable outgoing transfers.
Gate’s security team operates 24 hours a day, seven days a week. Our official website also provides a dedicated law enforcement request channel for formal investigations.
Q6. What can wallet products do for users, and what are the things they cannot do on users’ behalf?
OneKey: A wallet should first clearly explain what the user is about to agree to. Simply displaying a string of data and asking users to choose “Confirm” or “Cancel” is not enough to help ordinary people assess the risks.
Transaction parsing and clear signing should help users understand whether they are making a transfer, granting approval, or performing another operation, what assets and amounts are involved, and who will receive the permissions.
Transaction simulation and risk detection can further warn users about unusual changes in assets, malicious contracts, or known phishing websites.
OneKey’s clear signing and SignGuard risk alerts are designed to help users at these stages. However, these parsing and detection capabilities have their own supported scope, and not every complex transaction can be considered fully covered.
A wallet cannot determine why a user wants to make a particular transaction based on a signature alone.
Whether an address actually belongs to the person you intend to pay, or whether a supposed “project upgrade” has been officially confirmed, are things users still need to verify themselves.
A hardware wallet can protect private keys and provide confirmation on a separate screen, but it cannot automatically make an unreasonable approval safe.
When it comes to address risk labels, we also believe it is important to distinguish between risk warnings and final determinations.
If a transaction is subject to platform review, users should preserve genuine records of the transaction background, payer information, and source of funds, and communicate through official channels. They should not attempt to remove risk labels by splitting transactions, bridging funds, or routing transfers through other addresses.
Wallets cannot make risk-control decisions on behalf of platforms, nor can they directly reverse confirmed on-chain transactions.
Their responsibility is to help users identify problems before signing, rather than leaving them to discover what they agreed to only after suffering losses.
Q7. How do the security models differ when the same assets are held on-chain versus on a trading platform?
Gate Security Team: On-chain wallets and centralized trading platforms operate under two completely different security models. Users need to adjust their asset allocation based on their own needs and risk tolerance.
The defining characteristic of on-chain transactions is that signing can lead directly to final settlement. From clicking Confirm to transferring assets, the process can be completed in one step, within seconds. There is no intermediate stage where someone can intervene, and no one can reverse the transaction for you.
On a trading platform, however, several safeguards stand between someone obtaining a user’s login credentials and actually moving assets out of the account. These include fund passwords, withdrawal verification based on the environment and amount, cooling-off periods for new addresses, and withdrawal restrictions triggered by changes to security settings.
For substantial funds that are not used for frequent on-chain interactions, users should consider a setup with strong layered protections, whether that is a well-secured exchange account or a hardware wallet. Users can improve their Security Score, enable withdrawal channels only when needed, and use the platform’s additional safeguards to protect against risks such as compromised accounts or devices.
As for funds used to trade meme coins, explore new chains, or participate in early-stage trends, keeping them on-chain is fine. But only allocate the portion you can afford to lose and treat it as a high-risk trading wallet. Do not connect wallets holding your living expenses or long-term savings to unfamiliar DApps.
What is truly dangerous is concentrating all your assets in a single hot wallet that connects to different DApps every day. That puts your entire net worth a few seconds away from a single bad signature.
These two environments have fundamentally different risk structures, each with its own trade-offs. Users should conduct thorough research before making decisions.
Q8. What security habits can ordinary users adopt right now?
OneKey: We recommend starting with wallet separation, approval habits, and transfer verification. There is no need to wait until a security incident occurs before making these changes.
Keep long-term holdings separate from funds used for everyday interactions. Savings wallets should have minimal contact with unfamiliar applications. When trying new projects, use a separate wallet containing only the funds needed for that particular operation.
It is important to note that different addresses can isolate the effects of ordinary token approvals, but if the same recovery phrase is compromised, all related addresses may still be at risk.
Approval amounts should be limited to what is needed for the current operation. Do not automatically grant unlimited approval just to avoid a few extra confirmations. Revoke permissions you no longer use.
For transfers, obtain addresses from trusted sources and check every character after pasting. For large transfers, conduct a small test first rather than assuming that an address must be correct simply because you have used it before.
For substantial assets, consider using a hardware wallet and carefully check the information displayed on the device screen.
Hardware wallets can reduce the risk of private keys being directly exposed when an internet-connected device is compromised, but they cannot prevent a malicious approval that you personally confirm.
Recovery phrases should be stored offline. Never enter them into websites, photograph and upload them to cloud storage, or share them with anyone claiming to be customer support.
The most valuable habit is allowing yourself to stop an operation.
If you cannot understand a signature, verify an address, or explain why a permission is being requested, stop and investigate first. Do not treat clicking through every pop-up as completing a task.
Gate Security Team: We agree with OneKey’s recommendations. From the exchange account perspective, we would add three things, ranked by effectiveness.
Complete the basic account security setup.
Pay attention to our Security Score feature. It lists and scores the security measures enabled by each user, including fund passwords, two-factor authentication, anti-phishing codes, passkeys, daily withdrawal limits, and withdrawal channel management.
Users can follow the specific recommendations to strengthen their basic account protections.
Actively reduce your exposure instead of keeping default limits.
Set daily withdrawal limits according to your actual usage rather than keeping them at the platform’s maximum.
Disable withdrawal channels you do not currently need. When you need them again, you can re-enable them after identity verification, without affecting normal usage.
Separate assets by purpose and minimize on-chain approvals.
As OneKey mentioned, revoking approvals requires gas fees. That is one reason many users know they should revoke old permissions but keep putting it off.
But consider it from another perspective: rather than constantly cleaning up old approvals, reduce the number of approvals you need in the first place.
Use small wallets with limited balances for on-chain interactions, and keep substantial long-term holdings in cold storage or well-secured accounts.
We also strongly recommend that Gate users enable Passkey authentication.
A passkey consists of a pair of cryptographic keys associated with the user’s device, with verification requiring a fingerprint or facial recognition.
It offers two advantages against phishing that other authentication methods cannot easily replace.
First, it is inherently resistant to phishing. Passkeys are bound to specific domains. Even if a fake website looks exactly like the official website, it cannot trigger authentication using a passkey registered for the legitimate domain.
Second, losing your device does not automatically mean losing your account. Even if someone obtains your unlocked phone, they cannot complete Passkey authentication without your biometric information.
That covers what we wanted to discuss in this edition of Gate Security Academy.
To prevent asset theft through malicious approvals, check the authorized party, asset, and amount before signing. Grant only the permissions you need, revoke unused approvals regularly, and stop whenever you encounter a pop-up you do not understand.
To protect against address poisoning, do not treat transaction history as a trusted address book. Obtain deposit and transfer addresses from verified sources, and check every character after pasting.
About Gate
Gate, founded in 2013 by Dr. Han, is one of the world’s leading cryptocurrency and integrated financial services platforms, spanning financial and everyday use cases including asset management, trading and payments. Serving over 63 million users globally, it supports trading across 5,400+ digital assets and 12,800+ stock assets and ETFs, while providing access to a comprehensive range of TradFi assets, including metals, stocks, indices, forex, and commodities to meet users’ end-to-end needs across asset holding, trading, and spending. As an industry benchmark, Gate was among the first platforms to implement 100% Proof of Reserves. Its ecosystem includes Gate Money, Gate Wallet, Gate Ventures, Gate for AI Agent, and a wide range of products and services.
Disclaimer:
This content does not constitute an offer, solicitation, or recommendation. You should always seek independent professional advice before making investment decisions. Note that Gate may restrict or prohibit certain services in specific jurisdictions. For more information, please read the User Agreement.











