{"id":"MAL-2026-13378","revision":"2165733b06504507a2a38c56115a0ec8","records":[{"revision":"2165733b06504507a2a38c56115a0ec8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13378","aliases":[],"title":"Malicious code in npm-dc-dev (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (91248167ea052dfca231e837bd645444f362dc087be9a7c04f1cf4aeec4d6723)\npackage.json declares `\"postinstall\": \"node test.js\"`. test.js top-level `require('.')`s index.js and awaits an exported `from_str()`. index.js consists of a single `Function(\"k4Wmku\", \"...\")` invocation whose ~170KB body is encoded with a custom 85-character alphabet and a shuffled string array; standard deobfuscation does not recover the payload. On `npm install`, the postinstall hook constructs and runs this opaque code on the installer's machine, with `child_process`, `axios`, and `form-data` available as declared dependencies. Package metadata is generic (blank author and description, name `npm-dc-dev`) and no legitimate library surface is exported. The install-time construction and execution of an unreadable dynamic payload matches the install-time remote-code-execution pattern; no benign reason exists for this shape.\n","state":0,"publishedAt":"2026-08-05T21:16:31+00:00","modifiedAt":"2026-08-05T22:19:51.0938002+00:00","affected":[{"ecosystem":"npm","name":"npm-dc-dev","ranges":[],"versions":["1.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/npm-dc-dev/v/1.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13378","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13378","identifiers":["MAL-2026-13378"]},"retained":false,"historicalAffected":[]}],"coverage":[]}