Skip to main content
MalwarePublished Updated

vite-plugin-opticompress (npm) · Malicious Code

Affects vite-plugin-opticompressSource GCVE Database

0

Malicious package : remove vite-plugin-opticompress and rotate any secrets on hosts that installed it.

Data as of 22 Nov 2026, 02:31 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-48017

What to do

Remove vite-plugin-opticompress 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
npmvite-plugin-opticompressAffected
  • =1.0.3
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 vite-plugin-opticompress version 1.0.3 contains malicious code that can fully compromise any computer on which it is installed or running. The compromise may lead to unauthorized access to all secrets and keys stored on the affected system. Immediate removal of the package and rotation of all secrets from a different, uncompromised computer is strongly recommended.

References

Community reviews

Loading reviews…