skill-git-official

Security checks across static analysis, malware telemetry, and agentic risk

Overview

This skill mostly matches its local skill-versioning purpose, but it needs review because some commands pass user input directly into Bash and it can make persistent changes to agent skill files.

Install only if you are comfortable giving this skill local Bash/git access to your agent skill folders. Use simple, trusted command arguments, inspect all confirmation prompts before approving commits, merges, or reverts, and periodically review or delete `~/.skill-git` caches if your skill files contain sensitive instructions.

Static analysis

Prompt injection instructions

Warn
Finding
Prompt-injection style instruction pattern detected.
Content
- **Prompt injection**: Rule contains phrases like "ignore previous instructions", "disregard all rules", "from now on you are", "forget everything"

VirusTotal

VirusTotal engine telemetry is currently stale for this artifact.

View on VirusTotal

Risk analysis

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

#
ASI02: Tool Misuse and Exploitation
High
What this means

A malformed or malicious argument could potentially run commands on the user's machine outside the intended skill-management workflow.

Why it was flagged

The command permits Bash and injects raw user command arguments into a shell prelude without visible quoting or escaping. If shell metacharacters are accepted by the host, arguments could alter the command line and execute unintended local shell commands.

Skill content
allowed-tools: Bash(bash *) ... !`bash "${CLAUDE_PLUGIN_ROOT}/scripts/sg-prelude.sh" $ARGUMENTS`
Recommendation

Quote or safely pass arguments via an environment variable or array, validate accepted flags before any Bash execution, and narrow allowed Bash patterns to specific helper scripts.

#
ASI08: Cascading Failures
Medium
What this means

Confirmed revert or merge operations can permanently change skill files and affect how the agent behaves in future sessions.

Why it was flagged

The revert workflow can hard-reset skill repositories and delete newer version tags. The document includes backups and explicit confirmation prompts, so this is purpose-aligned but high-impact.

Skill content
bash "${CLAUDE_PLUGIN_ROOT}/scripts/sg-git.sh" "<path>" reset --hard <target-tag> ... tag -d <tag>
Recommendation

Review the summaries and backup locations before confirming destructive operations, and avoid using bulk actions unless you understand which skills will change.

#
ASI06: Memory and Context Poisoning
Low
What this means

Local summaries of your skills and agent configuration may remain on disk after scans or checks.

Why it was flagged

The check workflow reads skill files and agent config files, extracts rules, and stores them in persistent local cache files for reuse.

Skill content
Cache path: `~/.skill-git/cache/<agent>/rules/<skill_name>.json` ... Config files ... project-level agent config ... global agent config
Recommendation

Treat `~/.skill-git/cache` as sensitive local data, clear it if needed, and avoid placing secrets in skill or agent instruction files.

#
ASI04: Agentic Supply Chain Vulnerabilities
Info
What this means

Users may not realize the skill needs local git/Bash execution until they invoke it.

Why it was flagged

The skill depends on local git and bundled Bash helpers, while registry metadata lists no required binaries. This is expected for a git-management skill but should be declared clearly.

Skill content
Run: `git --version` ... Run: `bash "${CLAUDE_PLUGIN_ROOT}/scripts/sg-init.sh" -a <agent> [--project]`
Recommendation

Declare git and shell-script usage in metadata and install documentation so users can make an informed decision before enabling the skill.