work
Warn
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: MEDIUMDYNAMIC_CONTEXT_INJECTIONPERSISTENCEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_CONTEXT_INJECTION]: The skill uses
!command`` syntax inSKILL.mdto execute shell commands automatically when the skill is loaded. This is used to runskill-tocand list the skill's internal references. - [PERSISTENCE]: Instructions in the skill direct the agent to establish a heartbeat poll using the
CronCreatetool to maintain progress across session breaks. - [DYNAMIC_EXECUTION]: The
work-stage.mjsscript uses theAsyncFunctionconstructor to dynamically load and execute JavaScript logic from theworkflow.jsfile at runtime. - [COMMAND_EXECUTION]: The skill is built to execute arbitrary shell commands defined in a 'plan' (e.g.,
redCommand,acceptanceCmd, and mechanical checks). This allows for extensive system interaction based on the configuration provided in Markdown plans. - [DATA_EXFILTRATION]: The rule-judging functionality in
rule-check.tssends data to the OpenRouter API. This data includes repository file paths and extracts used as evidence for compliance checks. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from command outputs and repository files into a review lens. The following evidence chain applies:
- Ingestion points: Command results and file content are read into the agent context via scripts like
work-checks.sh. - Boundary markers: Prompt templates use explicit headers like
AUTHORITY:andGOAL:to demarcate instructions. - Capability inventory: The skill uses
Bash,Write, andAgenttools across various scripts. - Sanitization: The
red_probe_gateinwork-dispatch.shincludes a regex-based filter to avoid processing sensitive files like.envor SSH keys.
Audit Metadata