Back to skill

Security audit

Structuring Git Workflow

Security checks for vulnerabilities and agentic risk

Overview

This is a Markdown-only Git workflow coaching skill that is broad but purpose-aligned and does not hide destructive, persistent, or exfiltrating behavior.

Install this if you want an assistant to be more assertive about Git hygiene. Expect it to prompt about branches, commits, and safety checks across Git repositories; review or disable it if that level of automatic workflow coaching would interfere with your projects.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README says the skill 'activates automatically' and applies when 'working in any git repository' and at broad moments like 'completing a module or feature.' These conditions are not narrowly scoped and lack exclusion criteria or negative examples, so the skill could trigger during ordinary repository activity beyond the user's intent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The manifest description activates the skill for very broad situations like 'working in a git repository,' 'start new work,' or deciding 'what branch to work on.' These conditions are common across routine development and do not define clear boundaries or exclusions, increasing the chance of over-invocation.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
| Committing directly to main | Always create a branch first |
| Commit message "fix stuff" | Describe the specific change |
| Pushing immediately after commit | Accumulate, verify, then push |
| Force push without checking | Run safety checklist first |
| Skipping branch for "small fix" | Small fixes go on `fix/` branches too |
| Amend pushed commits | Only amend local, unpushed commits |

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
62% confidence
Finding

The file presents bilingual documentation, but the described runtime behavior includes proactive prompts like '要 commit 吗?' and 'Ready to commit?' without specifying that the user can choose the interaction language. Because the skill describes automated user-facing messages, the absence of an explicit language preference mechanism may conflict with language-choice expectations.

Content

No source excerpt is available for this finding.