MAL-2026-18593

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-contact-forms/MAL-2026-18593.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18593
Aliases
  • GHSA-9pj8-f47m-rgp8
Published
2026-11-04T00:26:08Z
Modified
2026-11-04T07:45:09Z
Summary
Malicious code in react-contact-forms (npm)
Details

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

Source: amazon-inspector (c9d186bd6a8ec4a6482a8e951bac94904fef98f09e8a8fff714dd4526ba93557)

The package publishes as 'react-contact-forms' but its package.json author is '@tailwindcss' and its repository points at tailwindlabs/tailwindcss-forms. The declared main src/index.js begins with eval(atob('<~50KB base64 blob>')) and then appends the verbatim tailwindcss-forms plugin source as cover. The decoded loader imports node:http, node:https, node:zlib, node:url, and node:child_process, reconstructs strings from an array, and spawns a child node process to execute code assembled at runtime. The decoded strings include Ethereum JSON-RPC method names (eth_blockNumber, eth_getBlockByNumber, eth_getTransactionCount), RPC hosts (publicnode.com, drpc.org, blockscout.com), an Etherscan-style txlist query (module=ac...action=txlist...address=...startblock=0&endblock=99999999&sort=desc), and hardcoded hex addresses (0x1eEf0849..., EDa15d87f6..., 4e51C73C84...) — the EtherHiding pattern where the next-stage payload is retrieved from attacker-controlled blockchain state and executed on the installer. The loader fires on every require()/import of the package, so any consumer that installs this package and loads it runs attacker-controlled code in their build or app runtime. The brand impersonation of @tailwindcss and the appended genuine tailwindcss-forms code are concealment for the prepended loader.

Source: ghsa-malware (cef380e496b73380cc92edc7ee7e209147af023401f34392f3b8cc556ad0a4af)

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-9pj8-f47m-rgp8",
            "import_time": "2026-11-04T00:37:30.047525167Z",
            "modified_time": "2026-11-04T00:26:09Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "cef380e496b73380cc92edc7ee7e209147af023401f34392f3b8cc556ad0a4af",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022542",
            "import_time": "2026-11-04T07:37:35.619304794Z",
            "modified_time": "2026-11-04T07:35:41Z",
            "sha256": "c9d186bd6a8ec4a6482a8e951bac94904fef98f09e8a8fff714dd4526ba93557",
            "source": "amazon-inspector",
            "versions": [
                "0.5.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / react-contact-forms

Package

Name
react-contact-forms
View open source insights on deps.dev
Purl
pkg:npm/react-contact-forms

Affected ranges

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

Affected versions

0.*
0.5.2

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": "src/index.js",
            "sha256": "5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24e",
            "tlsh": "38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67"
        },
        {
            "path": "package.json",
            "sha256": "617d8d5fe83d18ce049a42ad84b314077d43813311413c75697b56277338af22",
            "tlsh": "0521c726cd140e7306e0283592b90183b297a863895cbc593386c29c8f8d5bfe0fa09f"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-contact-forms/MAL-2026-18593.json"