Malicious Code Detected in audiogen: A Critical npm Vulnerability
Summary
MAL-2025-15036: Malicious code in audiogen (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 'audiogen' package is an npm library designed for generating audio files programmatically. It is utilized in various applications that require audio processing or generation. However, this package has been identified to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the 'audiogen' package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code can lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall audiogen
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, users should consider removing the 'audiogen' package from their project until a secure version is available. This can be done by executing: npm uninstall audiogen.
Conclusion
The discovery of malicious code in the 'audiogen' package poses a serious threat to users and their applications. Immediate action is required to mitigate risks, including uninstalling the package and monitoring for updates. Utilizing tools like Vulert can aid in identifying vulnerabilities in your projects.
See every vulnerability recorded for audiogen →
FAQ
The malicious code can perform unauthorized actions within the user's application, potentially leading to data theft or system compromise.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Currently, there is no safe version available. Users should refrain from using the package until a patched version is released.
It is recommended to uninstall the package immediately and monitor for updates regarding a secure version.
Yes, vulnerabilities can be reported to the maintainers of the package or through platforms that track open-source vulnerabilities.