iterative-code-exploration
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to explore and analyze external codebases, which creates an attack surface where the agent could process malicious instructions hidden in the code or documentation.
- Ingestion points: Files are read using
catandgrepinSKILL.md(e.g.,README.md,package.json,src/core/index.ts) andreferences/exploration-strategies.md(e.g.,App.tsx, API client files). - Boundary markers: No specific delimiters or safety instructions are provided to the agent to ignore potentially malicious content within the files being read.
- Capability inventory: The skill uses shell commands for file system exploration (
find,ls,tree), file reading (cat,grep), and metadata analysis (jq,wc,xargs). - Sanitization: There are no instructions for sanitizing or filtering the content of the files before the agent processes them.
- [COMMAND_EXECUTION]: The skill utilizes standard Unix utilities to perform codebase exploration.
- Evidence: The workflow includes commands like
find,tree,grep,cat,jq,ls,git log,wc, andxargsto discover project structure and trace dependencies. - [DATA_EXPOSURE]: The exploration strategy guides the agent to locate sensitive project metadata and configuration.
- Evidence: Phase 1 and 2 in
SKILL.mdspecifically instruct searching for configuration files like*.config.*,package.json, and*.toml. Thereferences/exploration-strategies.mdfile suggests searching for environment variables viaprocess.envandimport.meta.env.
Audit Metadata