LWA-2026-6357 MAL-2026-10546 ↗ confirmed malware

viteplugiin@1.0.28

Malicious code in viteplugiin (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or Information

Analysis

viteplugiin@1.0.28 is a typosquat of the legitimate @base44/viteplugin Vite plugin. The package ships a legitimate-looking Vite plugin in its source TypeScript, but the compiled dist/index.js has a large obfuscated payload injected at the end that is not present in the source. The obfuscated code uses multi-layer string deobfuscation (Fisher-Yates shuffle-based decoding), sets global.o='*8-0', assigns require/__dirname/__filename to the global scope, and executes a deeply nested IIFE. The package has no install lifecycle hooks, so the payload activates when the package is imported as a Vite plugin in a project's vite.config.ts.

analyzed by
Leitwacht
first seen
Jul 7, 2026, 02:47 AM
analyzed
Jul 7, 2026, 02:49 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.