grok-bot

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/grokbot.py script executes the macOS security command and openssl utility using subprocess to retrieve and decrypt local authentication tokens. These operations are performed with fixed argument lists and are essential for the skill's intended purpose of automating the Grok Bot desktop session.
  • [DATA_EXFILTRATION]: The skill accesses sensitive local session data from ~/Library/Application Support/Grok Bot/sand-secrets.json and transmits the resulting tokens to api2.cursor.sh. This communication is directed to the well-known backend service for the application being automated and is a documented part of the authentication flow.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection through its ingestion of external content.
  • Ingestion points: The chat and transcript commands in scripts/grokbot.py fetch messages from external Grok Bot teammates.
  • Boundary markers: Data is returned in structured JSON format; however, no explicit prompt delimiters or instructions are provided to the agent to disregard potential instructions embedded within the transcript text.
  • Capability inventory: The skill possesses capabilities for network communication and shell command execution (keychain access and decryption) via the scripts/grokbot.py utility.
  • Sanitization: The script includes robust error handling that filters server responses to prevent the accidental leakage of secrets in output, and the AI agent is instructed to summarize rather than execute content from transcripts.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 02:37 PM