Nobody Needed to Steal the Key. The Hot Wallet Signed 50 Times.

Does your hot wallet know when a transaction is dangerous, or does it simply sign any request that is technically valid?
Many automated wallet systems are built to check whether a request is correctly formed. When it passes that basic check, the private key signs it, even when the destination is unfamiliar or the amount is far outside normal activity.
That gap was central to the $6.36 billion theft reported on 29 October 2026. TRM Labs attributes the incident to TraderTraitor and describes it as the largest crypto theft on record. It shows why access to a signing key needs clear limits.
The animation below illustrates the difference a written signing policy can make. The same requests can reach a hot wallet, but the wallet should only approve the actions that fit rules set in advance. Watch the two counters in the corner as the requests are evaluated.

How attackers used the wallet's own signing process
According to TRM Labs, the attack affected an exchange's wallet infrastructure across ten chains. The attacker did not need to extract the private key to make the funds move. The signing system already had access to the key, so the attacker focused on getting that system to approve the right requests.
On Ethereum, the exchange's hot wallet signed 50 EIP-7702 authorizations in advance. An EIP-7702 authorization is a signed instruction that lets an account delegate certain actions to a smart contract. In this incident, each authorization gave a sweeper contract control over the account.
Why prepare the same kind of authorization 50 times? Each authorization is tied to a value called a nonce, which is the wallet's sequential transaction counter. Every time the wallet processes a transaction, that counter changes. A single authorization could become outdated within minutes, so the attacker prepared 50 authorizations for the next 50 nonce values. That increased the chance that one would still match when the attacker was ready to use it.
At 20:20 UTC, all 50 authorizations were sent in one transaction. One matched the wallet's current nonce. Three minutes and 24 seconds later, the wallet transferred its entire balance to the attacker: 167,464 ETH and 63 tokens, including 1.615 billion USDT. On the other nine chains, the same signing system produced ordinary, valid transfers to the attacker.
The signatures were valid. The wallet followed the instructions it had been given. The missing layer was a check that could tell whether those instructions were allowed in the first place.
The animation below shows the core failure: a series of delegation requests reaches a signing key, and every request comes back approved. A system that only checks whether it can sign has no built-in way to distinguish a normal request from a dangerous one.

A hot wallet follows instructions. It does not understand intent.
A hot wallet is a wallet whose signing key is available to an online application or service. It is commonly used when a product needs to move funds automatically, without asking a person to approve every transaction. Examples include payout services, treasury systems, gas relayers and blockchain bridges.
The key can confirm that a request is valid according to the signing process. On its own, it does not know whether the recipient is approved, whether the amount is unusual, or whether a smart contract should be trusted. Those decisions need to be expressed as rules and checked before the key signs.
This becomes more important with EIP-7702. A normal transfer sends a specific amount from one address to another. An EIP-7702 authorization can give a smart contract permission to act on behalf of an account. If that permission is granted to a malicious contract, the risk can extend beyond one transfer and affect funds that arrive later.
The wallet needed rules before it signed
Looking at the incident, the safeguards are straightforward. The wallet should only delegate control to approved contracts, limit how often it can issue authorizations, send funds to approved destinations, and enforce spending limits. These rules can be defined before an incident and applied automatically to every signing request.
| What the wallet was asked to do | A rule that could have been set in advance | Expected result |
|---|---|---|
| Delegate account control to an unfamiliar contract | Allow delegation only to contract addresses that have been approved | Refuse |
| Issue 50 delegations for consecutive transaction counters | Allow no more than a defined number of delegations within a time window | Refuse requests that exceed the limit |
| Transfer funds to an address that has not been approved | Send only to recipients on the approved list | Refuse |
| Move the entire hot-wallet balance in one transfer | Set a maximum amount per transfer and a separate spending limit per hour | Refuse |
These controls do not require a team to predict every possible attack. They require the team to define what normal activity is allowed to look like, then reject requests that fall outside those boundaries. TRM Labs' post-incident guidance similarly recommends rejecting unexpected EIP-7702 authorizations and treating large batches of authorizations across consecutive nonce values as a possible sign of compromise.
The comparison below shows the difference. Both wallets receive the same four requests. Without a policy, every request reaches the key and gets signed. With sign-guard in place, the expected activity is allowed while the unusual or unauthorized requests are stopped before the key can approve them.

Meet sign-guard: a policy check before the signature
@globalmpc/sign-guard is an open-source package that checks a signing request against rules defined by the wallet operator. It sits between the application and the signing account. Before the private key is used, sign-guard checks whether the request follows the policy. If it does not, the request is refused and no signature is produced.
For developers using viem, sign-guard wraps an existing account and keeps the same account interface. That means it can be added to an existing application without changing the way the rest of the application sends transactions or interacts with contracts. A refusal also identifies the rule that was broken, which makes the decision easier to review and record.
The example below sets up a wallet for BNB Smart Chain only. It allows one specific check-in function, limits each USDT transfer to 500, and caps total USDT spending at 2,000 per hour. Every approval or refusal is also sent to an audit log.
A $6.36 billion crypto theft shows how an attacker can drain a wallet by using the system that already has permission to sign. MPC's open-source sign-guard adds a policy check before that permission is used.
import { guardAccount } from "@globalmpc/sign-guard";
const account = guardAccount(
privateKeyToAccount(key),
{
chainIds: [56], // BNB Smart Chain only
transactions: {
calls: [{ to: CHECK_IN_CONTRACT, selectors: ["0x183ff085"] }],
tokens: [
{
token: USDT,
maxAmount: 500n * 10n ** 18n, // maximum 500 USDT per transfer
window: { durationMs: 3_600_000, max: 2_000n * 10n ** 18n }, // 2,000 USDT per hour
},
],
},
},
{ onDecision: (decision) => auditLog.write(decision) },
);
The rules are explicit. The wallet is limited to the chain, contract, function and spending amounts listed in the policy. A request that falls outside those settings is rejected before it reaches the signing key.
The next animation walks through five example requests. A permitted checkIn() call and a 500 USDT transfer pass. A 900 USDT transfer, a delegation to an unknown contract and a raw hash are refused. Each refusal is labelled with the rule that stopped it, so the decision can be understood rather than appearing as an unexplained signing failure.

A policy can cover the main ways an automated wallet may be used or abused:
- Approved networks. The wallet signs only for the chain networks listed in its policy. A special chain ID of 0, which can make an EIP-7702 authorization valid across supported chains, is always refused.
- Approved contracts and functions. The wallet can interact only with contract addresses and specific functions that have been listed. An unfamiliar contract or unapproved function is blocked.
- Spending limits. Native assets and tokens can have a maximum amount per transaction and a separate limit over a rolling time window. Policies can also restrict which recipients are allowed.
- Delegation controls. EIP-7702 delegations can be limited to named contracts and controlled by a frequency limit. By default, sign-guard allows at most one delegation per hour.
- Typed-message controls. EIP-712 messages, including many token approval and permit flows, can be limited to specific contracts and message types. A message for an unknown spender can therefore be refused.
One of the most practical controls is a spending limit over time. It does not depend on knowing which attacker or exploit may appear. It limits how much a wallet can move within a defined period, even when the application sending the requests has been compromised.
- No blind signing. A raw 32-byte hash does not explain what the key is being asked to approve. It could represent a transaction, delegation or permit, so sign-guard refuses this type of request.
The rule that can limit the cost of an attack
In the animation, the policy allows a total of 2,000 USDT per hour. Four transfers of 500 USDT use the full allowance. When a fifth transfer arrives, the policy refuses it because the hourly limit has already been reached.

This changes the amount an attacker can move before the limit is reached or someone responds. If an application is compromised, the attacker may still be able to use the remaining allowance, but cannot keep draining funds beyond the configured cap. A spend window can therefore reduce the potential loss and create time for the team to detect and respond to unusual activity.
The checks must cover the exact request that gets signed
A signing policy only works when the request that gets checked is the same request that reaches the key. sign-guard was designed to address several less obvious ways this can go wrong:
1. A different format is used after the check.
Some blockchain libraries allow a custom serializer to turn transaction details into the final data that gets signed. If a guard checks one version of a transaction but an untrusted serializer changes the final data, the check may no longer protect what is actually signed. sign-guard refuses serializers that have not been explicitly trusted.
2. The request changes between checking and signing.
In JavaScript, an object can return different values when its fields are read at different times. A request could appear safe during the policy check and change before the key signs it. sign-guard copies the signable fields once, checks that copy and signs the same copy.
3. An authorization applies across multiple networks.
An EIP-7702 authorization with chain ID 0 can be valid on every chain that supports it. A policy intended for one network should not approve an authorization that can apply across networks, so sign-guard rejects it.
4. The key is asked to sign something it cannot inspect.
A raw 32-byte hash does not reveal the transaction or message behind it. Because the policy cannot determine what the key is approving, sign-guard refuses blind hash signing.
These safeguards came out of adversarial review before release, and each has a test designed to catch a regression. The package ships with 165 tests and no runtime dependencies.
Where the guard runs matters
There is an important boundary to understand. If sign-guard runs inside the same application process that requests signatures, it can stop unsafe requests caused by bugs, malicious dependencies or crafted inputs. However, if an attacker gains full control of that process, they may be able to access the key directly or bypass the wrapper.
For stronger protection, run the guard in a separate signing service alongside the key. That service receives requests through an authenticated connection, applies the policy and returns a signature only when the request is allowed. The application can ask the service to sign, but it does not have direct access to the key.
sign-guard also provides a lower-level API called createSignGuard for this setup. It can be used in front of a key-management system (KMS) or an MPC co-signer, even when the signer is not a viem account. Using a separate key and policy for each chain and each wallet tier also limits how much one compromised signer can affect.
Prepare a recovery option before an incident
Preventive controls reduce the chance of an unauthorized delegation being approved. A response plan matters in case one gets through. sign-guard can prepare authorization resets for upcoming nonce values while the key is still safe. These reset signatures can be stored offline in advance:
const resets = await presignResets(account, {
chainId: 56,
fromNonce: currentNonce,
count: 20,
});
// Store the reset signatures offline.
If a hostile delegation is installed, a funded account can broadcast the reset that matches the wallet's current nonce. This can remove the delegation, but it is an emergency response rather than a guarantee. A malicious delegate may move the nonce forward before the reset transaction is broadcast, so detection and response speed matter.
That is why monitoring is a useful companion to signing controls. MPC's @globalmpc/hot-wallet-watch is designed to detect a takeover and raise an alert within a block or two, giving the team a chance to respond quickly.
Test the policy before it reaches production
Signing rules should be tested like application code. sign-guard includes a command-line tool that lets a team run sample requests through a policy file without using the private key. This makes it possible to check which actions would be approved and which would be refused before deploying a change.
npx --package @globalmpc/sign-guard sign-guard check --policy policy.json requests.json
A test run can show an approved policy alongside the specific requests that were refused. For example, the output below identifies a transfer that would exceed its hourly spending limit and a delegation to a contract that has not been approved:
policy is valid; 2 allowed, 2 refused
3. transaction: REFUSED window.exceeded (token:56:0x… would pass its limit of 1500 per 3600000 ms)
4. authorization: REFUSED authorization.delegate-not-allowed (delegating this account to 0x… is not allowed)
The command exits with code 20 when any request is refused. Teams can use that exit code in continuous integration (CI), the automated checks that run when code changes are submitted, to flag policy test results during code review and catch unintended changes before deployment.
What sign-guard does not do
- It does not store or protect the private key by itself. It controls what the key is allowed to sign; the key must still be stored and operated securely.
- It does not audit or verify the behavior of a smart contract. If a policy allows a function, that function can still behave in ways the wallet operator did not expect.
- It does not set or cap gas fees.
- The package currently supports EVM chains through viem. The policy-based approach may be relevant elsewhere, but this package does not provide support for other chain ecosystems.
Try sign-guard
For teams building automated wallets, treasury tools, relayers or other applications that sign transactions, sign-guard provides a way to define what the wallet is allowed to approve and enforce those rules before the key is used. Developers can add the package with:
npm install @globalmpc/sign-guard
Resources:
- npm package: @globalmpc/sign-guard
- Source code, policy reference and refusal rules: globalmpc/rwa-kit-js
- Wallet monitoring: @globalmpc/hot-wallet-watch
- Incident analysis: TRM Labs
A hot wallet should have a clear answer to one question: what is it allowed to sign? With sign-guard, those boundaries can be written down as a policy, tested before deployment and enforced every time the application asks the key to approve an action.
Disclaimer: sign-guard is MIT licensed and published by MPC (Mineral Project Coin), globalmpc.tech, as part of rwa-kit-js, an open toolkit for teams building real-world-asset products on BNB Chain.
MPC Team, globalMPC
November 19, 2026