skills/diskd-ai/gemini-api/gemini-api/Gen Agent Trust Hub

gemini-api

Fail

Audited by Gen Agent Trust Hub on Feb 16, 2026

Risk Level: HIGHPROMPT_INJECTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
  • [Indirect Prompt Injection] (HIGH): The skill is a primary vector for indirect prompt injection by design. It provides guidance for ingesting untrusted external data and provides the model with capabilities to take action on that data.
  • Ingestion points: Use of google_search, url_context (references/tools.md), and manual PDF fetching via httpx.get (references/documents.md).
  • Boundary markers: All code examples lack boundary markers (like XML tags or clear delimiters) to separate untrusted external content from system instructions.
  • Capability inventory: The documentation enables high-risk tools including code_execution for running arbitrary Python and function_calling for triggering application logic (references/tools.md).
  • Sanitization: No sanitization or validation logic is provided for external data before it is interpolated into the model's prompt or used in tool execution.
  • [External Downloads] (MEDIUM): The skill is distributed by an unverifiable third-party author (diskd-ai) via npx skills add. While the referenced SDKs are official, the skill's own distribution source is untrusted and lacks provenance.
  • [Remote Code Execution] (MEDIUM): The skill promotes the use of Gemini's code_execution built-in tool. While this tool runs in a sandboxed environment on Google's infrastructure, its inclusion in an agent skill significantly increases the impact of a successful prompt injection by allowing the attacker to execute logic through the model.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Feb 16, 2026, 12:06 AM