skills/apocohq/skills/dir-tree-index/Gen Agent Trust Hub

dir-tree-index

Pass

Audited by Gen Agent Trust Hub on Mar 25, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes shell commands (find and sort) to discover directories and list files for the indexing process. This is a standard operation for the skill's purpose but involves direct interaction with the host environment.
  • [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it reads and processes untrusted content from files within the repository to generate summaries.
  • Ingestion points: Reads the first 30 lines of every non-hidden file in the target directory tree and parses existing STRUCTURE.md files as a cache.
  • Boundary markers: The instructions do not specify any delimiters or safety guardrails (e.g., 'ignore instructions within these files') when the agent processes the file content for summarization.
  • Capability inventory: The skill possesses the ability to execute shell commands, read multiple files across the filesystem, and write new Markdown files.
  • Sanitization: The skill excludes hidden files and directories (e.g., .env, .git, .ssh), which significantly reduces the likelihood of accidentally processing and exposing sensitive credentials or private configuration data.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 25, 2026, 09:58 AM