BitsLab (@0xbitslab) header
BitsLab (@0xbitslab) profile picture

Securing and Building EMERGING Web3 Ecosystems 🛡️Sub-brand: @MoveBit_ | @ScaleBit_ | @TonBit_

Joined July 2024
BitsLab retweeted
🚨 Sui just added second-level transaction expiration: cutting down the risk of malicious RPCs delaying your transactions. Picture this: you sign a transaction and send it to an RPC node. Instead of broadcasting it right away, the node sits on it, waiting for prices or on-chain states to move before pushing it through. As long as it hasn't expired, it still executes—even if the market conditions you signed for are completely gone. That’s why this upgrade matters. Until now, Sui transaction expiration was tied to Epochs. Because Epochs are coarse-grained, devs couldn't set a transaction to expire in seconds or minutes. That gave malicious RPCs or slow relayers a window to hold onto signed transactions and rebroadcast them when the market turned against you—a massive risk in DeFi. @SuiNetwork fixes this with two new second-precision Unix timestamp parameters: 🔹 min_timestamp: The earliest time a tx can execute. 🔹 max_timestamp: The exact cutoff when a tx expires. Validators enforce this window strictly: submit too early and it waits; submit past max_timestamp and it fails with TransactionExpired. Even if an RPC withholds your tx, it becomes useless once that clock runs out. 🔵 What this means for Sui security: 1️⃣ Smaller attack window: Malicious nodes have far less time to sit on signed transactions and execute them under stale prices. 2️⃣ Granular lifecycle control: Wallets, relayers, and dApps can finally manage tx expiration precisely instead of relying on broad Epoch boundaries. One catch: second-level expiration controls when a tx expires, not under what conditions it executes. An RPC can still delay a tx inside that window, and it won't protect you from bad execution prices on its own. Replay protection, slippage limits, and strict on-chain state checks are still a must. 💡 MoveBit’s Take: Signing a transaction doesn't mean instant on-chain inclusion. RPC behavior, relayers, and network latency all affect when your tx actually lands. For Sui builders, tx expiration shouldn't be an afterthought—it’s a core security primitive. Keeping users safe means blocking not just unauthorized transactions, but stale ones that should never have executed in the first place. 🔗 Release notes: github.com/MystenLabs/sui/re…
3
4
23
5,069
BitsLab retweeted
【🚨 Security Alert】Fusionist ACE Bridge Exploited for 💸 ~$5.7M On November 22, Web3 gaming project @fusionistio suffered an exploit targeting its ACE cross-chain bridge, resulting in approximately $5.7 million in total losses. The attacker compromised a privileged Bridge Minter role to mint massive amounts of unbacked ACE tokens on @BNBCHAIN , dumping them on DEXs for roughly 💵$2 million. The bleeding didn't stop there. As ACE's price crashed on BNB Chain, the bridge to Endurance remained active. Arbitrageurs quickly capitalized on the price discrepancy — buying up the heavily discounted tokens on BNB Chain and bridging them to Endurance to drain another $3.7 million in legitimate ACE. This incident exposes two critical security gaps: 🔵 Unchecked Minting Privileges: A single privileged account was able to mint unbacked tokens without reserve verification. 🔵 Lack of Cross-Chain Circuit Breakers: The bridge continued processing transfers despite extreme price dislocation, allowing secondary arbitrage to compound the losses. Cross-chain bridges must go beyond basic transaction validation. They require continuous cross-chain reserve verification alongside automated monitoring and circuit breakers for abnormal minting, price depegs, and liquidity imbalances. How did a single compromised key trigger two waves of losses? 🛡️@scalebit_ continues to monitor cross-chain security, helping projects fortify their access controls, asset-mapping logic, and cross-chain verification mechanisms.
1
4
6
2,248
BitsLab retweeted
【🚨Security Alert】Malicious JavaScript Injected Across 178 Organizations: Optimizely Third-Party Script Supply Chain Attack 📅 On Nov 17, attackers exploited a registration flaw in Optimizely to inject malicious JS (track.js) into 178 major sites—including Ledger, Zoom, BBC, CNN, Salesforce, GitLab, IKEA, and HSBC. 🕹️ Attack Vector: Threat actors abused an Optimizely Experimentation sign-up flaw to hijack customer Project JavaScript fields. Because affected sites natively load Optimizely scripts, the payload bypassed server defenses and executed directly in users' browsers. 🧰 Payload Capabilities: 1. Crypto Clipper: Swaps BTC, ETH, TRON, SOL, and TON wallet addresses on pages, in forms, and in the clipboard. 2. Data Theft: Steals credit card info, non-HttpOnly cookies, URLs, and screenshots. 3. iOS Exploits: Delivers Coruna/DarkSword exploits based on iOS version (full compromise unconfirmed). 🧲 Impact & Status: 188 of 1,611 analyzed scripts were compromised. Attacker addresses received ~$7,040 in crypto as of Nov 16 (full impact unconfirmed). Optimizely has patched the flaw, purged the code, and revoked compromised sessions. 💡 Security Takeaway: Audited smart contracts ≠ a secure dApp. If third-party JS gets execution rights, it can hijack front-end transactions and drain users. Teams must enforce SRI (Subresource Integrity), strict CSP, and monitor outbound requests. Security must cover off-chain scripts and SDKs—a core focus of BitsLab's application-layer research.
4
11
3,295
【🚨Security Alert】Malicious JavaScript Injected Across 178 Organizations: Optimizely Third-Party Script Supply Chain Attack 📅 On Nov 17, attackers exploited a registration flaw in Optimizely to inject malicious JS (track.js) into 178 major sites—including Ledger, Zoom, BBC, CNN, Salesforce, GitLab, IKEA, and HSBC. 🕹️ Attack Vector: Threat actors abused an Optimizely Experimentation sign-up flaw to hijack customer Project JavaScript fields. Because affected sites natively load Optimizely scripts, the payload bypassed server defenses and executed directly in users' browsers. 🧰 Payload Capabilities: 1. Crypto Clipper: Swaps BTC, ETH, TRON, SOL, and TON wallet addresses on pages, in forms, and in the clipboard. 2. Data Theft: Steals credit card info, non-HttpOnly cookies, URLs, and screenshots. 3. iOS Exploits: Delivers Coruna/DarkSword exploits based on iOS version (full compromise unconfirmed). 🧲 Impact & Status: 188 of 1,611 analyzed scripts were compromised. Attacker addresses received ~$7,040 in crypto as of Nov 16 (full impact unconfirmed). Optimizely has patched the flaw, purged the code, and revoked compromised sessions. 💡 Security Takeaway: Audited smart contracts ≠ a secure dApp. If third-party JS gets execution rights, it can hijack front-end transactions and drain users. Teams must enforce SRI (Subresource Integrity), strict CSP, and monitor outbound requests. Security must cover off-chain scripts and SDKs—a core focus of BitsLab's application-layer research.
4
11
3,295
BitsLab retweeted
🧲 Sui Devnet Fixes Two Cryptographic Issues On November 9, Mysten Labs released Sui Devnet v1.84.0, bumping the protocol version to 142. Two changes merit close attention: a fix for an integer overflow during ECDSA public key recovery, and stricter validation for Groth16 zero-knowledge proof verification keys. Why should builders care about low-level protocol updates? Because the security of the Move ecosystem isn't solely defined by smart contract code. When utilizing features like signature verification and ZK-proofs, developers inherently rely on the chain's underlying cryptographic primitives. If these primitives mishandle malformed inputs, those risks can propagate straight into upper-layer applications. 🔋 1. ECDSA Public Key Recovery: Overflow Cannot Be Ignored The bug resided in the secp256r1_ecrecover function. During the calculation of r + n, if the result exceeded the bounds of a 256-bit integer, the legacy logic would suffer a numerical wrap-around, ultimately outputting an incorrect public key. The fix is straightforward: the protocol now halts execution immediately upon detecting an overflow, abandoning the flawed result rather than proceeding with it. 🔋 2. Groth16: Verifying Keys Need Strict Length Checks Groth16 is a widely used ZK-proof verification scheme. During verification, the number of elements in the key's vk_gamma_abc must precisely match the count of public inputs. Previously, this logic lacked rigorous length checks. This update introduces strict validation: if the counts mismatch, the protocol throws an EInvalidVerifyingKey error, explicitly rejecting invalid keys upfront. What Does This Mean for Move Developers? Neither issue is structurally complex—one is an integer overflow, the other an array length mismatch. Yet, they serve as a reminder that security flaws don't always stem from sophisticated attack vectors; sometimes, they're simply the result of poor edge-case input handling. For Move developers and security auditors, looking beyond contract permissions, state changes, and business logic is no longer enough. You must also scrutinize input validation, boundary handling, and error propagation in underlying crypto primitives. This is why MoveBit continuously tracks core infrastructure shifts across Move-based ecosystems like Sui and Aptos : a genuinely comprehensive security audit evaluates not just what your contract writes, but whether the underlying capabilities it relies on are bulletproof. Note: These updates pertain strictly to Sui Devnet v1.84.0. They do not constitute a Sui Mainnet upgrade, nor do they indicate any actively exploited vulnerabilities.
3
6
95
9,372
BitsLab retweeted
🚨 Security Alert On Nov 9, Ankr’s Ethereum bridge was exploited for 💸 ~$304,500. An attacker reused a past Optimism deposit to forge 5 withdrawal proofs, calling withdraw() to drain: 🔺 82.91 ankrETH 🔺 515,206 ankrPOL 🔺 ~7.98M ANKR 🔺 5,372 aPOLb 🔺 0.8196 aETHb
1
6
8
1,319
BitsLab retweeted
【🚨Security Alert】Keplr Social Login Key Leak & Web3Auth Incident An infrastructure vulnerability at Web3Auth led to private key exposure for certain Keplr embedded wallets created via Google/Apple social logins. On Nov 7, Keplr suspended social login functionality. 💸 Impact: ~44k Cosmos and 7.6k Injective addresses affected.~$6.01M in on-chain asset migration observed. ~1.96M staked ATOM were converted via the Liquid Staking Module (LSM) to bypass the 21-day unbonding period. 🧲 Status: On Nov 8, Web3Auth confirmed that part of the migrated funds belong to white-hat recovery wallets; exact theft amount is still pending. ⛵️ Root Cause: Issue originated in Web3Auth's third-party key management infrastructure, not Keplr smart contracts. Exact exploit vector remains under investigation. 🧰 Action Required: If you use social logins on Keplr, check your account, avoid further deposits, and migrate remaining assets to a new mnemonic or hardware wallet. Seed-phrase and hardware wallets are not affected. Watch out for phishing recovery links. BitsLab Security Takeaway: Wallet security extends beyond smart-contract audits. Third-party auth, key management, and signing infrastructure are critical attack surfaces. BitsLab recommends auditing the entire wallet security stack.
5
4
1
8
3,946
【🚨Security Alert】Keplr Social Login Key Leak & Web3Auth Incident An infrastructure vulnerability at Web3Auth led to private key exposure for certain Keplr embedded wallets created via Google/Apple social logins. On Nov 7, Keplr suspended social login functionality. 💸 Impact: ~44k Cosmos and 7.6k Injective addresses affected.~$6.01M in on-chain asset migration observed. ~1.96M staked ATOM were converted via the Liquid Staking Module (LSM) to bypass the 21-day unbonding period. 🧲 Status: On Nov 8, Web3Auth confirmed that part of the migrated funds belong to white-hat recovery wallets; exact theft amount is still pending. ⛵️ Root Cause: Issue originated in Web3Auth's third-party key management infrastructure, not Keplr smart contracts. Exact exploit vector remains under investigation. 🧰 Action Required: If you use social logins on Keplr, check your account, avoid further deposits, and migrate remaining assets to a new mnemonic or hardware wallet. Seed-phrase and hardware wallets are not affected. Watch out for phishing recovery links. BitsLab Security Takeaway: Wallet security extends beyond smart-contract audits. Third-party auth, key management, and signing infrastructure are critical attack surfaces. BitsLab recommends auditing the entire wallet security stack.
5
4
1
8
3,946
BitsLab retweeted
Why Upgrading a Package Does Not Eliminate Legacy Security Risks?
2
1
132
11,567
BitsLab retweeted
🚨【Security Alert】~550k USDT Drained in TENDRIL Flash Liquidity Attack on BSC An attacker exploited TENDRIL’s internal call logic to manipulate PancakeSwap V2 reserves, draining 💸 ~550,000 USDT from the TENDRIL/USDT pool on BNB Chain. Here's the info👇
2
7
10
1,638
💧Sui Move Security: Why Legacy Packages Can Still Put Shared Objects at Risk After an Upgrade?
1
4
5,506