Malicious Code Injection in straightforward_butterfly-appteadev Package
Summary
MAL-2025-109169: Malicious code in straightforward_butterfly-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 straightforward_butterfly-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 aims to inflate developer reputation scores through the creation of derivative packages. This package is particularly vulnerable due to its inclusion in a series of malicious npm packages that modify critical files and republish variants to the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the straightforward_butterfly-appteadev package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which are often themed around Indonesian culture. The malicious code is designed to continuously republish these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these packages. The ramifications include compromised package integrity and the risk of executing untrusted code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall straightforward_butterfly-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 remove the straightforward_butterfly-appteadev package from your project until a secure version is released. Use the following command to uninstall the package: 'npm uninstall straightforward_butterfly-appteadev'. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The straightforward_butterfly-appteadev package poses a significant security risk due to its malicious code that alters critical files and republish variants to the npm registry. It is essential to take immediate action by updating or removing the package and monitoring for vulnerabilities using tools like Vulert.
See every vulnerability recorded for straightforward_butterfly-appteadev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The malicious code modifies your package.json file and can lead to the republishing of compromised packages, affecting the integrity of your project.
You should uninstall the package immediately and monitor for any updates or patches that may address the vulnerability.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.