google-docs
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests text from Google Docs, which could contain malicious instructions designed to influence the agent's behavior.
- Ingestion points: The
get_textfunction inscripts/docs.pyretrieves content from Google Documents through the Google Docs API. - Boundary markers: There are no explicit delimiters or instructions provided to the agent to distinguish between user-provided instructions and content retrieved from documents.
- Capability inventory: The skill possesses the ability to create, search, read, and modify (append, insert, and replace text) Google Docs. It does not have capabilities for local file system access or arbitrary command execution.
- Sanitization: The implementation extracts plain text from the document's internal JSON structure but does not sanitize the resulting string for potential prompt injection patterns.
- [DATA_EXFILTRATION]: The authentication process involves sending sensitive refresh tokens to a non-Google infrastructure.
- Evidence:
scripts/auth.pysends OAuth refresh tokens tohttps://google-workspace-extension.geminicli.com/refreshTokento obtain new access tokens. While this is used for the standalone authentication model, it involves sending sensitive credentials to an external third-party service.
Audit Metadata