-= Per source details. Do not edit below this line.=-
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.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-25T08:20:36.916902087Z",
"modified_time": "2026-08-25T08:10:37Z",
"sha256": "019affd7dfc88e28b20dcce52fe53661a514582fb11c51871126b967399a01d8",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018703",
"versions": [
"1.0.0"
]
},
{
"source": "amazon-inspector",
"id": "IN-MAL-2026-018702",
"sha256": "8271d5e636d34aa5ced0e47b3067e12faf2ccccc28f7ec7f09d3913c4c948d53",
"import_time": "2026-08-25T08:20:36.833050917Z",
"modified_time": "2026-08-25T08:10:28Z",
"versions": [
"1.1.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vite-plugin-image-tracker/MAL-2026-14481.json"
{
"evidence_files": [
{
"sha256": "845c58869507ac25f27bc546d84aedf04a508edec936f6c7340b1b12db274e91",
"tlsh": "4f81747b7063216496a2206b017f443ca3be89031c5ef564b95d911bafcc62c067eff9",
"path": "index.js"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "15286d6e0b36fdc4d90f53401f0c48025ce26824",
"sha512_sri": "sha512-H58HNNMQIF/SW8pNpDEQEKjoFE4J345uSMxbdzpmCg6nPepB9TsBwFT3lFYvQVcASrMl65IgviADMv4ju8uWOQ=="
},
"filename": "vite-plugin-image-tracker-1.0.0.tgz"
}
]
}