MAL-2026-14440Malicious code in web-advertising (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
999.9.15 | archived | — | — | VIP 下载 |
999.9.16 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | web-advertising | 999.9.15 |
| npm | web-advertising | 999.9.16 |
{"modified":"2026-08-24T16:51:09Z","published":"2026-08-24T16:38:53Z","schema_version":"1.7.4","id":"MAL-2026-14440","summary":"Malicious code in web-advertising (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bc7c0c1f060691740d5149c61d74f3ddd8f6e10107c7621d700ae0819a1e2237)\nweb-advertising@999.9.16 declares scripts.preinstall = 'node index.js', so index.js executes automatically on npm install. The script collects hostname, username, home directory, local/public/resolver IP addresses, CI environment identifiers (GITHUB_REPOSITORY, GITHUB_ACTOR, CI_PROJECT_PATH, AWS_REGION), the parent project's package.json name/author/repo, and authenticated developer identities obtained by shelling out to `gh api user --jq.login`, `npm whoami`, and `git config user.email`. The collected JSON is hex-encoded, split into 60-character chunks, and exfiltrated via DNS subdomain queries to da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun and via HTTPS/HTTP POST to the same callback host. The package name plus 999.9.16 versioning and the OAST callback are consistent with a dependency-confusion beacon. The README's self-description as authorised research does not change the observed behavior: installer host, CI, and identity data leave the machine to an author-controlled third-party callback with no installer consent, and DNS tunneling is used to bypass egress filtering.\n","affected":[{"package":{"ecosystem":"npm","name":"web-advertising"},"versions":["999.9.15","999.9.16"],"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":"index.js","sha256":"d26774748999a254603092ac1cea09aa31719ebad5fbc3be89f9224e8f2d5abd","tlsh":"ec12c75702f6243013e165682e8784c4776bd517378aebf0b94d47601fee26843b37ea"}],"package_integrity":[{"filename":"web-advertising-999.9.15.tgz","hashes":{"sha1":"ed259c8c7f43e884f9369cbf391ca23199690d5d","sha512_sri":"sha512-tgwDx8ibZ4C0BrevP5hZck9MYBfFpW16IYFfKmAQnAVKgu7yDJgHySnzp59/oGbXHUEt1dcQno4zUK9//IQBCA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/web-advertising/v/999.9.15"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/web-advertising/v/999.9.16"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018628","import_time":"2026-08-24T16:49:13.383451693Z","modified_time":"2026-08-24T16:38:53Z","sha256":"a6fb813ae0ff5bda702a6717b2f648ce16b4603550a9c5b864536f775eaf337c","source":"amazon-inspector","versions":["999.9.15"]},{"id":"IN-MAL-2026-018629","import_time":"2026-08-24T16:49:13.453367787Z","modified_time":"2026-08-24T16:39:05Z","sha256":"bc7c0c1f060691740d5149c61d74f3ddd8f6e10107c7621d700ae0819a1e2237","source":"amazon-inspector","versions":["999.9.16"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0