{"id":"MAL-2026-20553","summary":"Malicious code in juyip-parser-helper (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0a804363ce357d88f9a58b0cd7eeed314f8462d86c9b6f251a679e9572e3a49c)\nThe package is published as a zlib compression helper but exhibits two behaviors inconsistent with that purpose. First, at module top level on `require('juyip-parser-helper')` it executes `process.env.PATH = '.'`, overwriting the importing process's PATH environment variable with the current working directory. Any subsequent unqualified shell lookup performed by the host process (e.g. `ls`, `node`, `git`, `sh`) will then resolve binaries from CWD before any system path, which enables local binary-planting hijacks against the process that imported the module. Second, the module ships a hardcoded AES-128-CBC ciphertext blob with a hardcoded key (`abcdefghijklmnop`) and IV and exposes a `createTestAssets()` function that decrypts the blob with `createDecipheriv` and returns the plaintext; the README does not disclose this encrypted payload or document the function. Neither behavior is consistent with a zlib compression helper, and the PATH mutation on import directly tampers with the installer process's execution environment.\n\n## Source: ghsa-malware (e34302a1b2884016142888d811ffb05193a05ba7191a43384aa72c01e908cafb)\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-qphm-3599-86qw"],"modified":"2026-11-27T15:30:21.954023322Z","published":"2026-11-25T06:05:08Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-25T06:20:24.503795917Z","modified_time":"2026-11-25T06:06:03Z","sha256":"0a804363ce357d88f9a58b0cd7eeed314f8462d86c9b6f251a679e9572e3a49c","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-023098"},{"import_time":"2026-11-25T06:20:23.996232228Z","modified_time":"2026-11-25T06:05:08Z","sha256":"10fcb907dc294078f4a8e6a6891c91ff0a908efafe306ae8dcef6fd462b7e9db","source":"amazon-inspector","versions":["1.0.2"],"id":"IN-MAL-2026-023091"},{"id":"IN-MAL-2026-023094","import_time":"2026-11-25T06:20:24.188008850Z","modified_time":"2026-11-25T06:05:33Z","sha256":"bd770d31f092f0b056b538c3e3e3a41a5d93aa5eda7af00b537555338dc3ab5c","source":"amazon-inspector","versions":["1.0.0"]},{"import_time":"2026-11-25T06:20:24.139288825Z","modified_time":"2026-11-25T06:05:26Z","sha256":"ee6004ae876cea7ab83329816f8324c0d07a89f6499ebbd3dad1028f7e9754cc","source":"amazon-inspector","versions":["1.0.4"],"id":"IN-MAL-2026-023093"},{"id":"GHSA-qphm-3599-86qw","import_time":"2026-11-27T15:18:04.122878020Z","modified_time":"2026-11-27T14:56:47Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"e34302a1b2884016142888d811ffb05193a05ba7191a43384aa72c01e908cafb","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/juyip-parser-helper/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/juyip-parser-helper/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/juyip-parser-helper/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/juyip-parser-helper/v/1.0.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qphm-3599-86qw"}],"affected":[{"package":{"name":"juyip-parser-helper","ecosystem":"npm","purl":"pkg:npm/juyip-parser-helper"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.2","1.0.0","1.0.4"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"680e16c34dfa22b3812c0a2fc3e528c1f1c0adaf4a58fe4628a5114f05bcc22d","tlsh":"9b6152202efe614000db31b357fbdd9e75a1e2163129d980b49cc5845fa4868eebbbcc","path":"index.js"}],"package_integrity":[{"filename":"juyip-parser-helper-1.0.1.tgz","hashes":{"sha1":"44cb1908454d6022ba4c869abe8a86a7c3b44fca","sha512_sri":"sha512-30UzrU8K0H5+pGB/tL5SefZzTmFOjxog6MmcQc/MY0s9os+129u9TqST2s4h6Jjz2y8Nc9WFgQjjuDpAOXBHPw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/juyip-parser-helper/MAL-2026-20553.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}