skills/mukul975/anthropic-cybersecurity-skills/implementing-secrets-scanning-in-ci-cd/Gen Agent Trust Hub
implementing-secrets-scanning-in-ci-cd
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript executes thegitleaksandtrufflehogCLI tools usingsubprocess.runwith list-based arguments. The implementation correctly avoids usingshell=True, which prevents command injection vulnerabilities from the user-supplied path argument. - [EXTERNAL_DOWNLOADS]: The
SKILL.mdandreferences/api-reference.mdfiles provide instructions and links for installing third-party security tools. These references target well-known open-source repositories and package managers such as the official Gitleaks and Truffle Security GitHub repositories. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external security scanners which could contain content from untrusted source repositories. Ingestion points: The
scripts/agent.pyscript reads output fromgitleaksandtrufflehogvia temporary JSON files or captured stdout. Boundary markers: No explicit instruction delimiters are used for the scanner output. Capability inventory: The script performs file system reads/writes and executes CLI tools viasubprocess.runinscripts/agent.py. Sanitization: The script parses tool outputs as JSON and redacts detected secrets before inclusion in the final report.
Audit Metadata