-= Per source details. Do not edit below this line.=-
The package presents itself as a CSS custom-property polyfill for font translation, but its actual behavior is a browser-side code-smuggling vector. payload.css ships ten --base-color-1..--base-color-10 custom properties whose values are hex-byte triplets; the file carries the literal marker Payload for vantamods.online and a __DOMAIN__ placeholder (hex 5f5f444f4d41494e5f5f). At runtime, translate.js reads those CSS variables from the DOM, concatenates the hex bytes into a string, substitutes __DOMAIN__ with the hex-decoded host vantamods.online (sourced from --primary-brand-color), and executes the resulting JavaScript with new ("").constructor.constructor(fromCharCode.apply(null, _b))() — i.e. a Function constructor invocation on attacker-controlled bytes. A hostname guard prevents execution on vantamods.online, localhost, and empty hostnames, so the smuggled code runs only on third-party sites that bundle or CDN-load this package. The advertised polyfill functionality is a cover story: any site shipping this dependency executes arbitrary JavaScript controlled by the maintainer of vantamods.online against every visitor, enabling session theft, credential capture, redirection, or arbitrary DOM manipulation in the site's origin.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"malicious-packages-origins": [
{
"id": "GHSA-grv5-7wp6-vw6h",
"import_time": "2026-10-02T22:25:24.581326133Z",
"modified_time": "2026-10-02T21:26:24Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "d0ae1970321abd04ddd957d3135ee1d2eb64acee031428fa8f3cbcb8c48504b0",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-020931",
"import_time": "2026-10-04T23:40:43.256882231Z",
"modified_time": "2026-10-04T23:21:42Z",
"sha256": "3b0c647653ce1698d15162d24ea22d9b060d770daf28277f3ce27a0040dda6dc",
"source": "amazon-inspector",
"versions": [
"1.4.2"
]
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"path": "translate.js",
"sha256": "917e77d90edb3e2bda9acd53898732242ad8275ca8217d68d8b7a378194ccc64",
"tlsh": "1f31be895a275177657a73b95faec928f77e816701c196403f1ce0407fb421216bcfd8"
},
{
"path": "payload.css",
"sha256": "8e015df6d9568b732ef2c2338983ef0b940c06edb45555fe3b919bddb76f713b",
"tlsh": "b921bb19541a397a773270a702c4cb179ea8ece6c7847f43f5dc999657f82e9302600a"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/translate-base-font/MAL-2026-17458.json"