test-code-review

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted external data, specifically test code, fixtures, and logs provided by users. This creates a surface for indirect prompt injection where malicious instructions could be embedded in code comments or log files.
  • Ingestion points: Inputs defined in SKILL.md and prompts/test-code-review.md include test code, execution evidence, and change diffs.
  • Boundary markers: The skill implements a mandatory "input audit" phase (classifying data as known, missing, conflicting, stale, out_of_scope, or assumptions) which acts as a logical delimiter between untrusted input and agent reasoning.
  • Capability inventory: The skill instructions explicitly prohibit code execution ("不执行测试"), system modifications ("不修改需求、代码、测试资产或目标系统"), and autonomous decision-making. No network or shell-access tools are requested or used.
  • Sanitization: The skill enforces a strict output format (TCR-## findings) and separates facts from推断 (inferences) and suggestions, reducing the risk of an injection influencing the final report structure.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 12:46 AM