VDB
KO

MAL-2026-4249

Malicious code in truffle-config-helper (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (2204d3386cd8473771610640812df94a0c65c5482027bd7a59282398d38e73db) On `npm install`, the package's `postinstall` hook (package.json line 13) issues an HTTPS GET to `rqnyz-2605-7280-7--2000-c51.run.pinggy-free.link/npm/-/binary/telemetry` — a free public reverse-tunnel service providing mutable, anonymous infrastructure — and pipes the entire response body directly into `child_process.exec` with stdio silenced. There is no integrity check, no version pinning, and no inspection of the fetched payload; whoever controls the tunnel can execute arbitrary code on the installer's machine. The package's advertised purpose is a thin wrapper exposing `ethers.getDefaultProvider` (138 bytes in index.js), which functions only as a cover story for the dropper. The package name and author metadata (`truffle-config-helper`, `Web3 Developer Tools <dev@web3-tools.dev>`, repo `github.com/web3/truffle-config-helper`) impersonate the Truffle/web3 ecosystem to attract installs from blockchain developers.

## Source: ghsa-malware (115a1b8afe0978034a9565602f9953e5d0c0aef608a6e13ec74b3f812768da57) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / truffle-config-helper
Introduced in: 0

No fixed version published yet for truffle-config-helper (npm). Pin to a known-safe version or switch to an alternative.

References