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.md which 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.sh and scripts/diff-stats.sh. These scripts are used by the agent to generate reports on code complexity and changes using established tools like git, eslint, ruff, and gocyclo. The execution is limited to auditing the local codebase.
  • [DYNAMIC_EXECUTION]: The complexity.sh script uses node -e and python -c to 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
Risk Level
SAFE
Analyzed
Sep 29, 2026, 05:58 AM