MAL-2026-10492

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/font-huge/MAL-2026-10492.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10492
Aliases
  • GHSA-x8f8-q6m3-g4pq
Published
2026-07-13T20:54:40Z
Modified
2026-07-28T05:21:48Z
Summary
Malicious code in font-huge (npm)
Details

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

Source: amazon-inspector (a529537a0875d6ab8e2c942ace1db227c7131ff06b7eb4e86b12cd4193da4879)

font-huge advertises itself as a font/icon collection, but its exported getPlugin function fetches https://svganchordev.net/icons/107 and passes the response's data.credits field to new Function with require, module, process, Buffer, and other Node primitives injected, then invokes it — executing attacker-controlled JavaScript with full Node privileges whenever a consumer imports and calls the default export. The destination host is unrelated to the package's declared purpose and is constructed by concatenating split literals (domain "svganchordev.net", path "/icons/", token "107") to obscure the URL in source. Retry logic and empty catch blocks suppress errors from the fetch. The package's declared dependencies (@primno/dpapi for Windows DPAPI decryption, better-sqlite3/sqlite3 for browser profile databases, node-machine-id, socket.io-client) are not referenced anywhere in the shipped code and match the runtime primitives a browser-credential stealer payload would need after being loaded via the remote eval.

Source: ghsa-malware (0494622d479ff572f14dbf8d1cf12f3518a115c213bc93b13e5f0a9cad30382e)

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": [
        {
            "id": "IN-MAL-2026-010314",
            "import_time": "2026-07-13T21:25:58.458968795Z",
            "modified_time": "2026-07-13T20:54:40Z",
            "sha256": "a529537a0875d6ab8e2c942ace1db227c7131ff06b7eb4e86b12cd4193da4879",
            "source": "amazon-inspector",
            "versions": [
                "2.5.3"
            ]
        },
        {
            "id": "GHSA-x8f8-q6m3-g4pq",
            "import_time": "2026-07-28T02:02:27.987052Z",
            "modified_time": "2026-07-27T12:48:01Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0494622d479ff572f14dbf8d1cf12f3518a115c213bc93b13e5f0a9cad30382e",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / font-huge

Package

Affected ranges

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

Affected versions

2.*
2.5.3

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": "f03baeca30cfcbb5903b1d93435435be75b45695cae2510970d803a09ba7071d",
            "tlsh": "3ac1616546fa31a36a67e4edf30f10027165e3133759e971f48e42902fca568e5f24e8"
        },
        {
            "path": "package.json",
            "sha256": "d8970d7bc0b5ac6303b9eca2a48ec2b1abe46ff2d9344f43c11784ef276ad6c3",
            "tlsh": "e1f04650ce20dea715d6258698388487a161d94b4e10fc0c33da4aac0f5e46f22fe32d"
        }
    ],
    "package_integrity": [
        {
            "filename": "font-huge-2.5.3.tgz",
            "hashes": {
                "sha1": "5de5b7249880ce8bf2d87d080c6554b884389271",
                "sha512_sri": "sha512-aZEsIiGQQlZHQJLQpTD4HCM3n8oXXHRN/IxxZhLGweRdpuP3pX+TTPWNhuSZdfwuVrTYXb5VBDLyZZuKT4Gk5Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/font-huge/MAL-2026-10492.json"