skills/mukul975/anthropic-cybersecurity-skills/implementing-secret-scanning-with-gitleaks/Gen Agent Trust Hub
implementing-secret-scanning-with-gitleaks
Pass
Audited by Gen Agent Trust Hub on Apr 9, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill facilitates the download and installation of Gitleaks binaries from its official GitHub repository.
- Evidence: Documentation in
SKILL.md,references/api-reference.md, andassets/template.mdprovide instructions and scripts for fetching releases fromhttps://github.com/gitleaks/gitleaks/releases/. - [COMMAND_EXECUTION]: Automation scripts wrap the Gitleaks CLI using Python's
subprocess.runwith list-based arguments, effectively mitigating shell injection risks. - Evidence: Both
scripts/agent.pyandscripts/process.pyconstruct command lists for execution, ensuring that user-provided inputs like repository paths or commit ranges are handled as individual arguments rather than shell-evaluated strings. - [SAFE]: The skill incorporates robust security practices for handling sensitive data and remediation.
- Evidence: The implementation includes dedicated logic for redacting secrets in generated reports (seen in the
redact_secretfunction inscripts/process.py) and aligns with standards like NIST SP 800-218 for secure software development.
Audit Metadata