write-tests
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves reading user-provided source code and natural language tasks to generate tests and implementation code. It instructs the agent to perform file writes and execute shell commands, creating a surface where malicious instructions embedded in the processed code could influence the agent's behavior.
- Ingestion points: The agent ingests Rails application source code, existing spec files, and natural language task descriptions.
- Boundary markers: No specific boundary markers or instructions to treat user code as untrusted are included in the provided instructions.
- Capability inventory: The skill requires the agent to write Ruby files and execute commands like
bundle exec rspecandbundle exec rubocop(assets/output_checklist.md). - Sanitization: There are no provisions for sanitizing or validating user-provided code before processing or before executing commands based on that code.
- [PROMPT_INJECTION]: The instruction set in
assets/output_checklist.mdcontains a directive to suppress transparency. It mandates that the agent 'MUST generate and present realistic, concrete terminal execution output' and 'Never include disclaimers, assumptions, or notes stating that the tests could not be run'. This forces the agent to simulate successful or failed command output even when a live runtime environment is unavailable, potentially misleading the user into believing a real verification process took place.
Audit Metadata