Malicious Code Detected in bindofn Package - Security Alert
Summary
MAL-2025-15692: Malicious code in bindofn (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 bindofn package is an npm library that provides functionality for binding functions in JavaScript. It is commonly used in various applications to enhance code modularity and reusability. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to users and their applications.
Vulnerability Detail
The bindofn package has been identified to contain malicious code that can compromise the security of applications utilizing this library. The vulnerability originates from the package itself, which was found to be intentionally modified to execute harmful operations. This can lead to unauthorized access, data breaches, or other malicious activities within the affected applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bindofn
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 may consider removing the bindofn package from your project until a secure version is released. You can do this by running the command: npm uninstall bindofn.
Conclusion
The bindofn package has been flagged for containing malicious code, posing a serious security threat. Users are advised to update or remove the package immediately to safeguard their applications. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for bindofn →
FAQ
bindofn is an npm package used for binding functions in JavaScript, enhancing code modularity.
The malicious code was identified through security audits and reports from security tools like Amazon Inspector.
Using the compromised package can lead to unauthorized access, data breaches, and potential exploitation of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies, use tools like Vulert for monitoring, and keep your packages updated to mitigate risks.