Skip to main content
MalwarePublished

vite-plugin-image-tracker (npm) · Malicious Code

Affects vite-plugin-image-trackerSource GCVE Database

0

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

Data as of 10 Sep 2026, 18:48 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14481

What to do

Remove vite-plugin-image-tracker 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-image-trackerAffected
  • =1.0.0
  • =1.1.0
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-image-tracker injects a script into HTML pages during build time that collects sensitive user information from sessionStorage, including account identifiers, phone numbers, and real names. This data is encoded and covertly transmitted to an obfuscated external endpoint. The package disguises this behavior under the guise of an image tracking plugin, without disclosing the collection of personal data or the destination of the transmitted information, indicating malicious intent.

References

Community reviews

Loading reviews…