T01 · Skill Instruction Hijacking
- Location
SKILL.md:111- Finding
Unrestricted privileged Git command delegation from untrusted Workers
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is openly meant to delegate Git work, but it gives worker messages broad control over host-authenticated Git operations and workspace paths without clear authorization or containment safeguards.
Review carefully before installing. This skill should only be used in a tightly controlled environment where Worker requests are authenticated, repositories and remotes are allowlisted, workspace paths are derived server-side, and destructive Git actions require explicit approval. As written, a mistaken or untrusted `git-request:` could cause authenticated pushes, history changes, access to private repositories, or cross-task workspace changes under the Manager's credentials.
SKILL.md:111Unrestricted privileged Git command delegation from untrusted Workers
SKILL.md:48Worker-controlled task and workspace paths lack containment validation
The skill advertises itself for executing git operations broadly on behalf of workers, without narrowing invocation to authenticated, structured, and policy-validated requests. In practice, this can cause the manager to use privileged host git credentials for requests that were triggered too easily or in the wrong context, enabling unauthorized repository access or destructive changes.
The skill explicitly relies on the host's .gitconfig and credentials but does not warn about the security consequences of using those credentials for delegated operations or about the risk of destructive git commands. In this context, missing warnings and safeguards are dangerous because workers can indirectly cause authenticated pushes, history rewrites, or access to private repositories through the manager's trust boundary.
The activation condition is based solely on the presence of the literal string git-request:, which is ambiguous and trivially injectable in normal conversation or untrusted content. Because the skill then instructs the manager to execute the supplied operations literally, a low-friction trigger can lead directly to privileged action with host credentials.
The statement that workers may delegate 'any git operation' creates major scope creep in a privileged skill. In this specific context, it is especially dangerous because 'git' includes features that can execute programs, rewrite configuration, invoke hooks or helpers, manipulate submodules, and perform destructive history changes, all while using host-managed credentials.
## What Operations Can Be Delegated
**Any git operation**, including but not limited to:
| Category | Commands |
|----------|----------|