MAL-2026-6708

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zyncmap/MAL-2026-6708.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6708
Published
2026-07-01T18:37:36Z
Modified
2026-07-01T19:16:50.071014002Z
Summary
Malicious code in zyncmap (npm)
Details

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

Source: amazon-inspector (3a65a1106fa2bab6eb0b5982b289665b4b96a6ad86769a867f6e62fb73663f77)

zyncmap@0.0.0 advertises itself as an SVG sanitization/minification utility, but index.js exports an undocumented function getPlugin() that, when invoked, performs an HTTP GET against the anonymous paste host https://www.jsonkeeper.com/b/3P9BF and passes the response's model string field directly to eval(). Content at that paste URL is attacker-mutable, so any consumer that calls the exported getPlugin() executes arbitrary attacker-controlled JavaScript in the installer's Node.js process. The README and ~80% of index.js implement plausible SVG helpers as cover; the remote-fetch+eval export and a misleading bearrtoken: "logo" header are appended separately and not mentioned in package documentation. This is a backdoor: a hidden code path giving the publisher persistent remote code execution against any consumer who reaches the export.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "0.0.1"
            ],
            "sha256": "251e5b6920fb8a9fdb59aba6c1b162ddd27f0b226c979e62fb43845fc0f5d9ae",
            "source": "amazon-inspector",
            "modified_time": "2026-07-01T18:37:36Z",
            "id": "IN-MAL-2026-007854",
            "import_time": "2026-07-01T19:11:24.221428209Z"
        },
        {
            "versions": [
                "0.0.0"
            ],
            "sha256": "3a65a1106fa2bab6eb0b5982b289665b4b96a6ad86769a867f6e62fb73663f77",
            "modified_time": "2026-07-01T18:37:50Z",
            "source": "amazon-inspector",
            "import_time": "2026-07-01T19:11:24.334484479Z",
            "id": "IN-MAL-2026-007855"
        }
    ]
}
References
Credits

Affected packages

npm / zyncmap

Package

Affected ranges

Affected versions

0.*
0.0.0
0.0.1

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "zyncmap-0.0.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-JdWspee/JmuWG+lzapKOP8DNxMNY+o3miYDGvkVJawRNTw07p6oqzslJ8EsXe3LJQ39EkbaqBVeW5X9Q26NY7Q==",
                "sha1": "01e3ae4582278f31842977da1cb1f00f9c231885"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "3a0e1400a7ac8e8b984beef2f330af7a144b04723016ef07681ac0294a725444",
            "path": "index.js",
            "tlsh": "767111a8999b7095d6b1e3e447135015f559d1672208c3d4b6acc6983f7172c90f3eec"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/zyncmap/MAL-2026-6708.json"
cwes
[
    {
        "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",
        "cweId": "CWE-506"
    }
]