Skip to content
Heist/ feed
Unrated

Malicious code in tailwindcss-form-components (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ae9425c630e8b36b03993f6124066f178a86a285ae44e5e4590016ac575c4cac) index.js exposes getPlugin(), which performs an HTTP GET to http://46.183.25.232:45000/icons/106, parses the JSON response, and passes the `credits` field to `new Function(...)` with `require`, `module`, `process`, and `Buffer` injected — giving the remote endpoint full Node.js execution privileges on the consumer's host. The destination URL is assembled from split string fragments (protocol/separator/domain/path) and framed with icon/CDN-style naming (`iconDomain`, `bearrtoken: 'logo'`, path segment `icons/`), while a separate setDefaultModule function references a benign-looking cdnjs/font-awesome URL as a decoy. The package name typosquats the tailwindcss ecosystem, and declared dependencies include @primno/dpapi, better-sqlite3, and node-machine-id — libraries associated with Windows credential/DPAPI access, browser SQLite database reads, and host fingerprinting. The transport is plain HTTP to a bare IP with no integrity check, so the executed payload is attacker-controlled and mutable. ## Source: ghsa-malware (e81bbba31caeec4daee576d481d25be697795b026010c8f341e251bbcdc71031) 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

Announced Source revision 1
Original source ↗

MAL-2026-12223

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-12223

tailwindcss-form-components

Source reference: /affected/0/package/name

Affected versions
1.5.1

Source reference: /affected/0/versions

1.5.0

Source reference: /affected/0/versions

1.4.1

Source reference: /affected/0/versions

1.4.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "tailwindcss-form-components",
      "purl": "pkg:npm/tailwindcss-form-components",
      "ecosystem": "npm"
    },
    "versions": [
      "1.5.1",
      "1.5.0",
      "1.4.1",
      "1.4.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "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."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-form-components/MAL-2026-12223.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "1bc1826546f921a36a67e4edf30f100271a5e313375de931f48e42802fcb568e5f24e8",
            "sha256": "18c8cedc1bc23634bcae1dd736e4f59e261da12df5f14ab35252060b4f4504d1"
          },
          {
            "path": "package.json",
            "tlsh": "61f07810ce20de7314d5155668784097e054d84f9d00f80d339b86ac4f4e87f31fe26c",
            "sha256": "e1b7c94599d2dc1a1aca4300826185260549a0dd91bb91adec87708ceb38daaf"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "f02a8386b3b276a201496e2701817d08823f655e",
              "sha512_sri": "sha512-G1/6Gpel9+h1RCP28s3Zf8UITujLyvK9M/wbOFDs4Q1ZxtIy+g6900f/fTtw16/GoA0DHn+dBCUzv7qM3/IARQ=="
            },
            "filename": "tailwindcss-form-components-1.5.1.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#10870 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement