{"id":"MAL-2026-21027","summary":"Malicious code in mycore-processor-sdk (npm)","details":"mycore-processor-sdk@99.0.0 is a dependency-confusion package that poses as an internal MyCore client SDK and is published at version 99.0.0 so it outranks a same-named private package. Its postinstall script runs `node postinstall.js` on npm install, which resolves `o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287.cb.workinc[.]top` and sends an HTTPS GET to `hxxps://workinc[.]top/oob/o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287` with the machine's hostname, working directory, username, platform, Node.js version and detected CI system in the query string. The npm account matiaskorhonen published mycore-processor-sdk and 1 sibling mycore-* package with the same script on 2026-12-02, after mycore-sdk.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08627d83b80b7f55e1777c4fff43545b05ba134ad766c58a1d0387d22ccb4989)\nThe package declares a `postinstall` lifecycle script (postinstall.js) that runs automatically on `npm install`. It collects installer host identifiers and environment fingerprints — `os.hostname()`, `os.userInfo()` username, `process.cwd()`, platform/arch, Node version — together with a set of CI-provider environment indicators, and transmits them as query parameters to a hardcoded endpoint at https://workinc.top/oob/\u003ctoken\u003e. It additionally performs a DNS lookup of a token-prefixed subdomain (\u003ctoken\u003e.cb.workinc.top) as an out-of-band confirmation channel. The destination is not configurable and is unrelated to any declared package functionality. The implausibly high version number (99.0.0) is consistent with a dependency-confusion resolution-winning tactic targeting internal package names.\n","modified":"2026-12-03T08:30:05.679176959Z","published":"2026-12-02T14:14:34Z","database_specific":{"iocs":{"domains":["workinc.top","o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287.cb.workinc.top"],"files":[{"paths":["postinstall.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"f73f90d914e847e97449e05c9079475a6e0f10e0ca55dce39f1938a2770a19f1"},"note":"mycore-processor-sdk postinstall.js; DNS lookup + GET https://workinc.top/oob/o1-f25d3f6c... with host details."},{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"1b040d7319ec5f211f1e2556ea21b3253874f4d0852350eb7ea4befa270244c6"},"note":"mycore-ledger-sdk postinstall.js; same code, src=mycore-ledger-sdk.","paths":["postinstall.js"]},{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"de19b814904deb5dc32131cfb9f7a2df235ef32f800850df08089af8c665cb69"},"note":"postinstall runs `node postinstall.js`, which sends host and user details to workinc.top.","paths":["package.json"]}],"urls":["https://workinc.top/oob/o1-f25d3f6c71dc42b3d961409494e1e2c97e57c287"]},"malicious-packages-origins":[{"versions":["99.0.0"],"id":"IN-MAL-2026-023179","import_time":"2026-12-03T06:26:17.327971632Z","modified_time":"2026-12-03T05:59:47Z","sha256":"08627d83b80b7f55e1777c4fff43545b05ba134ad766c58a1d0387d22ccb4989","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mycore-processor-sdk/v/99.0.0"}],"affected":[{"package":{"name":"mycore-processor-sdk","ecosystem":"npm","purl":"pkg:npm/mycore-processor-sdk"},"versions":["99.0.0"],"database_specific":{"indicators":{"package_integrity":[{"hashes":{"sha1":"138008df0e3e1c0c3737e82c5c70870a840dfd16","sha512_sri":"sha512-BmaWs6o3pDe9LEBHvQns0GTL3H8e0cIxv2zevrWuMXJIEfgxue3HQXCqng3NpTB18wTnLYok1Gn9h1aNocxxAw=="},"filename":"mycore-processor-sdk-99.0.0.tgz"}],"evidence_files":[{"sha256":"f73f90d914e847e97449e05c9079475a6e0f10e0ca55dce39f1938a2770a19f1","tlsh":"0131fb7a52e96c3f01f217e0b136ea159be2a0913341d6f06254f1017ff1b354ef299a","path":"postinstall.js"}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mycore-processor-sdk/MAL-2026-21027.json"}}],"schema_version":"1.9.2","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"}]}