Back to skill

Security audit

git-standup

Security checks for vulnerabilities and agentic risk

Overview

This is a benign git standup helper that reads local commit history, with some documentation overpromising and a limited JSON-formatting weakness.

Install only if you want a lightweight local git commit report. Treat the generated 'Today' and 'Blockers' sections as placeholders, not inferred facts, and avoid relying on JSON output in automation until the script uses proper JSON escaping and validates --hours.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/standup.sh:41
Finding

Unescaped Attacker-Controlled Values in JSON Output

Content
View full analysis
Remediation
View remediation
&2 exit 1 fi if (( HOURS < 1 )); then echo "Error: --hours must be greater than zero" >&2 exit 1 fi ``` 4. Validate `FORMAT` against an explicit allowlist and reject unsupported values: ```bash case "$FORMAT" in text|json) ;; *) echo "Error: --format must be text or json" >&2 exit 1 ;; esac ``` 5. Build commit entries through the serializer. For example: ```bash commits_json=$( while IFS= read -r line; do [[ -z "$line" ]] && continue jq -cn --arg subject "$line" '{subject: $subject}' done <<< "$COMMITS" | jq -s '.' ) jq -n \ --arg date "$DATE" \ --arg author "${AUTHOR:-all}" \ --argjson hours "$HOURS" \ --argjson commits "$commits_json" \ '{ date: $date, lookbackHours: $hours, author: $author, commitCount: ($commits | length), commits: $commits }' ``` 6. Add regression tests using commit subjects and author filters containing quotation marks, backslashes, tabs, Unicode text, and other control characters. Parse all generated output with a strict JSON parser to verify validity. ]]>
Vulnerability Patterns
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The code's core function is related to the declared purpose: it inspects git history and formats a standup-style report. However, the description overstates important behavior. The script does not group commits by author; it either shows all commit subjects together or filters to one author. It also does not infer, gather, or summarize 'what's planned today' or 'blockers'—those sections are hardcoded placeholders. Because these are material aspects of the declared output, the description does not accurately represent the actual behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest says the skill generates a standup report from git commit history that groups commits by author, lists what was done yesterday, what's planned today, and highlights blockers. The code only retrieves commit subjects, optionally filtered to a single author, then prints them under 'Yesterday' while hardcoding placeholders for 'Today' and 'Blockers' and never grouping output by author.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file header says the skill generates a daily standup report from git commit history, matching the broader manifest framing. In practice, the script only formats recent commit subjects and does not produce the richer standup elements implied elsewhere such as author grouping, planned work, or blocker highlighting from history.

Content

No source excerpt is available for this finding.