secrets-scan
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the Bash tool to execute several local maintenance and initialization scripts (
scan-init.sh,redact.mjs,reconcile.mjs). These are used for standard repository operations: identifying files to scan, applying cryptographic redaction to findings, and ensuring all file chunks were successfully processed. - [DATA_EXFILTRATION]: While the skill scans for sensitive data, it implements mandatory redaction. Raw values are passed to a local script (
redact.mjs) which returns only a truncated SHA-256 fingerprint, the length of the secret, and a partial preview. The actual secret values are never stored in reports or included in the AI's conversational context. - [PRIVILEGE_ESCALATION]: The skill explicitly restricts access to the generated security reports using
chmod 600andchmod 700, ensuring they are only readable by the current user. It also modifies the.gitignorefile to prevent sensitive report metadata from being committed to the repository. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from local files during the scan. However, it uses a multi-agent architecture with strict role definitions ("read + classify only"), and instructions explicitly forbid sub-agents from executing code or modifying files based on the content they read.
Audit Metadata