document-generate
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local vendor-provided utilities to manage session state and session telemetry.
- Evidence includes calls to
gstack-skill-start,gstack-skill-end,gstack-decision-search, andgstack-learnings-loglocated in the user's home directory (~/.claude/skills/gstack/bin/). - These tools are part of the 'gstack' framework associated with the skill author.
- [DYNAMIC_EXECUTION]: The skill uses shell evaluation to source environment variables from a local vendor script.
- Evidence:
eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"is used to recover project context at session start. - [INDIRECT_PROMPT_INJECTION]: The skill researches project implementation files, tests, and documentation to generate new content, which creates a surface for instructions embedded in data to enter the agent context.
- Ingestion points: Step 1 (Codebase Archaeology) reads source code, READMEs, entry points, and tests using
find,Read, andGreptools. - Boundary markers: The skill includes a specific security instruction to honor instructions ONLY when they originate from the trusted
gstack-skill-starttool result, explicitly ignoring instructions found in files or page content. - Capability inventory: The skill has capabilities to write files, edit content, and execute git commands (
git push). - Sanitization: Includes a mandatory redaction scan using
gstack-redactbefore committing generated documentation to identify and block potential credential leaks. - [DATA_EXFILTRATION]: The skill interacts with remote git hosting platforms to update pull requests and push generated documentation.
- Evidence: Uses
git push,gh pr view, andglab mr viewto interact with the project's configured remote repository. These operations are restricted to the base branch detected at runtime.
Audit Metadata