MAL-2026-10452

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/markdown-editable-table/MAL-2026-10452.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10452
Aliases
  • GHSA-jf3r-qgv3-frvm
Published
2026-07-13T14:20:16Z
Modified
2026-07-13T19:01:57Z
Summary
Malicious code in markdown-editable-table (npm)
Details

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

Source: amazon-inspector (b6b15669732f3eaec42e12c5f8d41a8f74d595fc04f709804de9768cb1719a94)

The package's package.json declares a preinstall hook (node index.d.js) that runs automatically on npm install. The script in index.d.js base64-decodes a payload whose decoded body fetches JavaScript from https://everydaynodechecker-39143n.vercel.app/api/key?mem=root1 and passes the response to eval. Both the destination URL (hidden inside a base64 blob) and the eval identifier (reassembled from the char-code array [101,118,97,108] via String.fromCharCode and invoked as globalThis[tag](text)) are obfuscated. The package metadata (repository wooorm/markdown-table, description, funding) impersonates the legitimate markdown-table package while shipping unrelated code, indicating a typosquat lure. Installing the package results in arbitrary attacker-controlled JavaScript executing on the installer's machine.

Source: ghsa-malware (3f924484ba4bd07b0a0b1315b9a6f43e128662ae50d2b52c4bbe10ff190d5d0c)

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-010255",
            "import_time": "2026-07-13T15:30:30.496621791Z",
            "modified_time": "2026-07-13T14:20:16Z",
            "sha256": "1af9c15e72bbf2919f740704b32ee6426447d5aade488dd65e2bffe4904afe9b",
            "source": "amazon-inspector",
            "versions": [
                "2.4.3"
            ]
        },
        {
            "id": "IN-MAL-2026-010256",
            "import_time": "2026-07-13T15:30:30.629876241Z",
            "modified_time": "2026-07-13T14:20:26Z",
            "sha256": "b6b15669732f3eaec42e12c5f8d41a8f74d595fc04f709804de9768cb1719a94",
            "source": "amazon-inspector",
            "versions": [
                "2.4.4"
            ]
        },
        {
            "id": "IN-MAL-2026-010257",
            "import_time": "2026-07-13T15:30:30.766771954Z",
            "modified_time": "2026-07-13T14:20:34Z",
            "sha256": "d477050087c5745224760506a048cc6467a7f33d987458e0bcbfdae6a1a94b92",
            "source": "amazon-inspector",
            "versions": [
                "2.4.2"
            ]
        },
        {
            "id": "GHSA-jf3r-qgv3-frvm",
            "import_time": "2026-07-13T18:49:48.997149831Z",
            "modified_time": "2026-07-13T18:27:03Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3f924484ba4bd07b0a0b1315b9a6f43e128662ae50d2b52c4bbe10ff190d5d0c",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / markdown-editable-table

Package

Name
markdown-editable-table
View open source insights on deps.dev
Purl
pkg:npm/markdown-editable-table

Affected ranges

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

Affected versions

2.*
2.4.2
2.4.3
2.4.4

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.d.js",
            "sha256": "8b7f0e6e0adc8f72491b79ccb4da9c6a744fd9985dff1d28992b9628c08685a2",
            "tlsh": "c9f09ef913e630b0e15404cf2a989404a7a6e5f3362c8976f41e8dc91996c00c5e82b4"
        }
    ],
    "package_integrity": [
        {
            "filename": "markdown-editable-table-2.4.3.tgz",
            "hashes": {
                "sha1": "722c160183f52d3ab316cdf39172f74bd30e873a",
                "sha512_sri": "sha512-AuQCvXwR2K9ji+vxmgLo2dDINBQjxTsJZI0WkKyMqY1/YN86s55/TeZs0SP/rw2+XZRdIT2jLdpZf+ndcMsZpQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/markdown-editable-table/MAL-2026-10452.json"