MAL-2026-11017

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vectormark/MAL-2026-11017.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11017
Aliases
  • GHSA-g48p-2cr5-5hm2
Published
2026-07-22T16:38:53Z
Modified
2026-08-04T23:05:42.247033025Z
Summary
Malicious code in vectormark (npm)
Details

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

Source: amazon-inspector (6d0646473c841676e2f55d66494a805943e00b2e2d7515e1bbba5453e6a9024e)

vectormark@1.0.0 advertises itself as a zero-dependency SVG helper library, but index.js exports an undocumented function getPlugin() that issues an HTTPS GET to the hardcoded lookalike domain api.avax-test.dev (the legitimate Avalanche Fuji testnet host is api.avax-test.network) with TLS certificate verification disabled (rejectUnauthorized: false), then passes the raw response body into new Function('require', data)(require). Any caller that invokes getPlugin() — or any tool that auto-enumerates the package's exports — executes attacker-controlled JavaScript with full require access on the host. The endpoint variable is named AVALANCHEFUJIRPC_URL and the sink is named getPlugin to blend with legitimate blockchain tooling; the README does not mention this function, and package.json omits the 'request' dependency the file otherwise references. The lookalike domain, disabled TLS verification, cover-story naming, and mismatch between the advertised SVG-helper purpose and the actual code path establish intent.

Source: ghsa-malware (966fb5c08bb39dca42e48787fab3b7c14e38afc4ae209f5cd6231acc10d05c72)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ghsa-malware",
            "sha256": "966fb5c08bb39dca42e48787fab3b7c14e38afc4ae209f5cd6231acc10d05c72",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "modified_time": "2026-07-22T16:38:54Z",
            "id": "GHSA-g48p-2cr5-5hm2",
            "import_time": "2026-07-22T23:02:09.277847854Z"
        },
        {
            "sha256": "3fa85f8a110d2401a7762a729526de6d338ac4a6a9aa0e896eb7b7acb9560cbe",
            "modified_time": "2026-08-04T21:39:23Z",
            "versions": [
                "1.0.1"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011148",
            "import_time": "2026-08-04T22:30:01.8362619Z"
        },
        {
            "import_time": "2026-08-04T22:30:05.546524428Z",
            "modified_time": "2026-08-04T21:49:05Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011216",
            "sha256": "6d0646473c841676e2f55d66494a805943e00b2e2d7515e1bbba5453e6a9024e"
        }
    ]
}
References
Credits

Affected packages

npm / vectormark

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1

Database specific

cwes
[
    {
        "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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vectormark/MAL-2026-11017.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "02fcf75c346d89343fee0006b7cc4becf09d7876b611b4977e0591a0f324b9af",
            "tlsh": "5741d0a87dfb75150263b0b82487d4053472e027635e8d90badd4d641fac1fc0df6ad8"
        }
    ]
}