skills/affaan-m/ecc/codehealth-mcp/Gen Agent Trust Hub

codehealth-mcp

Pass

Audited by Gen Agent Trust Hub on Nov 6, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill instructs the agent to execute @codescene/codehealth-mcp via npx. This package is the official MCP server for CodeScene, a well-known software engineering intelligence company, and is used to provide structural code analysis metrics.
  • [INDIRECT_PROMPT_INJECTION]: The skill operates by having the agent read and analyze local repository files and git history. This creates a surface where an attacker could place instructions inside code comments or files that target the AI agent when it performs a code_health_review or code_health_score call.
  • Ingestion points: Local file contents and git branch state analyzed by the tools code_health_review and analyze_change_set (SKILL.md).
  • Boundary markers: The instructions do not specify delimiters or system-level isolation for the content being analyzed, relying instead on the structural output of the CodeScene tool.
  • Capability inventory: The MCP tools provide analytical data (scores and smells); however, the agent typically uses this data to decide on file modifications (write capabilities) and PR submissions, completing the injection chain (SKILL.md).
  • Sanitization: The results provided to the agent are structured metrics (1-10 numeric scores) rather than raw text summaries, which significantly mitigates the risk of direct instruction execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 6, 2026, 12:32 AM