typescript-clean-code
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides high-quality educational and process-oriented content focused on software craftsmanship. Analysis of the 108 files revealed no malicious patterns such as hardcoded credentials, data exfiltration, or unauthorized command execution. External references lead to established software engineering resources like coding dojo repositories and kata catalogs.
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves analyzing and reviewing user-provided code and pull requests. This inherent functionality creates an attack surface for indirect prompt injection if malicious instructions are embedded within the data being processed (e.g., code comments designed to mislead the AI auditor).
- Ingestion points:
workflows/pr-review/workflow.md(reviews PR diffs),workflows/code-review/workflow.md(reviews source code files). - Boundary markers: The instructions do not explicitly mandate wrapping untrusted code in unique delimiters, although the agent's role is clearly defined as a reviewer.
- Capability inventory: The skill contains instructions for the agent to execute shell commands such as
npm testandgit committo support developer workflows. These capabilities could theoretically be targeted by a successful injection. - Sanitization: The skill relies on the LLM's internal safety guardrails but includes defensive instructions directing the AI to check for security vulnerabilities (e.g., secrets, injection) in the code it reviews.
- [COMMAND_EXECUTION]: The skill includes instructions to execute standard development commands such as
npm test,npm install, andgit commit. These are documented as part of legitimate workflows for bug fixing, refactoring, and environment setup, and do not represent a security risk when used in their intended context.
Audit Metadata