Latest from Global MPC
Release

Introducing GlobalMPC's Security Pair

MPC Team, globalMPC7 min read
Hot wallet security on EVM chains, introducing GlobalMPC's security pair.
Hot wallet security on EVM chains, introducing GlobalMPC's security pair.

What if your hot wallet was compromised right now? Would you know?

A compromised hot wallet can continue operating as if nothing happened.

Deposits arrive. Transactions are processed. The system appears healthy.

Meanwhile, someone else may already have control of the wallet.

One delegation lands on a hot wallet. A clock starts. At 3 minutes and 24 seconds, the entire balance streams out.
One delegation lands on a hot wallet. A clock starts. At 3 minutes and 24 seconds, the entire balance streams out.

In October 2026, the crypto industry witnessed a major security incident that demonstrated how quickly unauthorized wallet access can escalate into substantial losses. According to TRM Labs' analysis, the incident involved an attacker exploiting an EIP-7702 authorization to gain control of a wallet, followed by a series of fund transfers.

The incident highlights an important consideration for every team managing digital assets: how quickly can an organization identify an unexpected change in wallet control, and what can it do once that change is detected?

The night on one line. The delegation at 20:20, the main sweep three minutes later, then six more sweeps of fresh deposits until 23:56. With a watcher on this wallet, the alert would have fired one block after the delegation.
The night on one line. The delegation at 20:20, the main sweep three minutes later, then six more sweeps of fresh deposits until 23:56. With a watcher on this wallet, the alert would have fired one block after the delegation.

At MPC, we believe wallet security should be an active, continuous process.

That is why we developed @globalmpc/hot-wallet-watch, an open-source package designed to help developers monitor hot wallets for suspicious on-chain activity and respond to potential compromises in near real time.

The signals are already on the blockchain

Blockchain transactions are transparent by design.

Changes in wallet permissions, account behavior, transaction activity, and balances can provide valuable information about the security of an address.

The challenge is turning that information into timely, actionable alerts.

For developers operating hot wallets, four signals deserve particular attention.

One wallet, four readings. Each one turns red with the name of the alert it raises.
One wallet, four readings. Each one turns red with the name of the alert it raises.

1. Unexpected delegation

EIP-7702 introduces a mechanism that allows externally owned accounts to delegate execution to another address.

This creates new possibilities for account abstraction and transaction design. It also introduces additional considerations for wallet security.

An unexpected delegation may indicate that another contract has gained the ability to execute operations on behalf of the wallet.

Monitoring delegation changes can help teams identify this condition before further activity takes place.

2. Unexpected account code

An externally owned account is generally expected to have no deployed contract code.

If code appears where none was expected, it may indicate a significant change in the account's behavior.

Monitoring this condition provides another signal that something may require immediate investigation.

3. Unexpected transaction activity

A wallet's transaction nonce provides information about its transaction history.

An unexpected increase may indicate that transactions have been signed and broadcast without the team's authorization.

Monitoring nonce changes can help identify activity that does not match the wallet's expected operating pattern.

4. Abnormal outflows

Hot wallets typically have established transaction patterns.

A wallet used for routine withdrawals may have predictable transaction volumes and balance changes.

Monitoring net balance changes against predefined thresholds can help identify abnormal outflows and potential unauthorized fund movements.

These signals provide useful visibility into wallet activity. The challenge is monitoring them consistently and responding before suspicious activity escalates.

Introducing hot-wallet-watch

@globalmpc/hot-wallet-watch is an open-source monitoring package designed to help developers integrate continuous wallet security checks into their existing infrastructure.

The package monitors configured wallet addresses for suspicious activity and generates alerts when predefined security conditions are triggered.

import { createRpc } from "@globalmpc/evm-log-walker";
import { watch } from "@globalmpc/hot-wallet-watch";

await watch({
  endpoints: [RPC_A, RPC_B].map((url) => createRpc({ urls: url, retries: 0, timeoutMs: 5_000 })),
  chainId: 56,
  wallets: [
    {
      address: RELAYER,
      label: "relayer",
      expectedNonce: () => db.countSentTransactions("relayer"),
      outflow: { durationMs: 3_600_000, max: 10n ** 17n },
    },
    {
      address: TREASURY,
      label: "treasury",
      frozen: true,
    },
  ],
  onAlert: async (alert) => {
    await pager.send(alert.severity, alert.message);
    if (alert.severity === "critical") {
      await relayer.pause(alert.wallet?.label);
    }
  },
});

Its core capabilities include:

  • Monitoring EIP-7702 delegation changes
  • Detecting unexpected account code
  • Tracking transaction nonce changes
  • Monitoring abnormal balance outflows
  • Supporting automated alerts and incident-response workflows

The package runs continuously, with a default polling interval of three seconds.

This gives developers a practical way to introduce wallet monitoring without building an entirely new security monitoring system from scratch.

Designed for reliable monitoring

Security monitoring is only as useful as the information it receives.

A monitoring system relying on a single RPC endpoint may encounter delays, inconsistent responses, or service interruptions.

To address this consideration, hot-wallet-watch supports monitoring through multiple independent RPC endpoints.

Three endpoints read the same wallet at the same block. Two see the delegation. The third is lagging and sees a clean account. The verdict is still critical.
Three endpoints read the same wallet at the same block. Two see the delegation. The third is lagging and sees a clean account. The verdict is still critical.

The package compares information from configured providers and evaluates the results against predefined security conditions.

This approach helps reduce dependence on a single infrastructure provider and improves visibility into potential inconsistencies.

For teams operating production wallets, infrastructure reliability is an important part of the overall security architecture.

Get started in one command

Developers can perform a single wallet security check directly from the command line.

npx --package @globalmpc/hot-wallet-watch hot-wallet-watch check \
  --rpc https://bsc-rpc.publicnode.com \
  --rpc https://bsc-dataseed.bnbchain.org \
  --wallet 0xYourHotWallet=relayer
block 130844536, read from endpoint-1, endpoint-2
relayer: delegated to 0x…, nonce 78333459, balance 0 wei
CRITICAL delegated: relayer is delegated to 0x…, which is not an allowed delegate: that contract now controls the wallet

The command checks the configured wallet and reports any detected security conditions.

For example, an unexpected delegation can generate a critical alert identifying the wallet and the address to which it has delegated execution.

The CLI also supports exit codes, making it possible to integrate wallet checks into existing monitoring systems, scheduled jobs, and automated workflows.

For continuous monitoring, developers can use:

hot-wallet-watch watch --config watch.json

The watcher generates structured alerts that can be integrated into existing notification and incident-response infrastructure.

This makes it easier for teams to connect wallet security monitoring with the systems they already use.

From detection to response

Detecting suspicious activity is only the first step.

The next step is having a clear response process.

A monitoring system becomes more valuable when alerts are connected to predefined operational actions.

Depending on the wallet's role and infrastructure, a response workflow may include:

1. Redirect incoming deposits

If a wallet is suspected of being compromised, stopping new deposits from being routed to that address can help limit additional exposure.

This is particularly relevant for wallets that receive deposits continuously.

2. Pause related services

The watcher can be integrated with existing application logic to trigger operational safeguards.

For example, an alert can initiate a pause function for a service that relies on the monitored wallet.

3. Review and restore wallet permissions

Where appropriate, teams may investigate unexpected delegations and initiate the necessary steps to restore the wallet's intended configuration.

MPC's companion package, @globalmpc/sign-guard, provides additional capabilities for managing transaction-signing policies and preparing authorization workflows.

These actions require careful implementation and should be tested against the operational requirements of each wallet.

The objective is to give teams better visibility and more time to respond when suspicious activity occurs.

A complementary approach to wallet security

Monitoring and prevention address different parts of the same security problem.

@globalmpc/hot-wallet-watch focuses on detecting suspicious on-chain activity.

@globalmpc/sign-guard focuses on controlling which transactions a signing system is permitted to authorize.

The latter can enforce predefined transaction policies, including restrictions on unexpected delegations.

Together, these packages provide complementary capabilities:

PackagePrimary function
hot-wallet-watchDetect suspicious wallet activity
sign-guardEnforce transaction-signing policies

This approach allows developers to introduce security controls at different stages of the transaction lifecycle.

Prevention policies can reduce the likelihood of unauthorized transactions being signed, while continuous monitoring provides additional visibility into activity that may require investigation.

No single security mechanism can eliminate every risk. A layered approach can help teams improve their overall security posture.

Understanding the limitations

Hot-wallet-watch is designed to provide monitoring and alerting capabilities.

Its effectiveness depends on the configured polling interval, RPC provider reliability, and the security thresholds established by the operator.

The package does not independently prevent unauthorized transactions or guarantee the recovery of compromised funds.

Outflow monitoring is based on net balance changes between checks, meaning that thresholds should be configured according to the wallet's normal operating patterns.

Delegations explicitly configured as allowed are treated as trusted by the monitoring system.

Understanding these limitations is important when integrating the package into production infrastructure.

Building more resilient wallet infrastructure

As blockchain infrastructure evolves, wallet security practices must continue to adapt.

New account capabilities introduce additional flexibility for developers, while also creating new considerations for transaction authorization and monitoring.

At MPC, we believe open-source infrastructure can help make security tools more accessible to the teams building on-chain applications.

@globalmpc/hot-wallet-watch is part of that effort, providing developers with a practical way to monitor wallet activity and integrate security alerts into their existing workflows.

The package is available under the MIT license.

Explore the packages


Disclaimer: hot-wallet-watch is an open-source package published by MPC (Mineral Project Coin) as part of rwa-kit-js, an open toolkit for teams building real-world-asset products on BNB Chain.

MPC Team, globalMPC

December 2, 2026