gs-review
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The preamble in
SKILL.mdexecutessource <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null). This pattern of sourcing the output of a local binary into the current shell environment constitutes dynamic code execution, as the content of the sourced script is determined at runtime by an external executable. - [DYNAMIC_EXECUTION]: The preamble uses
eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)". Executingevalon the output of a tool or binary is a high-risk pattern that allows for the execution of arbitrary commands generated by that tool. - [COMMAND_EXECUTION]: The skill relies heavily on a collection of specialized binaries located in
~/.claude/skills/gstack/bin/(e.g.,gstack-update-check,gstack-config,gstack-telemetry-log,gstack-slug,gstack-learnings-search,gstack-timeline-log). While these appear to be vendor-provided resources for the gstack suite, their execution outside the skill's own directory requires trust in the local environment's integrity. - [INDIRECT_PROMPT_INJECTION]: The skill has a large surface area for indirect prompt injection. It ingests data from multiple untrusted or externally-controlled sources including pull request descriptions (
gh pr view), commit messages (git log),TODOS.mdfiles, and external review comments from the Greptile API. The instructions do not mandate the use of strict boundary markers or sanitization when the agent processes this content, which could allow malicious instructions embedded in a PR to influence the agent's behavior during the review. - [DATA_EXFILTRATION]: The skill contains a telemetry feature that logs usage data (skill, duration, repo name) to
~/.gstack/analytics/skill-usage.jsonland sends it to an external endpoint viagstack-telemetry-log. Additionally, the 'Artifacts Sync' feature encourages users to synchronize 'CEO plans, designs, and reports' to a private GitHub repository. While GitHub is a well-known service, the automated synchronization of potentially sensitive project artifacts to a remote location is a significant data movement pattern.
Audit Metadata