generate-test-cases
Pass
Audited by Gen Agent Trust Hub on Jul 29, 2026
Risk Level: SAFEPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it is designed to ingest and analyze untrusted source code and dependency files. Adversarial instructions embedded in these files could potentially influence or override the agent's behavior during the analysis phase.
- Ingestion points: Target source code files and their dependencies identified via import analysis as specified in
SKILL.mdandrules/general/code-context-analysis.md. - Boundary markers: Absent. The instructions do not implement delimiters or provide explicit warnings to the agent to ignore instructions found within the analyzed content.
- Capability inventory: The agent uses
Read,Glob, andGrepto access and process the content of external files. - Sanitization: Absent. No filtering or content validation is performed on the data read from the filesystem.
- [DATA_EXFILTRATION]: The skill presents a risk of data exposure by instructing the agent to read arbitrary file paths provided via the
$ARGUMENTSvariable without enforcing path restrictions or validation. This allows the agent to be directed to read and summarize sensitive files on the system (such as environment variables or credentials) if requested by a user or an adversarial prompt. - Evidence: The instructions in
SKILL.mddirect the agent to "Read the target source file/class/method specified above" based on user input, providing no mechanism to restrict the file access to appropriate project directories.
Audit Metadata