T09 · Insecure Skill Coding Practices
- Location
SKILL.md:144- Finding
Shell command injection through the user-controlled PR title
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent PR-submission helper, but it has review-worthy safety gaps around shell-handling the PR title and incomplete secret scanning before pushing code.
Install only if you are comfortable with a skill that can stage, commit, push, and create GitHub PRs. Before using it, manually review untracked files and secrets, and avoid passing PR titles containing shell metacharacters, quotes, command substitutions, or newlines until the skill is revised to validate the title and scan the exact staged snapshot.
SKILL.md:144Shell command injection through the user-controlled PR title
```
### Technical Analysis
The Skill states that all pending changed files must be scanned before a commit is created. However, `git diff HEAD --name-only` only reports changes represented in Git's tracked-file diff. It does not enumerate ordinary untracked files.
Consequently, a newly created file can be absent from the Step 1 scan even though later workflow steps display it through `git status`, allow the user to confirm it, and stage it with `git add`. The workflow can then report that the sensitive-i
...[truncated 1563 chars]:47Secret scanning omits untracked files that may later be committed
The instructions explicitly require commit subjects to be written entirely in English and forbid Chinese characters. This is a natural-language policy concern because it forces a specific language choice rather than offering the user a language or locale option.