MAL-2026-14225

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ambera/MAL-2026-14225.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14225
Published
2026-08-19T03:36:58Z
Modified
2026-08-19T04:00:16.909934018Z
Summary
Malicious code in ambera (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (d24544221570c21c3b710d7c4d39ed76e7cc8b43a555bb7c8e6fefa78aa3f625)

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.

Database specific
{
    "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"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ambera

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ambera/MAL-2026-14225.json"
indicators
{
    "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=="
            }
        }
    ]
}
cwes
[
    {
        "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."
    }
]