MAL-2026-6359

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/html-to-gutenberg/MAL-2026-6359.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6359
Aliases
  • GHSA-2gqj-wrf5-35w8
Published
2026-06-24T01:51:00Z
Modified
2026-09-16T21:30:05Z
Summary
Malicious code in html-to-gutenberg (npm)
Details

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

Source: amazon-inspector (b4e3b38055d924ccd5540e529660f55d9e4f49a2f76897c0903e7475fab1ffd1)

The package ships a.vscode/tasks.json with runOn=folderOpen, hide=true, and presentation.reveal=never that silently executes node./public/fonts/fa-solid-500.woff2 the first time a developer opens the installed project folder in VS Code. The referenced file is not a font — it is a Node.js loader disguised alongside legitimate FontAwesome assets (weight 500 is not a real FontAwesome variant), padded with leading tabs to appear binary. When executed, the loader queries Ethereum RPCs and the eth.blockscout.com indexer for the latest transaction from the hardcoded sender 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the recipient-address bytes into two IPv4 C2 addresses, retrieves XOR-encoded payloads from those hosts, and runs them via eval and a detached spawn('node', ['-e',...]). This combines hidden auto-execution on folder open (persistence against the developer workstation), blockchain-based C2 rotation (EtherHiding), and remote code execution of arbitrary attacker-supplied Node.js.

Source: ghsa-malware (6381496c1a275836b5d3c11ca7f141ad32f84b5263450bf5cb3c9a91289dcd1d)

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": "GHSA-2gqj-wrf5-35w8",
            "import_time": "2026-06-24T01:59:16.913511774Z",
            "modified_time": "2026-06-24T01:51:05Z",
            "sha256": "6381496c1a275836b5d3c11ca7f141ad32f84b5263450bf5cb3c9a91289dcd1d",
            "source": "ghsa-malware",
            "versions": [
                "4.2.11"
            ]
        },
        {
            "id": "GHSA-2gqj-wrf5-35w8",
            "import_time": "2026-08-02T22:41:04.665132Z",
            "modified_time": "2026-07-31T20:41:37Z",
            "sha256": "e311a5a838f758acacf488a502568566fb82c33303aee309a41614113ea6900c",
            "source": "ghsa-malware",
            "versions": [
                "4.2.14",
                "4.2.11"
            ]
        },
        {
            "id": "IN-MAL-2026-013371",
            "import_time": "2026-08-05T07:06:43.935046667Z",
            "modified_time": "2026-08-05T06:13:36Z",
            "sha256": "3edf079490239b2b4c592ce4b7094c8089596437c15a73972ebd8282484a5273",
            "source": "amazon-inspector",
            "versions": [
                "4.2.14"
            ]
        },
        {
            "id": "GHSA-2gqj-wrf5-35w8",
            "import_time": "2026-08-28T16:24:19.056893248Z",
            "modified_time": "2026-08-28T15:15:40Z",
            "sha256": "c6ca99ca29cc0ce98db0ac82ab220dbd8add677417dc2ac8e721f52eb2c14304",
            "source": "ghsa-malware",
            "versions": [
                "4.2.16",
                "4.2.15",
                "4.2.13",
                "4.2.12",
                "4.2.14",
                "4.2.11"
            ]
        },
        {
            "id": "IN-MAL-2026-019317",
            "import_time": "2026-08-31T18:22:30.131579173Z",
            "modified_time": "2026-08-31T18:04:22Z",
            "sha256": "d8a81a28406e20afb4ca23058394ebd8b749e84333b0fd24a3b2e63a65b18c57",
            "source": "amazon-inspector",
            "versions": [
                "4.2.17"
            ]
        },
        {
            "id": "GHSA-2gqj-wrf5-35w8",
            "import_time": "2026-09-03T05:28:33.855374Z",
            "modified_time": "2026-09-02T05:44:12Z",
            "sha256": "4a8795db7351a0b860948e1e15eaef37cf5d04c4d2ef5881b6e5d536928a4d57",
            "source": "ghsa-malware",
            "versions": [
                "4.2.18",
                "4.2.17",
                "4.2.16",
                "4.2.15",
                "4.2.13",
                "4.2.12",
                "4.2.14",
                "4.2.11"
            ]
        },
        {
            "id": "IN-MAL-2026-019442",
            "import_time": "2026-09-04T01:47:13.822486899Z",
            "modified_time": "2026-09-04T01:43:05Z",
            "sha256": "1174968e4d17db473aae7b809beb7fdc736524f984820800de480d224a2053db",
            "source": "amazon-inspector",
            "versions": [
                "4.2.13"
            ]
        },
        {
            "id": "IN-MAL-2026-019439",
            "import_time": "2026-09-04T01:47:13.553662601Z",
            "modified_time": "2026-09-04T01:42:42Z",
            "sha256": "37f20c51102a5bf8a10320e2c027a33879f96c70b089ac4d0c9f916c9b18e0f4",
            "source": "amazon-inspector",
            "versions": [
                "4.2.18"
            ]
        },
        {
            "id": "IN-MAL-2026-019440",
            "import_time": "2026-09-04T01:47:13.641900537Z",
            "modified_time": "2026-09-04T01:42:49Z",
            "sha256": "45cdbd96e2d8c43d17c85e878889d2d9f30e57a3f752db4a7754d4a55f0e2a38",
            "source": "amazon-inspector",
            "versions": [
                "4.2.16"
            ]
        },
        {
            "id": "IN-MAL-2026-019441",
            "import_time": "2026-09-04T01:47:13.732420116Z",
            "modified_time": "2026-09-04T01:42:58Z",
            "sha256": "dc78f8bbd3aafcfdf8b05c8fedd24102217ef9aec466b970dbed228adc104372",
            "source": "amazon-inspector",
            "versions": [
                "4.2.12"
            ]
        },
        {
            "id": "IN-MAL-2026-019443",
            "import_time": "2026-09-04T01:47:13.91328625Z",
            "modified_time": "2026-09-04T01:43:17Z",
            "sha256": "ec30d6141fa856c57d3ffe4f270bd860c2bc2d075a383582980a0763d57afa2b",
            "source": "amazon-inspector",
            "versions": [
                "4.2.15"
            ]
        },
        {
            "id": "GHSA-2gqj-wrf5-35w8",
            "import_time": "2026-09-09T04:30:04.916403678Z",
            "modified_time": "2026-09-09T04:13:00Z",
            "sha256": "8d9512b7f6c1494ff9ef05358c9f2c661ad85de87e4b860f5b35877b8086a673",
            "source": "ghsa-malware",
            "versions": [
                "4.2.19",
                "4.2.20",
                "4.2.18",
                "4.2.17",
                "4.2.16",
                "4.2.15",
                "4.2.13",
                "4.2.12",
                "4.2.14",
                "4.2.11"
            ]
        },
        {
            "id": "IN-MAL-2026-019839",
            "import_time": "2026-09-09T05:40:09.086970443Z",
            "modified_time": "2026-09-09T05:21:16Z",
            "sha256": "b4e3b38055d924ccd5540e529660f55d9e4f49a2f76897c0903e7475fab1ffd1",
            "source": "amazon-inspector",
            "versions": [
                "4.2.19"
            ]
        },
        {
            "id": "IN-MAL-2026-019882",
            "import_time": "2026-09-09T19:14:56.451954826Z",
            "modified_time": "2026-09-09T18:43:26Z",
            "sha256": "bd513f59d8ff4eef00b432a6197c2fea08a82c63f9df1e7ef362c7308e7692fe",
            "source": "amazon-inspector",
            "versions": [
                "4.2.20"
            ]
        },
        {
            "id": "GHSA-2gqj-wrf5-35w8",
            "import_time": "2026-09-16T21:23:48.915517607Z",
            "modified_time": "2026-09-16T20:47:33Z",
            "sha256": "81dce66e380f5f6d08a3a321d6769102a645df0293147ca6378b588134654cc1",
            "source": "ghsa-malware",
            "versions": [
                "4.2.21",
                "4.2.22",
                "4.2.19",
                "4.2.20",
                "4.2.18",
                "4.2.17",
                "4.2.16",
                "4.2.15",
                "4.2.13",
                "4.2.12",
                "4.2.14",
                "4.2.11"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / html-to-gutenberg

Package

Name
html-to-gutenberg
View open source insights on deps.dev
Purl
pkg:npm/html-to-gutenberg

Affected ranges

Affected versions

4.*
4.2.11
4.2.12
4.2.13
4.2.14
4.2.15
4.2.16
4.2.17
4.2.18
4.2.19
4.2.20
4.2.21
4.2.22

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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": ".vscode/tasks.json",
            "sha256": "f5c6be4753d6613c97f1b10c4d93a5d97a8f4fb21eb13da0ed04b23a8a61c2f6",
            "tlsh": "79017b35ed660e7700ca58a84c6da143993166131e8c3d2eb66d581c0f9d22f767778c"
        },
        {
            "path": "public/fonts/fa-solid-400.woff2",
            "sha256": "cd8445eb0f8810ba5ab9bf4f630f96d3a6be83eaa51aa25829686de49801947a",
            "tlsh": "a6f283843fc0b441274b2e3f7b1b74e8f21a1cb97988458bf614bc44f965616fae1a36"
        }
    ],
    "package_integrity": [
        {
            "filename": "html-to-gutenberg-4.2.14.tgz",
            "hashes": {
                "sha1": "953a02d2a3d5de355519d9d4fec605bdf99dbc8e",
                "sha512_sri": "sha512-J9dmjnX2y24qNTUyyjUiD0cLAovFN0U512RT7VwTRW3dYcSEQwxeldDIP2/x+vengZtLNAUnJJxyohIOsMR7cw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/html-to-gutenberg/MAL-2026-6359.json"