MAL-2026-18593 (GHSA-9PJ8-F47M-RGP8)
Vulnerability from ossf_malicious_packages – Published: 2026-11-04 00:26 – Updated: 2026-11-04 07:39 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| npm |
react-contact-forms
|
Affected: All versions (semver)
0.5.2
|
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.
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.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
src/index.js
|
sha256
5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24etlsh
38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67 |
| Evidence file |
package.json
|
sha256
617d8d5fe83d18ce049a42ad84b314077d43813311413c75697b56277338af22tlsh
0521c726cd140e7306e0283592b90183b297a863895cbc593386c29c8f8d5bfe0fa09f |
- CWE-506 - Embedded Malicious Code
| URL | Tags |
|---|---|
| https://github.com/advisories/GHSA-9pj8-f47m-rgp8 | ADVISORY |
| https://www.npmjs.com/package/react-contact-forms… | PACKAGE |
{
"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": "src/index.js",
"sha256": "5b86d3e60cef86f314f5e279037bea95342b02f957ceda1c69f115066aeba24e",
"tlsh": "38433b76435e2addad2dcc00fbb9c5790305a4370036eacb896ebdac395e09f2046d67"
},
{
"path": "package.json",
"sha256": "617d8d5fe83d18ce049a42ad84b314077d43813311413c75697b56277338af22",
"tlsh": "0521c726cd140e7306e0283592b90183b297a863895cbc593386c29c8f8d5bfe0fa09f"
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "react-contact-forms"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"0.5.2"
]
}
],
"aliases": [
"GHSA-9pj8-f47m-rgp8"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"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"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c9d186bd6a8ec4a6482a8e951bac94904fef98f09e8a8fff714dd4526ba93557)\nThe package publishes as \u0027react-contact-forms\u0027 but its package.json author is \u0027@tailwindcss\u0027 and its repository points at tailwindlabs/tailwindcss-forms. The declared main src/index.js begins with eval(atob(\u0027\u003c~50KB base64 blob\u003e\u0027)) 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\u0026endblock=99999999\u0026sort=desc), and hardcoded hex addresses (0x1eEf0849..., EDa15d87f6..., 4e51C73C84...) \u2014 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.\n\n## Source: ghsa-malware (cef380e496b73380cc92edc7ee7e209147af023401f34392f3b8cc556ad0a4af)\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-18593",
"modified": "2026-11-04T07:39:26.717001103Z",
"published": "2026-11-04T00:26:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-9pj8-f47m-rgp8"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/react-contact-forms/v/0.5.2"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in react-contact-forms (npm)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.