moot-court

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest case materials from JSON files (manifest.json) and role-play responses from sub-agents. This creates a surface for indirect prompt injection where adversarial instructions embedded in case files could potentially influence agent behavior.
  • Ingestion points: Case documents are read from user-provided manifests and distributed to roles via the packet function in scripts/clerk.py.
  • Boundary markers: The skill includes explicit instructions in the agent packets (e.g., in clerk.py) stating that commands found in materials or history are case content and should not be treated as tool or authority instructions.
  • Capability inventory: The skill facilitates sub-agent creation and local file writing within the user-specified run directory.
  • Sanitization: The scripts perform structural JSON validation and boundary checks, but do not semantically sanitize the legal text content for malicious prompt patterns.
  • [COMMAND_EXECUTION]: Several utility scripts and test files within the skill use the Python subprocess module to execute other local scripts within the same package.
  • Evidence: scripts/prepare_probe.py and scripts/test_clerk.py use subprocess.run to invoke scripts/clerk.py.
  • Context: These executions use sys.executable and target static, relative paths to internal skill files, indicating they are used for orchestration and automated testing rather than executing arbitrary external commands.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 09:01 AM