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.pyscript executes the macOSsecuritycommand andopensslutility usingsubprocessto 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.jsonand transmits the resulting tokens toapi2.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
chatandtranscriptcommands inscripts/grokbot.pyfetch 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.pyutility. - 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