Malicious Code Detected in callback-apex-ursa-toml Package
Summary
MAL-2025-16454: Malicious code in callback-apex-ursa-toml (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 callback-apex-ursa-toml package is an npm library designed for handling TOML (Tom's Obvious, Minimal Language) configuration files. It is utilized in various JavaScript applications for parsing and serializing TOML data. However, this package has been identified to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the callback-apex-ursa-toml package stems from the inclusion of malicious code that can compromise the security of applications using this library. This malicious code could potentially lead to unauthorized access, data breaches, or other harmful actions within the affected software environment. The issue was introduced in version 0 and affects all subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall callback-apex-ursa-toml
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 using alternative libraries for handling TOML files, such as 'toml' or 'toml-js', until the callback-apex-ursa-toml package is confirmed to be safe.
Conclusion
The callback-apex-ursa-toml package has been found to contain malicious code, posing serious security risks. Users are advised to uninstall the package and consider alternatives until a secure version is available. Regular monitoring for vulnerabilities using tools like Vulert is recommended to maintain application security.
See every vulnerability recorded for callback-apex-ursa-toml →
FAQ
It is an npm library used for parsing and serializing TOML configuration files in JavaScript applications.
The malicious code can compromise application security, potentially leading to unauthorized access and data breaches.
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.
Immediately uninstall the package using 'npm uninstall callback-apex-ursa-toml' and consider using alternative libraries.
Currently, there is no patched version available. It is recommended to remove the package until a secure version is released.