{"id":"MAL-2026-17626","summary":"Malicious code in serpacksven1 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (20d4a6a2715973b427bb0aa2b7a493ca711b7f16b5f47f90062edf790e0186a6)\nThe tarball ships no JavaScript — the declared `main: index.js` is absent — and contains only 10 byte-identical copies of a PowerShell dropper under misleading extensions (`1.png`, `client.doc`, `client.doc.1`, `json.txt`, extensionless `client`, all sha256 e9dff494...). The script hides the console window via Win32 APIs, concatenates ~150 base64 chunks, XOR-decodes them with single-byte key 89, reflectively resolves `[System.Reflection.Assembly].Load` through char-code-obfuscated type strings, and invokes the decoded in-memory.NET assembly. The package has no lifecycle scripts and no importable surface, so `npm install` alone does not execute the payload; the harm fires when a second-stage tool or downstream workflow sources any of the disguised files (e.g. `powershell -File client.doc`), delivering full-host code execution of an attacker-controlled.NET assembly on Windows. The multi-extension disguise, byte-identical duplication, and absence of any legitimate package content show this is a payload-staging artifact published to npm rather than a software package.\n\n## Source: ghsa-malware (d0730e12f59904bd205a2a840fce1dbab41414538d235ea91ddb3a23cc2a0b8f)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-696v-rr55-26pc"],"modified":"2026-10-06T04:30:45.932110468Z","published":"2026-10-05T17:31:00Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"d0730e12f59904bd205a2a840fce1dbab41414538d235ea91ddb3a23cc2a0b8f","source":"ghsa-malware","id":"GHSA-696v-rr55-26pc","import_time":"2026-10-05T18:34:10.826994425Z","modified_time":"2026-10-05T17:31:01Z"},{"import_time":"2026-10-06T04:22:56.556963784Z","modified_time":"2026-10-06T03:57:49Z","sha256":"20d4a6a2715973b427bb0aa2b7a493ca711b7f16b5f47f90062edf790e0186a6","source":"amazon-inspector","versions":["1.0.6"],"id":"IN-MAL-2026-021093"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-696v-rr55-26pc"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/serpacksven1/v/1.0.6"}],"affected":[{"package":{"name":"serpacksven1","ecosystem":"npm","purl":"pkg:npm/serpacksven1"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.6"],"database_specific":{"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"}],"indicators":{"evidence_files":[{"path":"1.png","sha256":"e9dff49447937f8225a73dc235e067de051240d89523b6846813f7a2cd21a8fa","tlsh":"74a2af3c916097feec69e74549a3940a65257cf2c4a42c072f1ace6f54a7ec4ecbc18b"},{"tlsh":"2dd02e288aa2443300c006330d1a91526220ee2f00043c0c37cf241c83dfab26cfa21c","path":"package.json","sha256":"868ed4eddc1f3785ee6f0140730ae218168b81f2e427fadb7e2167aba1896e58"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/serpacksven1/MAL-2026-17626.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}