co-pilot-loop
Pass
Audited by Gen Agent Trust Hub on Aug 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on the
Bashtool to execute multiple local Python scripts for agent orchestration, includingscripts/run_agent.py,scripts/agent_orchestrator.py, andrun_tests.py. While these appear to be internal project tools, shell execution carries risks if input parameters (such as the<INSTRUCTION>or<FEEDBACK>strings) are not properly sanitized against command injection. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8). The Supervisor agent (Claude) is instructed to read, audit, and approve design specifications and implementation plans generated by an Executor sub-agent (Gemini). If the sub-agent is compromised via malicious data in its workspace, it could generate instructions designed to manipulate the Supervisor's subsequent actions.
- Ingestion points: The Supervisor reads
docs/superpowers/specs/*.mdandimplementation_plan.mdcreated by the sub-agent. - Boundary markers: The skill defines three "Supervision & Review Gates" (Design Spec, Implementation Plan, QA/Verification) to inspect sub-agent output.
- Capability inventory: The agent possesses
Bash,Read, andWritecapabilities, which are used to execute tests and merge code. - Sanitization: The instructions require the Supervisor to manually audit the content for placeholders and architectural alignment before approval.
Audit Metadata