MAL-2026-20552: Malicious code in juyip-parser-assets (npm)

Published Nov 25, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (88c47b01a7b3719e60ecd10a1293f60f948c8c68e22e308caa161c0ed732a416) juyip-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.

Affected Software

1 affected component
npm/juyip-parser-assets=1.0.1

Event History

Nov 25, 2026
Advisory Published
via OSV·06:05 AM
Data Sourced
via OSV·06:05 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which deployments are exposed to the executable-permission change?

Deployments using juyip-parser-assets version 1.0.1 are exposed when they invoke the package's saveAsset function. The behavior runs on the host executing that function, relative to that process's working directory.

2

What conditions are required for the permission change to occur?

A file named ../ls must exist relative to the process working directory when saveAsset is called. If it exists, the package calls fs.chmodSync('../ls', 0o755), making that file executable.

3

How can I check whether this behavior may have affected a host?

Identify executions of saveAsset from juyip-parser-assets@1.0.1 and check whether a file at ../ls relative to the relevant working directory existed and was assigned mode 0755. The package performs no compression-related check before changing that file's permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203