classbreeze-utils@0.7.9
Malicious code in classbreeze-utils (npm)
Analysis
This package masquerades as a Tailwind CSS typography plugin (its README, manifest description and most source are copied verbatim from the legitimate plugin), but its main entry file (src/index.js) has a heavily obfuscated payload appended after the genuine module export. The payload executes automatically when the module is loaded. It uses an RC4/base64 string-decoder to hide all of its strings, detects the host OS (Windows/macOS/Linux), and locates the local npx and node executables by probing several candidate paths. It then copies the current environment, injects an API token and a hidden marker variable, and spawns detached background child processes that invoke npx to download and run a second-stage package from a remote endpoint. On Windows it additionally drops a .vbs script and runs it through wscript with the window hidden, giving stealthy execution. The net effect is a loader/dropper that pulls and runs attacker-controlled code on the victim machine.
- analyzed by
- Leitwacht
- first seen
- Jun 18, 2026, 06:10 AM
- analyzed
- Jun 18, 2026, 06:22 AM
Related advisories
- oem-agentic-shared@99.9.1
- opt-archetype-check@9.9.0
- @muaththir/api@2.0.0
- relative-time-live@0.1.0
- scan-only@0.3.0
- @public-for-cdao/api@99.99.99
- @public-for-cdao/signer@99.99.99
- @public-for-cdao/types@99.99.99
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.