loop-until-done
Fail
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The file
activities.pydefines a Temporal activityrun_verification_commandthat executes a command string usingsubprocess.runwithshell=True. Usingshell=Trueis a security risk as it enables shell metacharacter expansion and makes command injection attacks easier. - [INDIRECT_PROMPT_INJECTION]: The skill represents a significant indirect prompt injection surface. It ingests a user-provided
task(via__init__.py) which is then passed directly into the PRD generation prompt inworkflow.pyandprompts/prd.system.md. The AI is instructed to generate averification_commandbased on this task. A malicious user could provide a task description designed to trick the AI into generating harmful shell commands (e.g., "verify by running rm -rf /"). - [INDIRECT_PROMPT_INJECTION]: Mandatory Evidence Chain:
- Ingestion points: The
taskstring is ingested from CLI arguments in__init__.pyand passed to the workflow. - Boundary markers: No boundary markers or "ignore embedded instructions" warnings are present in the prompts used to generate the commands (
prompts/prd.system.md,prompts/prd.user.md). - Capability inventory: The skill package contains the
run_verification_commandactivity inactivities.py, which utilizessubprocess.run(shell=True). Theworkflow.pyalso has the capability tospawn_subagentandwrite_artifact. - Sanitization: There is no evidence of sanitization, validation, or escaping of the user-provided task or the AI-generated commands before they are processed or executed.
- [COMMAND_EXECUTION]: While the prompt in
prompts/verifier.system.mdand others mention that verification is "simulated in v0.2", the presence of a fully implemented shell execution activity inactivities.pyaligned with the skill's stated purpose of "running verification" indicates a high risk of future activation or exploitation.
Recommendations
- AI detected serious security threats
Audit Metadata