{"schema_version":"1.9.0","id":"MAL-2026-18276","published":"2026-10-25T04:52:18Z","modified":"2026-10-26T06:45:15.036044270Z","summary":"Malicious code in @drone-js-ext/core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9173b1e0c1d01cafb58dfbcad8b59a50f49700cc911e22df2787f5a92b4c6e43)\nThe package ships a `beacon.cjs` that collects host identifiers (hostname, install path, current working directory, Node version) and POSTs them in cleartext to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc. This beacon is wired to run automatically in two places: `package.json` declares `scripts.postinstall = \"node beacon.cjs\"`, so it executes on `npm install`, and `index.js` also invokes the same `fire()` function at module load, so it executes again on `require()`. The remainder of the package is a no-op Proxy shim with no functional code matching the stated `Compatibility shim` description. The scope-and-version shape (`@drone-js-ext/core` at version 99.0.1 against a plausibly internal `@drone-js-ext/*` namespace) matches a dependency-confusion lure designed to be resolved in place of a private internal package. A README self-label of `dependency-confusion test` does not change the behavior: any installer that resolves this package has host-identifying data sent to a non-vendor, non-registry, bare-IP, plaintext-HTTP collector controlled by a third party.\n","affected":[{"package":{"name":"@drone-js-ext/core","ecosystem":"npm","purl":"pkg:npm/%40drone-js-ext/core"},"versions":["99.0.1","1.0.0","3.0.0","2.0.1"],"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"beacon.cjs","sha256":"536400306df71e064363b6792a44b6e46f2821cda56fdbbc6bb2c2558b08d974","tlsh":"893161eba8e4a0089ea77498c54f0409f17af4068401ab50fd5c82919f6153c33fa8dc"},{"path":"package.json","sha256":"eeaaf7fb2af2102c7fb0f3e5cbc141bd3d7f23ba2d8d10b53f6c0f33aa8632e7","tlsh":"edd05e2099205e2368c96ee20d766a0a55b20dab05547c1437d7505c46acb3725fe27d"}],"package_integrity":[{"filename":"core-99.0.1.tgz","hashes":{"sha1":"e6e89fb4d23a3c7247635ef80de9947e81d62ea4","sha512_sri":"sha512-ULkr+8j6oaBB3nG4FVAyKiVue1jVwpPhTynNNpSWw2ziHzlc0TKh+IGiwZ7DXQ67HtAygumtciUc37VuoqgV4A=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@drone-js-ext/core/MAL-2026-18276.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@drone-js-ext/core/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@drone-js-ext/core"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@drone-js-ext/core/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@drone-js-ext/core/v/2.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@drone-js-ext/core/v/1.0.0"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"},"note":"Main entry point; calls beacon.cjs fire() on import and exports a no-op Proxy. Identical in all listed versions and in ph-common (MAL-2026-1809).","paths":["index.js"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"48500d618e28ef3d746095a6652aee2c0f08397f1c7ad02cf26c7c2cd6df507d"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@drone-js-ext/core@1.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"536400306df71e064363b6792a44b6e46f2821cda56fdbbc6bb2c2558b08d974"},"note":"Executed by the postinstall script of @drone-js-ext/core@1.0.0.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"e5ae4e660c364c9c9fb6a68fd106423c3f65a85d1f034d8a6eed517f79620118"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@drone-js-ext/core@3.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"536400306df71e064363b6792a44b6e46f2821cda56fdbbc6bb2c2558b08d974"},"note":"Executed by the postinstall script of @drone-js-ext/core@3.0.0.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"eeaaf7fb2af2102c7fb0f3e5cbc141bd3d7f23ba2d8d10b53f6c0f33aa8632e7"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@drone-js-ext/core@99.0.1).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"536400306df71e064363b6792a44b6e46f2821cda56fdbbc6bb2c2558b08d974"},"note":"Executed by the postinstall script of @drone-js-ext/core@99.0.1.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"974b0332941e8e2fb90638297aaa2b526fd8ae63d1bc510c41df83456bd3153d"},"note":"postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to http://185.158.107.175:8787/_ah/dc (@drone-js-ext/core@2.0.1).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"536400306df71e064363b6792a44b6e46f2821cda56fdbbc6bb2c2558b08d974"},"note":"Executed by the postinstall script of @drone-js-ext/core@2.0.1.","paths":["beacon.cjs"],"source":"PACKAGE_ARCHIVE"}],"ips":["185.158.107.175"],"urls":["http://185.158.107.175:8787/_ah/dc"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021702","import_time":"2026-10-25T15:15:15.207666384Z","modified_time":"2026-10-25T15:08:36Z","sha256":"9173b1e0c1d01cafb58dfbcad8b59a50f49700cc911e22df2787f5a92b4c6e43","source":"amazon-inspector","versions":["99.0.1"]},{"id":"IN-MAL-2026-021754","import_time":"2026-10-26T06:39:40.47309249Z","modified_time":"2026-10-26T06:28:49Z","sha256":"569ac3194c8e282ad998a4cdea42bf66f294718c34aa3e4a9e23c6e48fd6aa95","source":"amazon-inspector","versions":["3.0.0"]},{"id":"IN-MAL-2026-021752","import_time":"2026-10-26T06:39:40.352830114Z","modified_time":"2026-10-26T06:28:36Z","sha256":"6b376be15e74e8b44a791cdeecc97767fe9910d08586fc35f7ff794a8b4f5f51","source":"amazon-inspector","versions":["2.0.1"]},{"id":"IN-MAL-2026-021753","import_time":"2026-10-26T06:39:40.415958128Z","modified_time":"2026-10-26T06:28:44Z","sha256":"964c95bc1b9d42fc949e9baff8f32ea67b4d84fcf21cfdb7ffb2fa06c8aff122","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}