Critical Malicious Code Vulnerability in safeness-sb-new Package
Summary
MAL-2026-1841: Malicious code in safeness-sb-new (npm). Affects safeness-sb-new versions 0.0.2. 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 safeness-sb-new package is a Node.js library designed for secure sandboxing of applications. It provides developers with tools to create isolated environments for executing untrusted code safely. However, this package has been found to contain malicious code that could compromise the security of applications using it.
Vulnerability Detail
The vulnerability originates from a malicious code injection within the safeness-sb-new package, specifically in version 0.0.2. This code can lead to unauthorized access to sensitive data or execution of arbitrary commands on the host system. The implications of this vulnerability are severe, as it can allow attackers to exploit the affected applications, leading to data breaches or system compromise.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall safeness-sb-new
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 remove the safeness-sb-new package from their project by executing the following command in their terminal:
npm uninstall safeness-sb-new
This will help mitigate the risk associated with the malicious code until a secure version is available.
Conclusion
The safeness-sb-new package has a critical vulnerability due to the presence of malicious code in version 0.0.2. Users are urged to remove the package and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications effectively.
See every vulnerability recorded for safeness-sb-new →
FAQ
The safeness-sb-new package is a Node.js library used for creating secure sandbox environments for executing untrusted code.
The malicious code can lead to unauthorized access to sensitive data or allow attackers to execute arbitrary commands on your system.
Currently, there is no patched version available for the safeness-sb-new package. Users are advised to remove it until a fix is released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.