google-calendar

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill invokes system commands via the Python subprocess module. In scripts/google_calendar/auth.py, subprocess.Popen is used to trigger system browsers for authentication. In scripts/google_calendar/untrusted.py, the skill can execute an optional command defined in the GOOGLE_CALENDAR_GUARD_CMD environment variable to process untrusted text through an external guard model. While this is a configuration-driven feature, it represents an execution point for shell commands.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data authored by external parties (e.g., descriptions of shared calendar events), which presents a surface for indirect prompt injection. The skill implements a robust mitigation strategy:
  • Ingestion points: Untrusted data enters from Google API responses in event summaries, descriptions, and task notes (e.g., scripts/google_calendar/events.py, scripts/google_calendar/tasks.py).
  • Boundary markers: Malicious text is isolated within <untrusted-event>, <untrusted-task>, or <untrusted-calendar> blocks accompanied by a random nonce. The SKILL.md instructions explicitly direct the agent to treat this content as data and ignore any instructions therein.
  • Capability inventory: The skill maintains capabilities for API interactions and the execution of the user-defined guard command.
  • Sanitization: In scripts/google_calendar/untrusted.py, the skill sanitizes input by removing hidden HTML elements, normalizing Unicode, and escaping tag characters (< to ‹ and > to ›) to prevent payload breakout and ensure the agent recognizes the content boundaries.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 02:56 AM