delete-comment
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- Indirect Prompt Injection Surface: The skill is designed to ingest and classify code comments, which are essentially untrusted external data. Maliciously crafted comments could attempt to influence the agent's behavior during the classification or issue-filing process.
- Ingestion points: Comments are extracted from the backend source code via
scripts/backend_comments.py inventoryand stored inblocks.jsonl. - Boundary markers: The workflow uses JSONL for data structure, but lacks explicit prompt delimiters or "ignore embedded instructions" warnings when presenting comment text to the agent or subagents for classification.
- Capability inventory: The skill possesses the ability to modify the filesystem (deleting code, writing ADRs), create Git branches, and interact with the GitHub API to file issues.
- Sanitization: There is no evidence of sanitization or escaping of the comment text before it is processed by the model or interpolated into GitHub issues.
- Local Script Execution: The skill relies on executing project-specific Python scripts (
scripts/backend_comments.pyandscripts/triage.py). - Pattern: It calls
python3to run inventory, delete, and update tasks. - Context: These scripts are part of the repository's internal tooling and are used to enforce a comment baseline. Users should ensure these local scripts are audited as they have direct write access to the codebase.
Audit Metadata