Malicious Code Injection in buffer-airbnb-rollup-plugin-aether: npm Package Vulnerability
Summary
MAL-2025-140151: Malicious code in buffer-airbnb-rollup-plugin-aether (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 buffer-airbnb-rollup-plugin-aether package is part of the npm ecosystem, typically used in JavaScript projects for rollup plugins. It is designed to facilitate the bundling of JavaScript files for web applications. However, this package has been compromised, making it susceptible to malicious code injections that can affect developers and their projects.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the buffer-airbnb-rollup-plugin-aether package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names to inflate developer reputation scores. The malicious code continuously republishes these variants, polluting the npm registry and potentially leading to security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall buffer-airbnb-rollup-plugin-aether
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 buffer-airbnb-rollup-plugin-aether package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The buffer-airbnb-rollup-plugin-aether package has been compromised with malicious code that alters its functionality and poses significant risks to developers. It is crucial to update or remove this package to safeguard your projects from potential threats.
See every vulnerability recorded for buffer-airbnb-rollup-plugin-aether →
FAQ
It is an npm package used as a rollup plugin for bundling JavaScript files in web applications.
If you have this package installed, your project may be at risk of malicious code execution, which can lead to security breaches and data loss.
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.
Consider removing the package from your project and using alternative solutions until a secure version is available.
Detailed information can be found on the official npm registry and security advisories related to the buffer-airbnb-rollup-plugin-aether package.