file-analysis
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted filenames from the workspace and interpolates them into a shell command using substitution, creating an injection surface.
- Ingestion points: Local filenames and directory paths discovered in the codebase via the
findcommand in SKILL.md. - Boundary markers: None present. There are no instructions for the agent to sanitize or escape filename inputs.
- Capability inventory: The skill possesses the capability to execute shell commands such as
pwd,find,wc,tree, andsort. - Sanitization: Absent. Step 3 uses the pattern
wc -l $(find ...)which allows the shell to evaluate and execute any shell metacharacters or subcommands contained in a filename (e.g., a file named`id`.pyor$(reboot).rs). - [COMMAND_EXECUTION]: The skill utilizes several shell commands to extract metadata and analyze the codebase organization.
- Evidence: Shell commands and pipelines are used across all steps:
pwd(Step 1),treeandfind(Step 2),find,wc, andhead(Step 3), andfind,wc,sort, andhead(Step 4).
Audit Metadata