This report shows the evidence for mocha-ui-themes@1.0.0. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.0-stage, is allowed.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-18596 identifies this version as malicious and supplies the Firewall block.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-18596 confirms this npm version as malicious.
Advisory
MAL-2026-18596
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in mocha-ui-themes (npm)
Details
Package is advertised in README as a pure-CSS theme kit with 'zero runtime JavaScript', but the published artifact contradicts that description in ways consistent with a staged payload. The `package.json` `main` / `exports.require` / `exports.import` resolve to `lib.cjs` / `lib.mjs`, which statically import `tokens.mjs`, which in turn imports `cache-warm.mjs`. `cache-warm.mjs` is a ~280 KB single-statement file labelled 'auto-generated build cache manifest' whose body is an obfuscator.io-style string array (`const _0x2fe3314=["iJSZkZnTjpmPk5CKmdOekJmSmJGTmJnMy8TL0paPk5I=",...]`) and `_0xXXXX` hex-mangled identifiers — executable code that runs on every `require`/`import` of the package. The package also ships `native/{linux,darwin,win32}/{x64,arm64}/cache-probe.node` N-API addons whose exported symbols (`VMDetect`, `hypervisor_bit`, `smbios_vm_bit`, `dockerenv`, `qemu_fw_cfg`, `vbox_module`, `amd_sev_msr`, `bluestacks`, `container_proc_id`, `mac_address_check`, etc.) are the VMAware VM/sandbox-fingerprinting library. A Tailwind CSS color-theme package has no legitimate need for an obfuscated import-time bundle or a cross-platform anti-VM detector, and the mismatch between the README (CSS-only, no JS at runtime) and the shipped artifacts (obfuscated JS reachable on import plus platform-specific anti-sandbox native addons) is a cover-story framing. The combination — import-time execution, obfuscation designed to resist review, cover-story documentation, and bundled anti-analysis instrumentation — is the standard shape of a sandbox-gated malicious payload that defers its hostile behavior to real developer machines.
## Source: ghsa-malware (cc4da3bdc21069601a8f0c9b06ab4b4f90930f54c1ed05c3162a2c52d27f543d) Any 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.
The versions list below shows the verdict for each recorded version.
Avoid installing mocha-ui-themes@1.0.0. 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.