{"id":"MAL-2026-4239","summary":"Malicious code in etherjs-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (335b4f699510e2bb1171a9137655f6977d5554f508e612eab97b4239c1249be1)\npackage.json declares a postinstall script that performs an HTTPS GET to an ephemeral pinggy-free.link tunnel URL (rqnyz-2605-7280-7--2000-c51.run.pinggy-free.link/npm/-/binary/telemetry), concatenates the response body, and passes it directly to child_process.exec. This runs unattended during `npm install` and grants the URL operator arbitrary code execution on every installer's machine. The package's only library code (index.js) is a 156-byte stub re-exporting a thin wrapper around ethers' JsonRpcProvider; the package name 'etherjs-utils' lures users of the popular ethers.js library. The destination is a mutable, anonymous tunnel host with no relationship to any legitimate publisher, no version pinning, and no integrity check on the executed bytes.\n\n## Source: ghsa-malware (880d641080f3f7bfe4bdafac6a23d8d1cb25a4ade472a219b5081ce72a6c3ed8)\nAny 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.\n","aliases":["GHSA-3c7w-4xp2-7963"],"modified":"2026-05-26T06:02:30.387620025Z","published":"2026-05-20T00:46:31Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"modified_time":"2026-05-22T02:43:00Z","import_time":"2026-05-22T03:24:54.623210718Z","id":"GHSA-3c7w-4xp2-7963","sha256":"880d641080f3f7bfe4bdafac6a23d8d1cb25a4ade472a219b5081ce72a6c3ed8","source":"ghsa-malware"},{"versions":["1.0.39"],"modified_time":"2026-05-20T00:46:31Z","import_time":"2026-05-26T05:50:25.729963067Z","id":"IN-MAL-2026-003325","sha256":"335b4f699510e2bb1171a9137655f6977d5554f508e612eab97b4239c1249be1","source":"amazon-inspector"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3c7w-4xp2-7963"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/etherjs-utils/v/1.0.39"}],"affected":[{"package":{"name":"etherjs-utils","ecosystem":"npm","purl":"pkg:npm/etherjs-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.39"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-YIAvoAqPt8tQHBXvgz5h851TzzGSTf2vbaMvDmCLY7tnULUoRHFqYdPJvTuBCwLZ60nnwQ9Os7SjVJv8faZi8Q==","sha1":"2798a681fc8a3c9e539d56c0446153ec59c2164e"},"filename":"etherjs-utils-1.0.39.tgz"}],"evidence_files":[{"tlsh":"98014e65a8286c2354cc0a951c1eb08db0a34c0308807908778f844fd39f3ff80fe55e","sha256":"f2db4cc1c25db7efef45720dfeceb6e5f206d3f3eb008d91bf44e22ae0f05983","path":"package.json"},{"sha256":"edc0bf759374d9567e9ed4ac6aa577f8f074a8eaa2c4b7b2e35f7b7632b53a2b","path":"index.js","tlsh":"25c080e053480255751d7b4975445761f4d5c5202464a092911d54df8447d54135d460"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/etherjs-utils/MAL-2026-4239.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}