retrofit
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes project-level data (e.g.,
README.md,CHANGELOG.md),git loghistory, andissue/PRdiscussions to generate baseline documentation. This ingestion of untrusted external content represents an attack surface for indirect prompt injection. - Ingestion points: The
Step 1: Investigationprocess inreferences/new-project-retrofit.mdscans README files, CHANGELOGs, git commit messages, and external issue trackers. - Boundary markers: The skill utilizes a structured labeling system (
用户确认,已有文档,推导待确认,未知) to delineate the provenance of every statement. - Capability inventory: The skill is capable of writing markdown files to
docs/devdocs/, performing git operations viaBash, and invoking other internal skills such ascodebase-insightandagent-memoryviaTaskorchestration. - Sanitization: Robust safety measures are built into the instructions, including mandatory cross-referencing of documentation against the actual codebase (
Step 2: Validation) and an explicit rule to prioritize code as the authoritative source when conflicts arise. - [COMMAND_EXECUTION]: The skill invokes the
Bashtool to perform necessary repository operations, specificallygit mvfor file renaming andgit rev-parse HEADfor tracking the baseline adoption commit. These commands are constrained to specific maintenance tasks and do not allow for arbitrary command injection or execution of external payloads.
Audit Metadata