Back to skill

Security audit

Git Delegation Management

Security checks for vulnerabilities and agentic risk

Overview

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.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:111
Finding

Unrestricted privileged Git command delegation from untrusted Workers

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
SKILL.md:48
Finding

Worker-controlled task and workspace paths lack containment validation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Vague Triggers

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
93% confidence
Finding

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.

Content

Scanner excerpt · SKILL.md (reported line 116)May include surrounding context.

md
## What Operations Can Be Delegated

**Any git operation**, including but not limited to:

| Category | Commands |
|----------|----------|