
Security News
Re-Enabled GitHub Actions Expose Thousands of Repositories to Mini Shai-Hulud
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.
@ai-sdk/xai
Advanced tools
The xAI Grok provider for the AI SDK contains language model support for the xAI chat and completion APIs.
Deploying to Vercel? With Vercel's AI Gateway you can access xAI (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. Get started with AI Gateway.
The xAI Grok provider is available in the @ai-sdk/xai module. You can install it with
npm i @ai-sdk/xai
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
npx skills add vercel/ai
You can import the default provider instance xai from @ai-sdk/xai:
import { xai } from '@ai-sdk/xai';
import { xai } from '@ai-sdk/xai';
import { generateText } from 'ai';
const { text } = await generateText({
model: xai('grok-4.7'),
prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
Please check out the xAI Grok provider documentation for more information.
FAQs
Unknown package
The npm package @ai-sdk/xai receives a total of 1,516,267 weekly downloads. As such, @ai-sdk/xai popularity was classified as popular.
We found that @ai-sdk/xai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.

Research
/Security News
The compromise affects MemTensor's MemOS, an open source memory framework for large language models (LLMs) and AI agents. Both npm package @memtensor/memos-cloud-openclaw-plugin and the PyPI package MemoryOS are compromised. They drop cross-platform Go binaries that exfiltrate developer secrets.