-= Per source details. Do not edit below this line.=-
The package presents itself as a zero-dependency SVG helper, but its exported getPlugin() function performs an HTTPS GET to the hardcoded host https://api.avax-test.dev/ext/bc/rpc with TLS verification disabled (rejectUnauthorized: false) and passes the response body directly to new Function('require', data)(require). Any caller of getPlugin() executes whatever JavaScript the remote host returns, with the Node require function injected — effectively arbitrary remote code execution on the caller's machine. The destination host api.avax-test.dev is a lookalike of the legitimate Avalanche Fuji RPC endpoint api.avax-test.network, and the Avalanche/Snowtrace variable naming is cover-story labeling: the package's stated SVG purpose has no network or blockchain functionality. Combined with the disabled TLS verification, this is a deliberately concealed remote-exec channel embedded in an unrelated utility.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-19T03:49:30.277357931Z",
"sha256": "0a436ba1448ab5bbc5819828e8082b05598893b24f4578c8a37ea3a7ef4c732e",
"modified_time": "2026-08-19T03:36:58Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018324",
"versions": [
"1.0.0"
]
},
{
"import_time": "2026-08-19T03:49:30.345220673Z",
"sha256": "d24544221570c21c3b710d7c4d39ed76e7cc8b43a555bb7c8e6fefa78aa3f625",
"modified_time": "2026-08-19T03:37:09Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018325",
"versions": [
"1.0.1"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ambera/MAL-2026-14225.json"
{
"evidence_files": [
{
"sha256": "02fcf75c346d89343fee0006b7cc4becf09d7876b611b4977e0591a0f324b9af",
"path": "index.js",
"tlsh": "5741d0a87dfb75150263b0b82487d4053472e027635e8d90badd4d641fac1fc0df6ad8"
}
],
"package_integrity": [
{
"filename": "ambera-1.0.0.tgz",
"hashes": {
"sha1": "6d3484d0cfa1c10900f076a10357c847d19431c8",
"sha512_sri": "sha512-m7Qkg9ZV2NUljKYDCqmFSX6mVf+ZavnXjtly8MaL79YDIXhh/TVHpZxSvsBYE+tdu117nFX4meDIXXNxTQkyyQ=="
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]