google-drive
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: Communicates with an external, non-whitelisted backend domain (
https://google-workspace-extension.geminicli.com) to handle OAuth token authentication and refresh flows. - [INDIRECT_PROMPT_INJECTION]: Processes untrusted data from external sources (Google Drive files, names, and folders) that could contain malicious instructions designed to manipulate the agent.
- Ingestion points: File metadata and content queries fetched via
scripts/drive.pythrough search and list operations. - Boundary markers: Absent; data returned from Google Drive is forwarded to the agent context without structural delimiters or instruction-isolation markers.
- Capability inventory: File system write operations via
download, as well as Google Drive write actions such asupload,create-folder,move,rename, andtrashinscripts/drive.py. - Sanitization: Employs
escape_query_stringto protect against Google Drive native query injection, but lacks filtering or validation to neutralize prompt injection content intended for the LLM.
Audit Metadata