text-human

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and transform untrusted content from user-specified files, commit history, and chat logs. This exposes the agent to indirect prompt injection if the content being processed contains adversarial instructions intended to subvert the agent's behavior or the skill's logic. While the skill uses boundary markers (e.g., ---) and specifies stripping rules for common AI artifacts, it lacks comprehensive sanitization for complex instructional injections.
  • Ingestion Points: The skill reads files and text provided through the $ARGUMENTS prompt using the Read tool.
  • Boundary Markers: Instructions are separated from content using triple-dash (---) delimiters and CUSTOM INSTRUCTIONS headers.
  • Capability Inventory: The skill utilizes Read, Grep, Glob, Agent, and AskUserQuestion tools. The use of the Agent tool for delegation potentially increases the impact of successful injections.
  • Sanitization: The skill focuses on cosmetic stripping of AI artifacts but does not explicitly sanitize for malicious instructions designed to manipulate the LLM's goal-following behavior.
  • [COMMAND_EXECUTION]: The skill's instructions require the agent to execute shell commands (git status, git diff) to verify repository state and identify target files.
  • Evidence: SKILL.md specifies the use of git status --porcelain -- '<resolved path>' to check for uncommitted changes.
  • Risk: There is a potential for command injection if the agent fails to correctly quote or escape file paths derived from user input. The skill includes a specific instruction to use single quotes ('<resolved path>') as a mitigation, but the execution remains dependent on the agent's compliance.
  • [DYNAMIC_EXECUTION]: The skill implements a delegation pattern where a main agent spawns sub-agents to process blocks of files in parallel.
  • Evidence: SKILL.md and reference/flows/mixed.md detail the use of the Agent tool to execute sub-tasks with dynamically generated prompts.
  • Risk: Although the skill attempts to enforce the principle of least privilege by defining strict ROLE and SCOPE constraints for sub-agents (e.g., "Do NOT touch files outside the block"), the dynamic generation of instructions for these sub-agents increases the complexity of the skill's security profile.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 02:30 PM