Habr•September 23, 2026•🇷🇺Translated from Russian

Monero Web Wallet Built on Official monero-wallet-rpc Adds Digest Authentication, Two-Phase Transfers and BigInt Precision

A developer published a detailed account of building a Monero web wallet that relies exclusively on the official monero-wallet-rpc daemon. The goal was to obtain a convenient browser-based interface while keeping every private key on the user's own machine and directing all traffic to a self-hosted node.

All cryptographic operations remained inside the trusted RPC process. The custom layer consisted of a Node.JS backend, a web frontend and the supporting infrastructure required to make the service usable in a browser.

One of the first obstacles was HTTP Digest authentication. The developer discovered that the authentication state is bound to the underlying TCP connection, which created unexpected failures when proxies or load balancers were introduced.

To mitigate broadcast risks, a two-phase submission flow was implemented. The first phase creates and signs the transaction; the second phase performs the actual broadcast only after the user has confirmed the details.

Monetary amounts proved especially fragile. The author found that JSON.stringify silently truncates precision for numbers exceeding JavaScript's safe integer range, leading to incorrect balances and failed transfers.

The fix replaced all floating-point and native Number usage with BigInt arithmetic, ensuring that every Monero denomination is handled exactly without rounding errors.

The article lists eight such engineering pitfalls and the concrete work-arounds adopted, providing a practical reference for anyone integrating monero-wallet-rpc into a web application.

Related articles

Habr•Crypto & Financial Crime

Lazarus Group Behind Record $6.3 Billion Binance Hot Wallet Theft: Anatomy and Cassandra Index Impact

Binance reported on October 29, 2026, that attackers stole approximately $6.3 billion in digital assets from its hot wallets, surpassing the previous record of $1.5 billion taken from Bybit in February 2025. The FBI attributed the breach to the TraderTraitor group, widely identified as the North Korean Lazarus Group, which has a history of high-profile operations including the 2014 Sony Pictures attack. The stolen tokens are being converted to Ethereum and laundered through decentralized finance platforms and instant exchangers. Binance covered 90 percent of losses using its SAFU fund, futures insurance reserves, and corporate treasury totaling around $6.34 billion, though this represents replacement of assets rather than recovery from the attackers. Blockchain analysis by TRM Labs linked the operation to prior campaigns against Bybit and KelpDAO through timing patterns and preparatory withdrawals via Tornado Cash. The incident contributed 2.3 percentage points to the Cassandra Index rise to 72, with the largest regional impact observed in East Asia.

BoletimSec•Crypto & Financial Crime

Binance Confirms Record $6.3 Billion Crypto Theft via Compromised Hot Wallet and EIP-7702

Binance reported on October 30, 2026 that attackers stole approximately 6.3 billion dollars in cryptocurrency, equivalent to roughly 34 billion reais, marking the largest theft in the sector. The unauthorized transfers occurred on October 29 and were completed in about 20 minutes after the attacker compromised the system authorizing withdrawals. According to TRM Labs, the intruder leveraged Ethereum's EIP-7702 feature to seize control of a hot wallet following at least 36 hours of preparation. Initial reports pointed to a compromised DevOps engineer's laptop as the entry point, but the exchange later stated the incident involved multiple factors and was not a single-click action. Roughly 3 billion dollars have been traced, with Tether freezing over 1.57 billion USDT and Circle blocking more than 800 million USDC. Binance has committed to covering all losses through its SAFU fund and internal capital while cooperating with the FBI and U.S. Secret Service. Attribution remains disputed, with TRM Labs and Chainalysis linking the operation to the TraderTraitor group connected to Lazarus, though Binance has not confirmed the perpetrators.

Securitylab•Crypto & Financial Crime

EIP-7702 Explained: How Ethereum's New Signature Standard Enables Persistent Wallet Delegation Attacks

EIP-7702, activated in May 2025 as part of the Pectra upgrade, allows Externally Owned Accounts to delegate execution to smart contract code while retaining their original address and private key. The mechanism introduces powerful features such as batch operations, gas sponsorship, and limited permissions, but also creates new attack surfaces when users sign malicious delegations. Attackers exploit social engineering to obtain EIP-7702 authorizations that install sweeper contracts capable of draining ETH, ERC-20 tokens, and NFTs without further signatures. Unlike ERC-20 approvals, the delegation persists on-chain until explicitly revoked and can affect future incoming funds across multiple networks when chain_id is set to zero. Research from 2026 identified over 900 malicious delegated accounts linked to more than $2.3 million in confirmed losses. The standard itself is not inherently vulnerable; risk stems from unsafe contract implementations and user errors when signing authorizations. Users are advised to verify delegations via Etherscan or eth_getCode and revoke them through trusted wallet interfaces when necessary.

Habr•Crypto & Financial Crime

Binance Ethereum Hot Wallets Drained of Over $5.5 Billion via EIP-7702 Delegation Attack

On October 29, attackers drained between $2.5 and $3.5 billion in ETH and tokens from Binance hot wallets on Ethereum within 40 minutes, with the total including Bitcoin and Tron reaching at least $5.57 billion according to Decrypt. The attacker did not steal private keys directly but instead used EIP-7702 to delegate execution code from a malicious contract to Binance 14, allowing a single sweep call to transfer all assets. Tether and Circle froze roughly $2.5 billion in USDT and USDC within the first hours, while Binance stated user funds remain secure and investigations continue. Blockchain analysis reveals 18 hours of preparation including three test runs on external wallets funded via Tornado Cash, followed by the main delegation and sweep in just over three minutes. The attack shares strong operational similarities with previous incidents attributed to TraderTraitor, a Lazarus subgroup, including gas funding patterns, test sweeps, and the use of a sweep function. ETH was moved first to an address that has not yet dispersed funds, while stablecoins were fragmented across new wallets before partial freezes took effect.