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.
{
"iocs": {
"files": [
{
"digests": {
"sha256": "8efe8250368217f72590dbb9e04380271d1c914b1ad623a84724aa2694e4e1cc"
},
"note": "v0.3.0: Hash-gated routine that decrypts, unpacks and runs the bundled project (lines 113-177); called from tree.go line 103.",
"paths": [
"benchmarks/common.go"
],
"source": "PACKAGE_ARCHIVE"
},
{
"digests": {
"sha256": "17caddf9da71eb7e6e7dddaa5e0470e2786f9c6fc81963f88bb1851722c53e7c"
},
"note": "v0.2.0: Hash-gated routine that decrypts, unpacks and runs the bundled project (lines 113-177); called from tree.go line 103.",
"paths": [
"benchmarks/common.go"
],
"source": "PACKAGE_ARCHIVE"
},
{
"digests": {
"sha256": "1068141618499d17e02eaa51967406991706b99cc5fd01998ffd2e4319fadf31"
},
"note": "v0.3.0: ZIP of 29 AES-256-GCM encrypted Go files that the routine unpacks and runs.",
"paths": [
"benchmarks/cmd/depthchart/main"
],
"source": "PACKAGE_ARCHIVE"
},
{
"digests": {
"sha256": "d8cb181979e14ac17046e107f6bd7fb10f1b148e2078ca663f08232390c23655"
},
"note": "v0.2.0: ZIP of 29 AES-256-GCM encrypted Go files that the routine unpacks and runs; the plaintext is identical to v0.3.0.",
"paths": [
"benchmarks/cmd/depthchart/main"
],
"source": "PACKAGE_ARCHIVE"
}
]
}
}