push-preflight
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill orchestrates multiple shell scripts and Git commands to perform repository health and security checks.
- Orchestrates execution through
scripts/preflight.shwhich callsgit fetch,git status, andgit push. - Invokes
scripts/scan-secrets.shto perform automated security analysis of the pending commit range. - [EXTERNAL_DOWNLOADS]: The skill requires established third-party security utilities to function correctly.
- References the official GitHub repository for
gitleaks(github.com/gitleaks/gitleaks) for secret detection. - References the official GitHub repository for
ripgrep(github.com/BurntSushi/ripgrep) for high-performance pattern matching. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from Git diffs, creating a potential surface for indirect injection if a detected secret contains malicious instructions.
- Ingestion points:
scripts/scan-secrets.shreads and processes output fromgit diffto identify secret patterns. - Boundary markers: Security findings are presented to the agent within a clearly labeled report section titled "SECRET-PATTERN MATCH (regex layer)".
- Capability inventory: The skill utilizes
Read,Bash,Glob, andGreptools, and executes standard Git workflow commands. - Sanitization: The script includes basic output truncation (
head -40) when reporting matches to the agent.
Audit Metadata