secrets-scan
Pass
Audited by Gen Agent Trust Hub on Jun 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes common shell utilities including
find,cat,grep, andgitto perform local analysis of the codebase and repository metadata. These operations are consistent with the primary purpose of identifying hardcoded secrets and inspecting version history. - [COMMAND_EXECUTION]: It provides functionality to install a repository-local persistence mechanism by writing a shell script to
.git/hooks/pre-commitand usingchmod +xto make it executable. This script is intended to run automatically during the git commit process to prevent the accidental introduction of new secrets. - [PROMPT_INJECTION]: The skill processes content from an external
SECURITY.mdfile to identify accepted patterns and known risks, which introduces a potential surface for indirect prompt injection if the scanned repository contains malicious content. - Ingestion points:
SECURITY.md(read viacatin Phase 0) - Boundary markers: Instructions guide the agent to specific section headers ("## Accepted risks" or "## Known patterns") to scope the ingested data
- Capability inventory: Shell command execution (
git,find,chmod) and local file-writing capabilities - Sanitization: No explicit validation or escaping of the content read from
SECURITY.mdis specified before it is processed by the agent.
Audit Metadata