{"id":"MAL-2026-20552","summary":"Malicious code in juyip-parser-assets (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (88c47b01a7b3719e60ecd10a1293f60f948c8c68e22e308caa161c0ed732a416)\njuyip-parser-assets@1.0.1 advertises itself as a compressed-asset storage helper, but its saveAsset function contains an undocumented side effect unrelated to compression: on every invocation, it checks whether a file named '../ls' exists relative to the process working directory and, if so, calls fs.chmodSync('../ls', 0o755) to mark it executable. The target path is outside the package's own directory, the filename mimics a common system utility, and the operation has no connection to the stated compressed-asset purpose. This is the executable-bit-flipping half of a split-package dropper pattern: a companion component stages a binary at that path and this package silently makes it runnable on the installer's host whenever the library's advertised API is used.\n","modified":"2026-11-25T06:30:09.037555600Z","published":"2026-11-25T06:05:16Z","database_specific":{"malicious-packages-origins":[{"sha256":"88c47b01a7b3719e60ecd10a1293f60f948c8c68e22e308caa161c0ed732a416","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-023092","import_time":"2026-11-25T06:20:24.080042860Z","modified_time":"2026-11-25T06:05:16Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/juyip-parser-assets/v/1.0.1"}],"affected":[{"package":{"name":"juyip-parser-assets","ecosystem":"npm","purl":"pkg:npm/juyip-parser-assets"},"versions":["1.0.1"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"c9a35acd4643aa8342a5d39743da9161f239d3d7535dba52153db364e7e0b711","tlsh":"376121d22efeb26041977133d5d7a9097b19a152307ce646f5cc0a202fe16ec8ba27d9"}],"package_integrity":[{"filename":"juyip-parser-assets-1.0.1.tgz","hashes":{"sha512_sri":"sha512-z7ecOaduzHbMnf3bDJ+s8tEGjcdLVBQq+UVuv7tPyzYJ7MZtBoNuK4BVY6Ef4GcaWHvtHrjqeqj3opEMMWvLwQ==","sha1":"786268f0d468617b92fa44a47050172d44d9f3ce"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/juyip-parser-assets/MAL-2026-20552.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}