gs-freeze
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The setup instructions in
SKILL.mdandSKILL.md.tmpldirect the agent to execute code from a path outside the skill's own directory usingeval "$(~/.claude/skills/gstack/bin/gstack-paths)". This creates a dependency on an external script that is not part of the skill's distribution, which could lead to unpredictable execution if the external file is modified or hijacked by other processes. - [INDIRECT_PROMPT_INJECTION]: The skill instructions guide the agent to take arbitrary directory paths directly from user input via
AskUserQuestionand interpolate them into a shell command (cd "<user-provided-path>") without advising on sanitization or validation. This presents a command injection surface where a malicious user could provide input containing shell metacharacters (e.g., backticks or command substitution) to execute unauthorized commands through the agent's Bash tool. - Ingestion points: User input from
AskUserQuestiondescribed inSKILL.md. - Boundary markers: Absent in the instructions.
- Capability inventory: The skill explicitly utilizes the
Bashtool to perform setup operations. - Sanitization: No sanitization or validation steps are recommended in the setup flow provided to the agent.
- [COMMAND_EXECUTION]: The skill's setup and hook operations involve executing shell commands that log session metadata, including repository names, to a local file (
~/.gstack/analytics/skill-usage.jsonl). While these operations are local, they capture and store environment-specific information as part of the skill's routine operation.
Audit Metadata