Malicious Code Injection in exprdd Package - npm Vulnerability

exprdd Updated 29 Sep 2026

Summary

29/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17241: Malicious code in exprdd (npm). Affects exprdd versions 5.2.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The exprdd package, version 5.2.1, is a malicious npm package that impersonates the widely-used express framework. It mimics express in terms of package name, description, author, contributors, repository, homepage, and keywords. This package is designed to deceive developers into installing it, believing it to be the legitimate express package.

Vulnerability Detail

The vulnerability arises from a preinstall lifecycle hook in the exprdd package's package.json file. This hook executes a command that fetches JavaScript code from a third-party host (codeberg.org) and pipes it directly into Node.js. The fetched code is unverified, mutable, and controlled by an attacker, executing with the installer's privileges before any legitimate package code is run. This poses a significant risk, especially for developers who might mistype 'express' as 'exprdd'.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall exprdd

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can use a package manager that supports package verification or auditing, such as npm audit, to identify and mitigate risks from malicious packages. Additionally, consider using Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.

Conclusion

The exprdd package poses a significant security risk due to its malicious nature and the method it uses to execute harmful code. Developers should be vigilant about package names and utilize tools like Vulert to monitor for vulnerabilities. Immediate action is required to remove this package and ensure the integrity of your applications.

See every vulnerability recorded for exprdd →

Share this vulnerability

FAQ

exprdd is a malicious npm package that impersonates the express framework, designed to deceive developers into installing it.

The vulnerability exploits a preinstall lifecycle hook that fetches and executes unverified JavaScript code from a third-party source.

Using exprdd can lead to executing malicious code with the installer's privileges, potentially compromising the system and data.

Always verify the package name and source before installation. Use 'npm install express' to ensure you are installing the legitimate package.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall exprdd

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback