sync-gbrain
Warn
Audited by Gen Agent Trust Hub on Jun 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
evalon the output of the local script~/.claude/skills/gstack/bin/gstack-slug. If this script generates output based on repository metadata or directory names, it could be exploited to execute arbitrary shell commands via command injection. - [COMMAND_EXECUTION]: User-provided arguments are passed directly to the execution of
~/.claude/skills/gstack/bin/gstack-gbrain-sync.tsviabun run. This creates an argument injection surface if the receiving orchestrator script does not implement strict input validation. - [COMMAND_EXECUTION]: The skill performs numerous executions of local binaries and scripts located in
~/.claude/skills/gstack/bin/, includinggstack-config,gstack-team-init,gstack-gbrain-detect, andgstack-gbrain-repo-policy. - [DATA_EXFILTRATION]: The skill accesses and reads/writes to configuration directories in the user's home folder, including
~/.claude/,~/.gstack/, and~/.gbrain/. This involves reading state files and configuration data necessary for the tool's operation. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill reads the
source_idfrom~/.gstack/.gbrain-sync-state.jsonand queries thegbrain sources listforpage_countvalues. - Boundary markers: It uses HTML comment delimiters (
<!-- gstack-gbrain-search-guidance:start -->) to manage the search guidance block inCLAUDE.md. - Capability inventory: The skill has broad capabilities including shell command execution (
Bash), file modification (Write,Edit), and repository management (git). - Sanitization: No explicit sanitization or validation is performed on the data extracted from the JSON state files or command outputs before it is used in conditional logic or written to the
CLAUDE.mdfile.
Audit Metadata