mal-2026-10427
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (542aa371fe6b513dabed7c4f9b5646a104520afa686c6b33abedc21d120ea25f)
index.js exports getPlugin(), which fetches JSON from the hardcoded endpoint https://svganchordev.net/icons/106 and passes the response field data.credits to new Function(require, module, exports,..., Promise, data.credits), executing attacker-controlled JavaScript with full Node privileges (require, process, Buffer, globals available to the injected function). A sibling export setDefaultModule() constructs a benign-looking cdnjs font-awesome URL that matches the README's advertised SVG-fetching purpose but is never used by getPlugin(), serving as a cover story for the remote loader. Declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with Windows DPAPI credential/browser-database access that a downloaded payload could invoke. The tarball also ships an unencrypted ed25519 OpenSSH private key (file 'gitlab' with comment testm@DESKTOP-PO28IS1) and its matching public key; the key is not read by the loader and represents an author-side exposure rather than an installer-side attack path.
Source: ghsa-malware (da76d1f117e4659cebca34534b08266fb7b99634f63f90099d08a9f13816f064)
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.
{
"affected": [
{
"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"
}
],
"indicators": {
"evidence_files": [
{
"path": "index.js",
"sha256": "24f9b188fee5ca7999bd67fc8c2ad3b5b7bb558ecc1db3c118783ffba5bd180c",
"tlsh": "dfc1616546fa21a36a67e4edf30f100271a5e2133758e971f48e42902fca668e5f24e8"
},
{
"path": "gitlab",
"sha256": "1b518991648a8f55ae87fef0521f62db50ffec33ee374a144949bd4d6739aabb",
"tlsh": "aae0edb26c6d6e8a69aecef81820810a9f69f6a3493870e041e4e0852d75ea2c41c6c4"
}
],
"package_integrity": [
{
"filename": "svg-fetcher-2.4.1.tgz",
"hashes": {
"sha1": "9b7fc05d9df61c3a8dce668699ce73ccd04a9c0e",
"sha512_sri": "sha512-Kaeu/3twuFrthSB9abToI0RJ1wh5hl293wr5DpB9TT7DYSgdlqcvgr29QoqH0UA71WsSP1meyatRrSQOry/djg=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "svg-fetcher"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"2.4.1"
]
}
],
"aliases": [
"GHSA-36vw-78q8-pj2r"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-009862",
"import_time": "2026-07-13T09:10:55.95635962Z",
"modified_time": "2026-07-13T08:10:00Z",
"sha256": "542aa371fe6b513dabed7c4f9b5646a104520afa686c6b33abedc21d120ea25f",
"source": "amazon-inspector",
"versions": [
"2.4.1"
]
},
{
"id": "GHSA-36vw-78q8-pj2r",
"import_time": "2026-07-27T09:43:03.747077528Z",
"modified_time": "2026-07-27T00:55:54Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "da76d1f117e4659cebca34534b08266fb7b99634f63f90099d08a9f13816f064",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (542aa371fe6b513dabed7c4f9b5646a104520afa686c6b33abedc21d120ea25f)\nindex.js exports getPlugin(), which fetches JSON from the hardcoded endpoint https://svganchordev.net/icons/106 and passes the response field data.credits to new Function(require, module, exports,..., Promise, data.credits), executing attacker-controlled JavaScript with full Node privileges (require, process, Buffer, globals available to the injected function). A sibling export setDefaultModule() constructs a benign-looking cdnjs font-awesome URL that matches the README\u0027s advertised SVG-fetching purpose but is never used by getPlugin(), serving as a cover story for the remote loader. Declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with Windows DPAPI credential/browser-database access that a downloaded payload could invoke. The tarball also ships an unencrypted ed25519 OpenSSH private key (file \u0027gitlab\u0027 with comment testm@DESKTOP-PO28IS1) and its matching public key; the key is not read by the loader and represents an author-side exposure rather than an installer-side attack path.\n\n## Source: ghsa-malware (da76d1f117e4659cebca34534b08266fb7b99634f63f90099d08a9f13816f064)\nAny 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.\n",
"id": "MAL-2026-10427",
"modified": "2026-07-27T09:45:43Z",
"published": "2026-07-13T08:10:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/svg-fetcher/v/2.4.1"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-36vw-78q8-pj2r"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in svg-fetcher (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.