xai-grok-onboarding
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests verification URLs and codes from the xAI OAuth backend and passes them to the agent for user interaction.
- Ingestion points: Data is received via the
request_device_codeandpoll_authorizationcalls inexports.py. - Boundary markers: None.
- Capability inventory: Network requests to
localhostand file system writes to the workspace. - Sanitization: None.
- [DYNAMIC_EXECUTION]: The script dynamically modifies
sys.pathto import thecore.xai_grokmodule from/app,/data/workspace/starchild-clawd, or a path defined in theSTARCHILD_CLAWD_DIRenvironment variable. - [COMMAND_EXECUTION]: The skill sends a network request to
http://localhostto invoke the/internal/runtime/flush_agent_cacheendpoint, ensuring that newly authenticated models are available in the agent's provider list. - [COMMAND_EXECUTION]: The skill uses
os.chmodto restrict access to the.xai_oauth_pending.jsonfile to the current user (0o600) and performs atomic file updates usingos.replace.
Audit Metadata