{"id":"MAL-2026-6380","summary":"Malicious code in system-core-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0a1d575b5be4daa71ffea6c37e5990b0396f864234cb5f0488c11332cdd7e4d3)\nOn `require`/`import`, src/index.js shell-executes a hidden PowerShell one-liner that downloads `launcher.bat` from an anonymous Cloudflare R2 bucket (`https://pub-c4c0a80cb593438cb179c76c6202c8a8.r2.dev/launcher.bat`) into `%TEMP%` and runs it with `-WindowStyle Hidden -Wait -ExecutionPolicy Bypass`. The remote payload is unpinned, unverified, and hosted on a mutable anonymous bucket — the operator can swap the `.bat` content at any time. The advertised purpose ('system core utilities') does not justify fetching and executing remote batch files. Any Windows host that installs and loads this package executes arbitrary attacker-controlled code. The tarball additionally ships `deze.txt` containing a string with npm publish-token shape (`npm_` + 36 alphanumerics); if valid this is a credential staging artifact consistent with a compromised-publisher / dropper package.\n","modified":"2026-06-24T08:01:24.055806111Z","published":"2026-06-24T06:58:42Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-06-24T06:58:42Z","sha256":"0a1d575b5be4daa71ffea6c37e5990b0396f864234cb5f0488c11332cdd7e4d3","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-007429","import_time":"2026-06-24T07:47:32.359581334Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/system-core-utils/v/1.0.0"}],"affected":[{"package":{"name":"system-core-utils","ecosystem":"npm","purl":"pkg:npm/system-core-utils"},"versions":["1.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"src/index.js","sha256":"122c903287292bcaba788789b0db26a5e7eee0ddf6883041948892ceb5f96d72","tlsh":"3fe0f11202fd0319c13b85d7489d953b534fa4092364c361777d9720af4c1a88d522ca"},{"sha256":"f0ba3ee6dd055b76355627a03cc6b46febfd6f052aa517f464262051c4047aff","tlsh":"7b900454551140df133f70703c4301111307d4047dc0115347c10d343450440175034d","path":"deze.txt"}],"package_integrity":[{"hashes":{"sha1":"205edf81efab99614201bb673a9368f8440ee241","sha512_sri":"sha512-l3TrhHnTNTk3EB3gMiftqNlmUV2F2CuL2LoU6XP9tsimxu53EV1tXkz8M7uDb7t+fPv+T1mllMxrcfE4bfbNiQ=="},"filename":"system-core-utils-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/system-core-utils/MAL-2026-6380.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}