Malicious Code Vulnerability in asleep_python_black-91 Package
Summary
MAL-2025-99635: Malicious code in asleep_python_black-91 (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 asleep_python_black-91 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 alters its own package.json file and publishes variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The malicious code is designed to exploit the npm registry's trust in developers, thereby posing a significant risk to users and developers alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall asleep_python_black-91
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 asleep_python_black-91 package by using npm's package-lock.json to lock your dependencies. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The asleep_python_black-91 package contains a serious vulnerability due to its malicious code, which alters package metadata and floods the npm registry with untrusted packages. It is crucial for developers to remove this package and utilize tools like Vulert to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for asleep_python_black-91 →
FAQ
The malicious code can lead to the pollution of the npm registry and compromise the integrity of your project by introducing untrusted packages.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
You should remove the package immediately and monitor your project for any unusual behavior or additional vulnerabilities.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software, using just the package-lock.json file.