Malicious Code Vulnerability in ayoubmacaron Package
Summary
MAL-2025-170939: Malicious code in ayoubmacaron (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 ayoubmacaron package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is implicated in a malicious campaign that aims to exploit the npm registry by generating and publishing numerous derivative packages. The primary functionality of ayoubmacaron is not clearly defined due to its malicious intent, which undermines the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability stems from the package being part of a broader malicious campaign associated with the tea.xyz token reward initiative. This campaign involves the use of scripts that automatically modify the package.json file to remove private flags, alter version numbers, and create random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers' reputation scores.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ayoubmacaron
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 ayoubmacaron package and instead look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The ayoubmacaron package poses a significant risk due to its involvement in a malicious npm campaign. It is essential to remove this package from your projects and monitor for any vulnerabilities using tools like Vulert. Always prioritize the security of your dependencies to maintain the integrity of your applications.
See every vulnerability recorded for ayoubmacaron →
FAQ
The ayoubmacaron package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies, potentially affecting your application's security and performance.
If you have installed ayoubmacaron, it is recommended to uninstall it immediately using the command: npm uninstall ayoubmacaron.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, always look for well-reviewed and actively maintained packages in the npm registry that serve similar purposes without the associated risks.