ralph-lisa-loop
Warn
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: MEDIUMPERSISTENCEPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill installs
scripts/stop-hook.shas aStophook in the agent's configuration (~/.claude/settings.json). This script checks for an active session file and returns ablockdecision to the platform if the loop is not yet complete, forcing the agent to continue execution across turns. - [PRIVILEGE_ESCALATION]: The skill modifies the agent's primary configuration file (
~/.claude/settings.json) and uses theclaude mcp addcommand to register new MCP servers. Furthermore, worker subagents are dispatched via theAgenttool using thebypassPermissionsflag, which allows them to modify files without individual user approval steps for each edit. - [COMMAND_EXECUTION]: The skill performs several automated system operations, including configuring MCP servers, executing the
codexCLI for external reviews, and running bash scripts (eval.sh,stop-hook.sh) that usegrep,sed,awk, andjqto parse and manipulate session state files. - [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted data from multiple sources: the
artifact_pathcontaining project plans and source code, summaries from worker subagents, and natural language review responses from Codex. While theguide.mdspecifies a 'Trust Boundary' where the orchestrator must map reviewer output to a structured ledger rather than executing it directly, the ingestion of these external artifacts into subagent prompts creates an attack surface for indirect instructions. Mandatory Evidence Chain: 1. Ingestion: plan artifacts, worker summaries, and Codex review responses. 2. Boundary markers:guide.mdexplicitly warns about adversarial content in repository artifacts and treats Codex output as advisory. 3. Capability inventory: file system modifications (subagents), command execution (codex), and agent configuration modification. 4. Sanitization: the orchestrator maps natural language reviewer feedback into a structured finding ledger.
Audit Metadata