cache-manager
This report shows the evidence for cache-manager@7.2.10, the only known version.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-11523 confirms this npm version as malicious.
Advisory
MAL-2026-11523
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in cache-manager (npm)
Details
This tarball, published under the popular `cache-manager` name, ships an obfuscated `preinstall` dropper that does not exist in the upstream project. `package.json` declares `"preinstall": "node setup.mjs"`, and `setup.mjs` is a single-line obfuscator.io-style bundle (string-array + RC4-style per-call decoder at `i['tXsWiG']`) that hides every URL, filename, and command literal. Decoding reveals the loader detects the host platform, downloads a matching Bun runtime archive from `github.com/oven-sh/bun/releases` (e.g. `bun-linux-x64-baseline`, `bun-windows-x64-baseline`), extracts it to a temp directory, marks it executable, and then invokes that freshly downloaded runtime via `execFileSync` against the sibling file `Math_Symbol.js`. `Math_Symbol.js` is a 727 KB `// @bun @bun-cjs`-tagged opaque bundle with hex-obfuscated identifiers and its own string-array decoder; it is not referenced by the package's advertised entry point (`dist/index.cjs`) and is only reachable through the preinstall dropper. The alternate-runtime aspect (executing under Bun rather than Node) ensures the terminal payload is not observable to Node-based scanning of the tarball. The upstream `cache-manager` package ships no preinstall, no `setup.mjs`, and no `Math_Symbol.js`, so this version is a supply-chain compromise or lookalike rather than a legitimate release. Installing this version causes attacker-controlled code to execute on the installer's machine at `npm install` time.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to cache-manager@7.2.10.
The versions list below shows the verdict for each recorded version.
- Avoid installing cache-manager@7.2.10. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.