Malicious Code Vulnerability in constitutional_macaw-appteadev Package
Summary
MAL-2025-100895: Malicious code in constitutional_macaw-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 constitutional_macaw-appteadev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and security.
Vulnerability Detail
The vulnerability originates from the package's involvement in a campaign that floods the npm registry with malicious packages. It includes autopublish scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall constitutional_macaw-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 avoid using the constitutional_macaw-appteadev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The constitutional_macaw-appteadev package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to take immediate action by removing the package and monitoring for updates. Utilizing tools like Vulert can help maintain the security of your projects by providing real-time vulnerability alerts.
See every vulnerability recorded for constitutional_macaw-appteadev →
FAQ
It is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may expose your project to security risks if compromised packages are used.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities using your package-lock.json file without requiring installation.
Regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation.