write-ai-eval-test
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill instructions define a process where data is ingested from external files and interpolated into executable TypeScript code.
- Ingestion points: The skill reads external data from
agent_prompt.mdandtask.textprotousing theview_filetool. - Boundary markers: The extracted content
<agent_prompt>is inserted into a TypeScript template within a string array literal:prompts: ['<agent_prompt>']. No specific delimiters or boundary warnings are provided to the agent regarding the content of these files. - Capability inventory: The agent possesses
write_to_fileandreplace_file_contentcapabilities, allowing it to commit the generated code to the project repository. - Sanitization: There are no instructions to sanitize, escape, or validate the content of
<agent_prompt>before it is written to the.test.tsfile, which could allow malicious code inside the prompt file to break out of the string literal in the resulting test file.
Audit Metadata