{"id":"MAL-2026-10709","revision":"42bf9a35e61d43f1839d4f603fedeceb","records":[{"revision":"42bf9a35e61d43f1839d4f603fedeceb","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10709","aliases":[],"title":"Malicious code in @cyberrant-rantai/rantai (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (41d1dbf6fb83f9a7c4c4b94ee40255e86910714400e249fec55b031e809c92bd)\nruntime/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.\n","state":0,"publishedAt":"2026-07-16T18:47:27+00:00","modifiedAt":"2026-07-16T19:19:55.192105+00:00","affected":[{"ecosystem":"npm","name":"@cyberrant-rantai/rantai","ranges":[],"versions":["1.0.15"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@cyberrant-rantai/rantai/v/1.0.15"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10709","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10709","identifiers":["MAL-2026-10709"]},"retained":false,"historicalAffected":[]}],"coverage":[]}