clean-code
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is a set of senior-level coding standards and security best practices. It includes a robust security catalog in
BUGS.mdwhich advises agents on preventing common vulnerabilities such as SQL injection, shell injection, and improper secret management. - [COMMAND_EXECUTION]: The skill includes two utility bash scripts,
scripts/complexity.shandscripts/diff-stats.sh. These scripts are used by the agent to generate reports on code complexity and changes using established tools likegit,eslint,ruff, andgocyclo. The execution is limited to auditing the local codebase. - [DYNAMIC_EXECUTION]: The
complexity.shscript usesnode -eandpython -cto parse the JSON output from linters. The code executed via these interpreters is hardcoded within the script and performs only data processing and formatting tasks. - [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to read and follow project-specific guidelines such as
CODING_STANDARDS.md. While this creates an ingestion point for external instructions, it is a standard design for development-focused AI agents to ensure alignment with local project requirements.
Audit Metadata