publish-to-github
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
subprocessmodule to invoke standard system utilities such asgrep,git,rsync, and the GitHub CLI (gh). These executions are core to the skill's primary function—verifying staging directory cleanliness, mirroring files, and synchronizing repository metadata with GitHub. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided skill and agent directories, which constitutes an indirect prompt injection surface.
- Ingestion points: Files located within
~/.claude/skills/,~/.claude/agents/, and the user-controlledpublish-config.json. - Boundary markers: None identified for the content being processed.
- Capability inventory: File system read/write access (primarily to
/tmp), network operations via well-known tools (git,gh), and command execution viasubprocess. - Sanitization: The skill includes a dedicated scrubbing engine that performs find-and-replace operations based on user-defined rules to redact sensitive information.
- Context: As a utility for publishing code, the skill does not interpret the content of the files it processes as instructions for the agent, which significantly reduces the risk.
Audit Metadata