Malicious Code Injection in maya-teh7-breki: A Threat to npm Packages
Summary
MAL-2025-74441: Malicious code in maya-teh7-breki (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 package 'maya-teh7-breki' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to generate and publish derivative packages with altered metadata, impacting the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'maya-teh7-breki' stems from its involvement in a malicious token reward campaign that floods the npm registry with spam packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may contain harmful code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-teh7-breki
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 'maya-teh7-breki' package and replace it with a trusted alternative. Always verify the integrity of packages before installation.
Conclusion
The 'maya-teh7-breki' package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to remove this package and remain vigilant about the integrity of their dependencies. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for maya-teh7-breki →
FAQ
The vulnerability can lead to the installation of malicious code, compromising the security of applications that depend on this package.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Immediately uninstall the package using 'npm uninstall maya-teh7-breki' and review your project's dependencies for any other potentially compromised packages.
Yes, consider using well-established and trusted packages that serve similar functionalities. Always check the package's reputation and reviews.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from reputable sources.