MAL-2026-11159Malicious code in toll_free (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | toll_free | 1.0.1 |
| npm | toll_free | 1.0.2 |
{"schema_version":"1.7.4","id":"MAL-2026-11159","published":"2026-07-28T13:15:45Z","modified":"2026-08-13T20:51:22.307735027Z","summary":"Malicious code in toll_free (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (517b4b730525b8edcc11052acd0ad205b63c60f9009f97531df84eea39eaca97)\npackage.json declares both preinstall and postinstall lifecycle hooks that run curl against a hardcoded webhook.site endpoint, sending the installer's username ($(whoami)), hostname ($(hostname)), current working directory ($PWD), and timestamp as query parameters. This fires automatically on `npm install`, before any code the installer intended to run. webhook.site is a third-party HTTP inspection service used to collect arbitrary request data; the specific endpoint ID is controlled by whoever created it. There is no legitimate functionality shipped with the package that would explain this beacon.\n\n## Source: ossf-package-analysis (c9425400cf10e0c56db46cd60b243224e5a7c2b63b89f4a97063346bbcc79966)\nThe OpenSSF Package Analysis project identified 'toll_free' @ 1.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"name":"toll_free","ecosystem":"npm"},"versions":["1.0.1","1.0.2"],"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":{"evidence_files":[{"path":"package.json","sha256":"43e8d6411cb9a401289d3def9d794e3f8f30db01776602486953b0603438fe17","tlsh":"4af0e172582974337ec685541f4d862e7910bf2b8501f4452723e82411dca6b597a327"}],"package_integrity":[{"filename":"toll_free-1.0.1.tgz","hashes":{"sha1":"2e97d18c35e0f496736295857e5c28e316b2287a","sha512_sri":"sha512-wFjOUle1xT8TAn6ofki4mFfgCFH/loKeubBse+cWfsepLnKvLjR7s8h8WKDLEzGnvboxJyAXpRRrd7ufc/E03w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/toll_free/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/toll_free/v/1.0.2"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-29T03:10:38.934632011Z","modified_time":"2026-07-28T13:15:45Z","sha256":"c9425400cf10e0c56db46cd60b243224e5a7c2b63b89f4a97063346bbcc79966","source":"ossf-package-analysis","versions":["1.0.1"]},{"id":"IN-MAL-2026-011127","import_time":"2026-08-04T22:30:00.58475644Z","modified_time":"2026-08-04T21:36:24Z","sha256":"80914891625809e622f8383e3d7f39792cc850a57dba2d68f831ada91cfd5871","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-017670","import_time":"2026-08-13T20:49:27.691396595Z","modified_time":"2026-08-13T20:46:01Z","sha256":"517b4b730525b8edcc11052acd0ad205b63c60f9009f97531df84eea39eaca97","source":"amazon-inspector","versions":["1.0.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0