T09 · Insecure Skill Coding Practices
- Location
SKILL.md:22- Finding
Unattended Public GitHub Publication May Expose Sensitive Repository Content and History
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly coherent for open-source project setup, but it defaults to creating and pushing to a public GitHub repository without a clear final confirmation step.
Install only if you want the agent to prepare projects for public open-source release. Before allowing any GitHub action, require an explicit confirmation of the account, repository name, public visibility, branch/ref being pushed, and results of a full secret and history review; otherwise use it only for local documentation polishing.
SKILL.md:22Unattended Public GitHub Publication May Expose Sensitive Repository Content and History
The skill explicitly defaults to creating a public GitHub remote and pushing changes for projects without an existing remote, but it does not require an explicit, user-facing confirmation immediately before publication. This creates a real risk of unintentionally exposing proprietary code, embedded secrets, internal documentation, or sensitive repository metadata through irreversible public release.
The recommended CLI flow uses gh repo create ... --public --source=. --remote=origin --push, which can immediately publish the current repository contents to a public GitHub repository. Even though the skill mentions secret checks elsewhere, the workflow lacks a mandatory explicit warning/confirmation gate tied to the actual publication command, making accidental public disclosure more likely.