agent-review
Pass
Audited by Gen Agent Trust Hub on Jun 26, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill exhibits a surface for indirect prompt injection by processing untrusted data from
AGENTS.mdfiles. - Ingestion points: The skill retrieves agent frontmatter and body content via the
agent_gettool from files located in~/.treasure-work/agents/or the workspace. - Boundary markers: The sub-agent prompt templates (e.g., in the 'Structure Check' and 'Quality Check' sections) interpolate the agent's frontmatter and body using simple placeholders like
{paste frontmatter JSON}and{paste body}without using delimiters (such as XML tags or triple-backticks) or explicit instructions to ignore embedded commands. - Capability inventory: The skill possesses the ability to launch sub-tasks via
TaskCreateand modify agent configurations usingagent_updatebased on the review results. - Sanitization: No sanitization or escaping of the external agent content is performed before it is included in the sub-agent instructions. An attacker could potentially embed malicious instructions in an agent's body to influence the review outcome or trigger unauthorized
agent_updatecalls. - [COMMAND_EXECUTION]: The skill utilizes administrative tools such as
agent_getandagent_updateto interact with agent definitions on the file system. While these are necessary for the skill's purpose (auditing and fixing agents), they represent high-privilege capabilities that should be guarded against misuse from the aforementioned injection risks.
Audit Metadata