agent-safety-preflight
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from local repositories, including shell scripts, configuration files, and git metadata. This creates a surface for indirect prompt injection where malicious content in a scanned file could attempt to influence the agent's logic during the risk assessment phase.
- Ingestion points: Local repository files, workspace configuration (e.g., .claude/, .github/), and git status output as described in SKILL.md.
- Boundary markers: The skill defines a structured Markdown receipt format for the output, which acts as a logical boundary for the agent's response.
- Capability inventory: The skill utilizes
Readfor file access andBashto executegitandpython3commands. - Sanitization: The instructions explicitly mandate that the agent must not copy secrets, tokens, or private source code into the output receipt, requiring only file paths and markers (references/decision-rules.md).
- [COMMAND_EXECUTION]: The skill relies on executing local system commands to perform its function. It specifically uses
gitto check repository state andpython3to run a bundled security scanner script (agent_preflight_lite.py) as detailed in the instructions and allowed-tools metadata.
Audit Metadata