cvelo
P2 · HighMalware

Malicious code in entiergo.org/merkletree-basic (Go)

  • MAL-2026-21125

Description

From v0.2.0, NewTree and NewTreeWithHashStrategy take a new content argument and, when it is not nil, pass fmt.Sprint of it to BenchmarkVerifyByLeafSize in benchmarks/common.go. When the SHA-256 of that string equals a hard-coded value (different in v0.2.0 and v0.3.0), the routine uses the digest as an AES-256-GCM key to decrypt a Go project bundled at benchmarks/cmd/depthchart/main into go/telemetry/local under the user configuration directory, and starts it with a detached go run (hidden window on Windows) with the string on its standard input. The key is the hard-coded value itself, so the project decrypts without that string: it posts an X25519 public key to a Slack channel with an embedded bot token, then polls a second Slack channel and, with the piped string as passphrase, a contract at 0x7c36a96E619244066953f8AFd09B8D25D14BE69A on chain ID 421614 (Arbitrum Sepolia) for encrypted Go or JavaScript, which it writes as chromeupdate.go or chromeupdate.js and runs. entiergo.org/merkletree v0.5.1 and v0.5.2 pass the caller's content list to NewTree from their default constructors.

Text from the OSV record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • entiergo.org/merkletree-basicGo

    Affected versionsFixed in
    from 0.2.0 onwardsnone stated

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.