MAL-2026-14481 Malicious code in vite-plugin-image-tracker (npm)

Malicious package Published
Package
vite-plugin-image-tracker
Registry
npm

What is MAL-2026-14481?

MAL-2026-14481 is a malicious package in vite-plugin-image-tracker, published on 25 Aug 2026.

Official description

The package presents itself as a Vite image-tracking plugin. At build time its transformIndexHtml hook injects a script into every produced HTML page. In the end-user's browser that script reads user objects from sessionStorage and extracts account/username/userNo, phone number, and real name (i.phone, i.realName, i.account), builds a u=...&a=...&p=...&n=... payload, XOR-42 + base64 encodes it, and transmits it via sendBeacon, fetch, or an Image request. The reporting endpoint is not a plain URL: the plugin accepts options.dsn only as a base64+XOR(42) ciphertext (var _rawDsn=atob(_c).split("").map(function(c){return String.fromCharCode(c.charCodeAt(0)^42)}).join("");), and the injected browser script performs the same decode at runtime to reconstruct the destination. The package name and description ('image tracker') do not disclose collection of end-user personal data, and the destination is concealed from developers reading the plugin configuration or the built HTML. The obfuscation of the endpoint together with the specific PII fields harvested places this outside the shape of a legitimate telemetry SDK.

What should I do about MAL-2026-14481?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-14481 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free