grok-bot
Pass
Audited by Gen Agent Trust Hub on Aug 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/grokbot.pyutilizes thesubprocessmodule to invoke the macOSsecuritycommand-line utility for keychain management andopensslfor cryptographic operations. These calls are implemented with static argument lists, which effectively prevents command injection vulnerabilities. - [CREDENTIALS_UNSAFE]: The skill is designed to access session secrets stored in
~/Library/Application Support/Grok Bot/sand-secrets.jsonand the macOS Keychain. This access is a functional requirement for authenticating with the Grok Bot service via the user's existing local application session. - [DATA_EXFILTRATION]: The skill communicates with the
api2.cursor.shdomain, which is a well-known service associated with the Cursor AI code editor. These network operations are intended for legitimate API interactions necessary for the skill's operation. - [INDIRECT_PROMPT_INJECTION]: The skill ingests transcript data from Grok Bot teammates, which presents a surface for indirect prompt injection.
- Ingestion points: The
cmd_transcriptandcmd_chatfunctions inscripts/grokbot.pyretrieve conversation history from the service API. - Boundary markers: The script outputs raw transcript text to the agent without utilizing specific delimiters or warning markers to isolate the untrusted content.
- Capability inventory: The skill has the capability to perform network requests and access local session credentials through its execution script.
- Sanitization: No specific sanitization or filtering logic is applied to the retrieved transcript text before it is presented to the agent for processing.
Audit Metadata