GoBalance bug lets attackers recover onion service master keys and hijack sites
A flaw in GoBalance allows any attacker to compute the master signing scalar of v3 onion services, enabling address takeover without server access.
Security & privacy Assetnote / Searchlight 8 Oct 2026 Disclosure Real-world evidence
Published as “Leaking the Keys to the Kingdom: How a Single Slip Handed Over a Darknet Empire”
Why it matters
If unpatched, any darknet service using GoBalance can have its onion address hijacked, undermining trust and enabling phishing or extortion.
Summary
The writeup describes a zero-day flaw in GoBalance that truncates the expanded Ed25519 key, making the signing nonce deterministic and publicly computable. By fetching a service descriptor, an attacker can solve a single linear equation and recover the master identity secret scalar, allowing them to sign descriptors for any time period and hijack the onion address. The authors cite real-world takeovers of the Dread darknet forum and multiple marketplaces as evidence, and note that the vulnerability affects all released GoBalance versions but not the original OnionBalance or Tor itself. The analysis is based on public statements, screenshots, and source-code inspection, without independent verification of server compromise or data exfiltration.
What they found 1
- GoBalance truncates the expanded Ed25519 key to 32 bytes, causing the signing nonce to become deterministic and enabling recovery of the master secret scalar.
“esk should hold 64 bytes (a ∥ h). It holds 32 bytes (a only), so the nonce prefix is lost before signing begins.”
Caveats 4
- The flaw does not by itself give access to the site's servers, database or stored user data.
- Attribution relies on public statements and screenshots; claims could not be independently verified.
- The analysis could not confirm whether user data was accessed.
- The attacker would have needed additional steps, such as traffic interception or phishing, to obtain user data.
What’s new here 4
- First public disclosure of a GoBalance zero-day that leaks the master signing scalar of v3 onion services.
- Demonstrated real-world hijacks of the Dread forum and several darknet marketplaces using the flaw.
- Detailed cryptographic analysis showing how truncating the expanded Ed25519 key makes the signing nonce public.
- Clarified that the original OnionBalance and Tor are unaffected, limiting the impact to GoBalance deployments.