Malicious Code Detected in AVNjs Package - Security Alert
Summary
MAL-2025-15207: Malicious code in AVNjs (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
AVNjs is an npm package designed for managing and automating versioning in JavaScript applications. It offers features such as automatic version bumping and changelog generation, making it a valuable tool for developers. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to users who have integrated it into their projects.
Vulnerability Detail
The vulnerability in the AVNjs package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. 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 AVNjs
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 can avoid using the AVNjs package and manually manage versioning and changelog generation in their projects until a secure alternative is found.
Conclusion
The discovery of malicious code in the AVNjs package presents a serious security threat to developers and their applications. Immediate action is required to mitigate risks, including removing the package and monitoring for updates or alternatives. Utilizing tools like Vulert can help ensure ongoing security in your projects.
See every vulnerability recorded for AVNjs →
FAQ
AVNjs is an npm package that helps developers manage versioning and changelogs in their JavaScript applications.
The malicious code can lead to unauthorized access and potential data breaches in applications using the AVNjs package.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities. Simply upload your package-lock.json file to check for vulnerabilities in your application.
Currently, there is no patched version available for the AVNjs package. Users are advised to remove the package until a secure alternative is found.
Remove the AVNjs package from your project and consider using a secure alternative for managing versioning and changelogs.