Malicious Code Injection in mad_porcupine-silentdev Package
Summary
MAL-2025-105441: Malicious code in mad_porcupine-silentdev (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
mad_porcupine-silentdev is an npm package that is part of a broader ecosystem of packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the proliferation of untrustworthy packages, potentially compromising the integrity of applications that depend on them. The continuous republishing of these variants can also clutter the npm registry, making it difficult for developers to find legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mad_porcupine-silentdev
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 prevent the installation of this package by using npm's package-lock.json file to lock your dependencies. You can also use the following command to uninstall the package: npm uninstall mad_porcupine-silentdev.
Conclusion
The mad_porcupine-silentdev package poses a significant risk due to its malicious code designed to manipulate package data and republish variants. It is crucial for developers to remove this package and stay vigilant about their dependencies to maintain the security and integrity of their applications.
See every vulnerability recorded for mad_porcupine-silentdev →
FAQ
mad_porcupine-silentdev is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the inclusion of untrustworthy packages in your application, potentially compromising its security and functionality.
You should immediately uninstall the mad_porcupine-silentdev package and monitor for any updates or patches that may be released.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Vulert is a tool that monitors open-source vulnerabilities in your software using just the package-lock.json file. It provides real-time alerts for any vulnerabilities detected.