Malicious Code Vulnerability in narrow_magpie-appteadev Package
Summary
MAL-2025-106180: Malicious code in narrow_magpie-appteadev (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
The narrow_magpie-appteadev package is part of the npm ecosystem, often utilized for various development tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores by generating and publishing derivative packages with randomized names, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the package being part of a token reward campaign that employs autopublish scripts to create and publish numerous derivative packages. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, ultimately leading to pollution of the npm registry. The ramifications include potential exposure to malicious code and compromised developer environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall narrow_magpie-appteadev
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 measure, you can avoid using the narrow_magpie-appteadev package until a secure version is released. Additionally, consider using a package-lock.json file to monitor dependencies and ensure that no malicious packages are included in your project.
Conclusion
The narrow_magpie-appteadev package poses a significant security risk due to its malicious code designed to manipulate npm registry practices. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for narrow_magpie-appteadev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and functionality.
You should immediately update the package to the latest version or remove it from your project to mitigate any risks.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.