stack-sweep
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes content from GitHub Pull Requests, including titles, descriptions, review comments, and code diffs, which are controlled by external contributors.
- Ingestion points: Untrusted data is retrieved in
scripts/stack-map.shusinggh pr listandgh api, and further inspected usinggit showandgit diffas described inSKILL.md. - Boundary markers: The instructions do not define clear delimiters or specific instructions for the agent to ignore potentially malicious content embedded within the PR data.
- Capability inventory: The skill's capabilities are limited to read-only operations including
git fetch,git show,git diff,gh pr list, andgh apicalls. - Sanitization: There is no evidence of content sanitization or validation performed on the PR data before it is integrated into the agent's context.
- [DYNAMIC_EXECUTION]: The
scripts/stack-map.shscript executes an embedded Python script to process JSON data. - Evidence: The script uses a heredoc pattern (`python3
- ... <<'PY'`) to run Python code directly from the bash script.
- Pattern: This execution involves a static, predefined template for data manipulation, which is a common developer practice and poses a low security risk.
- [COMMAND_EXECUTION]: The skill involves the execution of various system commands to interact with the repository and GitHub CLI.
- Evidence: It invokes
git fetch,git show,git diff,gh pr list,gh api, andgh repo view. - Scope: These commands are used within their intended functional scope to retrieve repository metadata and inspect file contents.
- [EXTERNAL_DOWNLOADS]: The skill fetches data from GitHub's official services.
- Evidence: It uses
gh pr list,gh api, andgit fetchto retrieve pull request metadata and update remote-tracking branches from the origin repository.
Audit Metadata