GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
mal-2026-16195
Vulnerability from ossf_malicious_packages
Published
2026-09-15 15:54
Modified
2026-09-15 16:28
Summary
Malicious code in tailwind-forms-styles (npm)
Details

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

Source: amazon-inspector (92f06c2ce29f04ce06cfb494996cb6ffde7aea02af92489abcacf10cbcb7beb2)

tailwind-forms-styles ships a src/index.js that is fully obfuscated with obfuscator.io (rotated 303-entry string array, hex-named identifiers, control-flow flattening) and bears no relation to the Tailwind forms plugin advertised in the README and src/index.d.ts. On require() the module opens HTTP(S)/zlib streams to Ethereum RPC endpoints (public.blockscout, .drpc.org, .publicnode.com) and an etherscan-like transaction indexer, queries transactions for the hardcoded address 0xa322E5f3D311D3080e9aDC2490Ef6f0121063e1a, imports node:child_process spawn, and injects reconstructed strings into the Node global object (_t_u, _t_s, _H, _H2, _r=require, _m=module, _global=global). This is an EtherHiding-style loader that pulls executable payload data from attacker-controlled on-chain storage and hands it to child_process/global-eval sinks, producing arbitrary code execution on the machine that requires the package (e.g. from tailwind.config.js during a build). The package name and the package.json repository field pointing at tailwindlabs/tailwindcss-forms are impersonation of the real @tailwindcss/forms plugin to induce installation.

Source: ghsa-malware (3394e75d27307e27ab0fed8e037bc3f0c8b3b1e4bd7808c78f3f9c88212383fc)

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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "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": "f5fd0ca9d7642087d0edf609c126197b4d958cc2e1d576c62d444287444e229d",
              "tlsh": "9503e9957e81121a33434f7fba1bf4e4e12a1899369448c7d21cbc94f8e631ae9f6d34"
            },
            {
              "path": "package.json",
              "sha256": "3d2f74c1ce8ff1f79a59c0bcabf33f2aa7c0d950ee487ae0223aff3a894a52bd",
              "tlsh": "bd21c822cd140e7301e0293596f91183b297a4638a6cf8193396c19c8f8d6bfe0fa09f"
            }
          ],
          "package_integrity": [
            {
              "filename": "tailwind-forms-styles-0.5.2.tgz",
              "hashes": {
                "sha1": "068527fa122a4ce22bd46e81294e702a979d0e14",
                "sha512_sri": "sha512-ogCSpG7qJWjMmzLgGM/Tn+HInQZvqdSzvY6DoQmxf9k0CBPL/TEl4wA6aZqcLmku7EqSAZ4UCcTf5ZnYrY7ssQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "tailwind-forms-styles"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "0.5.2"
      ]
    }
  ],
  "aliases": [
    "GHSA-q8wp-7xrg-83rx"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-020060",
        "import_time": "2026-09-15T16:19:15.344447492Z",
        "modified_time": "2026-09-15T15:54:48Z",
        "sha256": "92f06c2ce29f04ce06cfb494996cb6ffde7aea02af92489abcacf10cbcb7beb2",
        "source": "amazon-inspector",
        "versions": [
          "0.5.2"
        ]
      },
      {
        "id": "GHSA-q8wp-7xrg-83rx",
        "import_time": "2026-09-15T16:27:03.932297515Z",
        "modified_time": "2026-09-15T16:16:46Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "3394e75d27307e27ab0fed8e037bc3f0c8b3b1e4bd7808c78f3f9c88212383fc",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (92f06c2ce29f04ce06cfb494996cb6ffde7aea02af92489abcacf10cbcb7beb2)\ntailwind-forms-styles ships a src/index.js that is fully obfuscated with obfuscator.io (rotated 303-entry string array, hex-named identifiers, control-flow flattening) and bears no relation to the Tailwind forms plugin advertised in the README and src/index.d.ts. On require() the module opens HTTP(S)/zlib streams to Ethereum RPC endpoints (public.blockscout, *.drpc.org, *.publicnode.com) and an etherscan-like transaction indexer, queries transactions for the hardcoded address 0xa322E5f3D311D3080e9aDC2490Ef6f0121063e1a, imports node:child_process spawn, and injects reconstructed strings into the Node global object (`_t_u`, `_t_s`, `_H`, `_H2`, `_r`=require, `_m`=module, `_global`=global). This is an EtherHiding-style loader that pulls executable payload data from attacker-controlled on-chain storage and hands it to child_process/global-eval sinks, producing arbitrary code execution on the machine that requires the package (e.g. from tailwind.config.js during a build). The package name and the package.json repository field pointing at tailwindlabs/tailwindcss-forms are impersonation of the real @tailwindcss/forms plugin to induce installation.\n\n## Source: ghsa-malware (3394e75d27307e27ab0fed8e037bc3f0c8b3b1e4bd7808c78f3f9c88212383fc)\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-16195",
  "modified": "2026-09-15T16:28:57.674603628Z",
  "published": "2026-09-15T15:54:48Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/tailwind-forms-styles/v/0.5.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-q8wp-7xrg-83rx"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in tailwind-forms-styles (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

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.


Loading…