vertex-banana

Fail

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: HIGHDATA_EXFILTRATIONPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DATA_EXFILTRATION]: The script vertex_banana.py includes a parameter --endpoint that allows the user to specify a custom API endpoint. When the --curl method is invoked, the script constructs a request URL using this endpoint and appends the sensitive VERTEX_API_KEY as a plaintext query parameter (?key=...). This allows a malicious actor or a prompt injection attack to redirect the request and exfiltrate the API key to a server under their control.
  • [PROMPT_INJECTION]: Both the documentation in SKILL.md and the implementation in vertex_banana.py explicitly instruct the API to disable all safety thresholds for HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_SEXUALLY_EXPLICIT, and HARM_CATEGORY_HARASSMENT by setting them to OFF. This is a direct attempt to bypass model provider safety guidelines and guardrails.
  • [COMMAND_EXECUTION]: The Python script uses subprocess.run to execute system curl commands. While the arguments are passed in a list format, the lack of validation on the endpoint and model arguments, combined with the transmission of sensitive credentials, creates a high-risk execution path that can be exploited for data exfiltration.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Sep 28, 2026, 12:51 PM