Skip to main content
MalwarePublished

mocha-ui-themes (npm) · Malicious Code

Affects mocha-ui-themesSource GCVE Database

0

Malicious package : remove mocha-ui-themes and rotate any secrets on hosts that installed it.

Data as of 4 Nov 2026, 05:00 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18596

What to do

Remove mocha-ui-themes from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmmocha-ui-themesAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'mocha-ui-themes' contains malicious code that can fully compromise any computer on which it is installed or running. The compromise may allow an attacker to gain full control over the system, potentially exposing all stored secrets and keys. Immediate removal of the package is advised, but due to the severity of the compromise, simply removing the package may not eliminate all malicious software. Secrets and keys should be rotated from a different, trusted machine.

References

Community reviews

Loading reviews…