sol-luna-router

Pass

Audited by Gen Agent Trust Hub on Oct 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/run_luna_worker.py utilizes the subprocess module to launch a local executable named codex. This process handles the execution of the Luna worker agent. While this is the core function of the router, it involves the execution of commands with parameters determined at runtime.
  • [INDIRECT_PROMPT_INJECTION]: The architecture delegates tasks from a commander agent (Sol) to a worker agent (Luna) by generating intermediate prompt files. This creates a surface for indirect prompt injection, where data processed by Sol could contain instructions that maliciously influence the worker's behavior.
  • Ingestion points: Tasks are defined in temporary files (task.md) which are read by the runner and passed to the worker agent in scripts/run_luna_worker.py.
  • Boundary markers: Prompts for review tasks are wrapped in a defined BOUNDED_REVIEW_POLICY to enforce constraints on the worker's capabilities.
  • Capability inventory: The Luna worker is capable of modifying the local filesystem when running in workspace-write mode, which includes file creation and editing within the target repository.
  • Sanitization: The implementation focuses on usage and metadata validation but does not include explicit filtering or sanitization of the natural language instructions passed between the agents.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 22, 2026, 01:03 PM