context-packet
Warn
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a Python script located at a path constructed from the user-provided
targetparameter in Step 5. This dynamic loading from a computed path allows for the execution of arbitrary code if the target directory is attacker-controlled. - [COMMAND_EXECUTION]: Shell commands in Step 5 interpolate user-controlled inputs (
target,output_path) directly into a command string without sanitization. This creates a command injection surface where shell metacharacters could be used to execute unauthorized background processes. - [PROMPT_INJECTION]: The skill facilitates indirect prompt injection by aggregating content from various repository files (specifications, architecture decisions, and registries) into a context packet. This packet is intended to be fed to other agents, meaning malicious instructions embedded in the repository files could influence the behavior of downstream agent personas.
- Ingestion points: Files located at
<target>/03_specs/,<target>/04_architecture/,<target>/18_registry/, and other repo-relative paths. - Boundary markers: No delimiters or instructions are used to distinguish between the skill's structural content and the untrusted data being aggregated.
- Capability inventory: The skill has the capability to execute shell commands and Python scripts as demonstrated in Steps 2, 3, 5, and 6.
- Sanitization: There is no evidence of filtering, escaping, or validation of the text content retrieved from repository files before it is included in the final YAML output.
Audit Metadata