Back to skill

Security audit

commit-messages

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward conventional commit message helper that reads staged Git changes and writes a local draft message file.

This appears safe to install if you want help drafting conventional commit messages. Be aware that invoking it may cause the agent to read staged diffs and recent Git history, so avoid staging secrets or sensitive material before using it, and consider narrowing the broad triggers if accidental activation would be disruptive.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## Rules

- NEVER use `git commit --no-verify` or `-n`
- Write for humans, not to impress
- If pre-commit hooks fail, fix the issues

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
95% confidence
Finding

Using the trigger/identifier "commit" conflicts with a built-in command of the same name, creating a shadow-command condition. This can cause the skill to intercept or be selected instead of the expected built-in behavior, which is risky in a sensitive workflow that touches version-control operations.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger list includes broad generic terms like "git" and "commit", which can cause this skill to activate in many unrelated contexts. That increases the chance of unintended invocation, command overlap, or user confusion, especially because the skill instructs the agent to inspect repository state and diffs.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.