Skip to main content
MalwarePublished

vite-plugin-images-analysis (npm) · Malicious Code

Affects vite-plugin-images-analysisSource GCVE Database

0

Malicious package : remove vite-plugin-images-analysis 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-14482

What to do

Remove vite-plugin-images-analysis 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-images-analysisAffected
  • =1.0.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-images-analysis, version 1.0.0, masquerades as an image analysis tool but injects malicious code into built HTML pages. This code harvests personally identifiable information (PII) such as account identifiers, phone numbers, and real names from sessionStorage. It captures data at login time by hooking sessionStorage.setItem and sends the collected information to a concealed endpoint using obfuscated base64 and XOR encoding.

References

Community reviews

Loading reviews…