MAL-2026-14134Malicious code in @mohamed_nowisar/depconf-canary-test (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @mohamed_nowisar/depconf-canary-test | 0.0.1 |
{"modified":"2026-08-18T23:05:52Z","published":"2026-08-18T23:05:52Z","schema_version":"1.7.4","id":"MAL-2026-14134","summary":"Malicious code in @mohamed_nowisar/depconf-canary-test (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (078a8dc3351eb44ee9ff0d5992b9082b726d7fbce0152ae2d44595a9e279ef82)\nOn `npm install`, the package's preinstall hook runs `node beacon.js`, which collects host identity (os.hostname(), os.userInfo().username, process.cwd(), platform, arch, Node version) and CI-detection environment variables (GITLAB_CI, GITHUB_ACTIONS, YANDEX_CI, and others) and POSTs them as JSON to the hardcoded endpoint https://webhook.site/3687e44a-4e97-43c4-84c9-e6c93d4b2fbc. The package name and self-description frame this as a dependency-confusion canary, but the beacon fires automatically on install without opt-in and sends installer-side data to an author-controlled webhook.site collector.\n","affected":[{"package":{"ecosystem":"npm","name":"@mohamed_nowisar/depconf-canary-test"},"versions":["0.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"beacon.js","sha256":"167a36231c590174e7081a5ab2820fde2f87d6a3ce9a004c447afe749dd3f049","tlsh":"463120b9c36848710af507e1b76c2407a67af0763b8679b0b13662447fcc2b9013e1ab"}],"package_integrity":[{"filename":"depconf-canary-test-0.0.1.tgz","hashes":{"sha1":"2fe30f89b365d0aac6c552e60d62a9ee6af15aa8","sha512_sri":"sha512-/Ux9gijFl8yZheojZVcG0QPHC81uMefGX5hhnDS1AAFizsUl051hBIDAhLkNet1uZpjqDYsRGcM/uJRAdulqOQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@mohamed_nowisar/depconf-canary-test/v/0.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018178","import_time":"2026-08-18T23:09:42.036525821Z","modified_time":"2026-08-18T23:05:52Z","sha256":"078a8dc3351eb44ee9ff0d5992b9082b726d7fbce0152ae2d44595a9e279ef82","source":"amazon-inspector","versions":["0.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0