Malicious Code Injection in Inevitable Magpie-Appteadev Package
Summary
MAL-2025-104181: Malicious code in inevitable_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 inevitable_magpie-appteadev package is part of the npm ecosystem, often utilized in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, making it a target for vulnerabilities.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for unauthorized access to sensitive data and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inevitable_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 workaround, you can prevent the installation of the affected package by using npm's package-lock.json to monitor dependencies. You can also use the following command to uninstall the package: npm uninstall inevitable_magpie-appteadev.
Conclusion
The inevitable_magpie-appteadev package poses a significant security risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial to remove this package and monitor your dependencies for any vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for inevitable_magpie-appteadev →
FAQ
It is a package in the npm ecosystem associated with the tea.xyz token reward campaign, known for containing malicious code.
The vulnerability can lead to unauthorized modifications in your package.json file and can potentially compromise your application's security.
You should remove the package immediately and check for any updates or patches that may be available.
Yes, Vulert can monitor your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.