MAL-2026-10709 Malicious code in @cyberrant-rantai/rantai (npm)
Malicious package
Published
MAL-2026-10709 is a malicious package: @cyberrant-rantai/rantai (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-10709/ (Markdown: https://insights.sbomify.com/MAL-2026-10709/index.md)
- Package
- @cyberrant-rantai/rantai
- Registry
- npm
What is MAL-2026-10709?
MAL-2026-10709 is a malicious package in @cyberrant-rantai/rantai, published on 16 Jul 2026.
Official description
runtime/local_agent.py opens a Socket.IO client connection to a hardcoded server at https://app.cyberrant.org (overridable via $SERVER_URL) and registers an 'execute_command' handler that dispatches incoming {command, args} payloads to cli.task_executor.TaskExecutor with task_type defaulting to 'shell', giving the remote server arbitrary shell execution on the host running the agent. runtime/cli/web_connector.py enrolls the CLI itself against CYBERRANT_WS_URL (default https://api.cyberrant.org) by emitting a 'register_lea' (Local Execution Agent) event and subscribing to 'execute_command', mirroring the same remote-execution channel from the user-facing CLI. Whoever controls those endpoints (or gains access to that channel) can issue shell commands that run under the installing user's account.
What should I do about MAL-2026-10709?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.