Back to skill

Security audit

xAI

Security checks for vulnerabilities and agentic risk

Overview

Review is recommended because setup executes unverified remote code and the safety instructions incorrectly treat potentially billable chat generation as a harmless read.

Before installing, review and verify a specific CLI release and its automatic agent-skill synchronization behavior. Require user-directed setup, and treat chat completion as submitting content to OOMOL/xAI with possible charges. Limit submissions to content you intend those services to process. The artifact supports these review concerns, but does not establish malicious intent; downloaded installer and backend behavior remain outside the bundled evidence.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command performs remote script execution for an Oomol installer, not xAI searching or reading. Nothing in the supplied chunk establishes that this installer is a supporting dependency for the declared xAI functionality. The remote script's exact actions cannot be determined from this chunk alone.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Authentication can be a supporting implementation detail, but it is the sole behavior shown here. The supplied code contains no xAI-specific operation or indication that this login supports the declared functionality. Its demonstrated primary purpose therefore differs from the description.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

Piping curl output directly into bash gives the remotely served installer immediate code execution without prior verification. HTTPS protects transport but does not protect against a compromised publisher or malicious changes to the unpinned installer; this is the same underlying installation weakness identified in the setup-warning finding.

Content

Scanner excerpt · SKILL.md (reported line 57)May include surrounding context.

The action workflow lacks a privacy warning for sending chat content to xAI.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The workflow instructs the agent to execute connector actions with a JSON payload, including the available chat-completion action, but never warns that submitted messages or context leave the user's environment for third-party processing. The blanket statement that untagged actions are reads and safe to run directly also applies to the untagged chat-completion action, obscuring its data-transmission implications.

Content

No source excerpt is available for this finding.

The safety guidance classifies an untagged chat-generation action as a read.

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

The untagged create_chat_completion action falls under guidance declaring untagged actions to be reads that are safe to run directly. Unlike listing models, generation transmits supplied content for processing and can consume paid credits, so this classification can bypass appropriate checks when the user's request only authorizes searching or reading.

Content

No source excerpt is available for this finding.

Setup instructs immediate execution of downloaded installation scripts without a security warning.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

Both setup examples execute network-delivered scripts immediately, without a pinned artifact or independent integrity verification. If the delivery infrastructure or script is compromised, following these instructions can execute attacker-controlled code with the agent's local privileges; limiting this to first-time setup reduces exposure but does not remove the risk.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 78)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources