MAL-2026-4249

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/truffle-config-helper/MAL-2026-4249.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4249
Aliases
  • GHSA-q8c8-9p2m-f4v7
Published
2026-05-20T01:03:48Z
Modified
2026-05-26T06:03:00.631985685Z
Summary
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-05-22T03:24:54.643232439Z",
            "id": "GHSA-q8c8-9p2m-f4v7",
            "source": "ghsa-malware",
            "sha256": "115a1b8afe0978034a9565602f9953e5d0c0aef608a6e13ec74b3f812768da57",
            "modified_time": "2026-05-22T02:43:00Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "import_time": "2026-05-26T05:50:27.030347742Z",
            "versions": [
                "1.7.0"
            ],
            "sha256": "2204d3386cd8473771610640812df94a0c65c5482027bd7a59282398d38e73db",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T01:03:48Z",
            "id": "IN-MAL-2026-003337"
        }
    ]
}
References
Credits

Affected packages

npm / truffle-config-helper

Package

Name
truffle-config-helper
View open source insights on deps.dev
Purl
pkg:npm/truffle-config-helper

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.0

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "ad01446de5281c7300c405864c1e918870238c270640790c738bc00dc3cf3f346fe86e",
            "sha256": "fd1dee30a09841314c7ea22a5843c27f29bc1231f8580ba8fbab7bcf5185fb81",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-MnVpSXd5f80psU1XkUxlbQ+x/j54qlGnGaMfahITScPrORrPLyjsP8S1I1A6FVQUllnDYA+kXlTi4l1Ex5GfLg==",
                "sha1": "8a2bb1d605d19faee089a9d3a938a212ea66f530"
            },
            "filename": "truffle-config-helper-1.7.0.tgz"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/truffle-config-helper/MAL-2026-4249.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]