Back to Blog

Erstmalige Analyse des bZx-Sicherheitsvorfalls

Code Auditing
November 6, 2021

Am 5. November wurde das bZX-Protokoll gehackt. Der Angreifer entnahm Token aus den betroffenen Smart Contracts. Nach der ersten Analyse der Angriffstransaktionen vermuten wir, dass dies auf den kompromittierten privaten Schlüssel des Entwicklers zurückzuführen ist.

Angriffsprozess

Der Prozess ist im Grunde einfach. Die privilegierte Funktion transferOwnership wird aufgerufen, um das Eigentum des betroffenen Smart Contracts an einen neuen zu übertragen, z.B. an 0x0acc0e5faa09cb1976237c3a9af3d3d4b2f35fa5. Dann kann der neue Contract-Owner alle Token, die dem Smart Contract zugewiesen wurden, an beliebige Adressen übertragen.

Beachten Sie, dass die privilegierte Funktion transferOwnership nur vom aktuellen Eigentümer des Smart Contracts aufgerufen werden kann. Tatsächlich stellen wir fest, dass der Aufrufer dieser Funktion 0xb7f72028d9b502dc871c444363a7ac5a52546608 ist, der Contract-Creator des betroffenen Smart Contracts.

Wir kennen nicht den genauen Grund, warum der Contract-Creator das Eigentum an andere Adressen überträgt. Wir vermuten jedoch, dass dies auf den kompromittierten (oder geleakten) privaten Schlüssel des Entwicklers zurückzuführen ist.

Fazit

Zusammenfassend lässt sich sagen, dass die Sicherheit des privaten Schlüssels von DApps für die Sicherheit der Anwendung unerlässlich ist, insbesondere für diejenigen, die keine DAO verwenden. Wir schlagen vor, dass der Projektinhaber neue Techniken wie Confidential Computing und MPC verwenden kann, um den privaten Schlüssel zu sichern.

Über BlockSec

BlockSec ist ein wegweisendes Blockchain-Sicherheitsunternehmen, das 2021 von einer Gruppe weltweit renommierter Sicherheitsexperten gegründet wurde. Das Unternehmen engagiert sich für die Verbesserung der Sicherheit und Benutzerfreundlichkeit für die aufstrebende Web3-Welt, um deren Massenadoption zu erleichtern. Zu diesem Zweck bietet BlockSec Smart Contract und EVM Chain Sicherheitsaudits, die Phalcon Plattform für die Sicherheitsentwicklung und proaktive Bedrohungsabwehr, die MetaSleuth Plattform für die Verfolgung von Geldern und Ermittlungen sowie die MetaSuites Erweiterung für Web3-Entwickler, um effizient in der Krypto-Welt zu surfen.

Bis heute hat das Unternehmen über 300 geschätzte Kunden wie MetaMask, Uniswap Foundation, Compound, Forta und PancakeSwap betreut und in zwei Finanzierungsrunden zweistellige Millionenbeträge von namhaften Investoren erhalten, darunter Matrix Partners, Vitalbridge Capital und Fenbushi Capital.

Offizielle Website: https://blocksec.com/

Offizielles Twitter-Konto: https://twitter.com/BlockSecTeam

Sign up for the latest updates
~$15.9M Lost: Trusted Volumes & More | BlockSec Weekly
Security Insights

~$15.9M Lost: Trusted Volumes & More | BlockSec Weekly

This BlockSec bi-weekly security report covers 11 notable attack incidents identified between April 27 and May 10, 2026, across Sui, Ethereum, BNB Chain, Base, Blast, and Berachain, with total estimated losses of approximately $15.9M. Three incidents are analyzed in detail: the highlighted $1.14M Aftermath Finance exploit on Sui, where a signed/unsigned semantic mismatch in the builder-fee validation allowed an attacker to inject a negative fee that was converted into positive collateral during settlement; the $5.87M Trusted Volumes RFQ authorization mismatch on Ethereum; and the $5.7M Wasabi Protocol infrastructure-to-contract-control compromise across multiple EVM chains.

Newsletter - April 2026
Security Insights

Newsletter - April 2026

In April 2026, the DeFi ecosystem experienced three major security incidents. KelpDAO lost ~$290M due to an insecure 1-of-1 DVN bridge configuration exploited via RPC infrastructure compromise, Drift Protocol suffered ~$285M from a multisig governance takeover leveraging Solana's durable nonce mechanism, and Rhea Finance incurred ~$18.4M following a business logic flaw in its margin-trading module that allowed circular swap path manipulatio

~$7.04M Lost: GiddyDefi, Volo Vault & More | BlockSec Weekly
Security Insights

~$7.04M Lost: GiddyDefi, Volo Vault & More | BlockSec Weekly

This BlockSec weekly security report covers eight attack incidents detected between April 20 and April 26, 2026, across Ethereum, Avalanche, Sui, Base, HyperLiquid, and MegaETH, with total estimated losses of approximately $7.04M. The highlighted incident is the $1.3M GiddyDefi exploit, where the attacker did not break any cryptography or use a flash loan but simply replayed an existing on-chain EIP-712 signature with the unsigned `aggregator` and `fromToken` fields swapped out for a malicious contract, demonstrating how partial signature coverage turns any historical signature into a generic permit. Other incidents include a $3.5M Volo Vault operator key compromise on Sui, a $1.5M Purrlend privileged-role takeover, a $413K SingularityFinance oracle misconfiguration, a $142.7K Scallop cross-pool index injection, a $72.35K Kipseli Router decimal mismatch, a $50.7K REVLoans (Juicebox) accounting pollution, and a $64K Custom Rebalancer arbitrary-call exploit.

Best Security Auditor for Web3

Validate design, code, and business logic before launch. Aligned with the highest industry security standards.

BlockSec Audit