
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
@crowdstrike/aidr-openai
Advanced tools
A wrapper around the OpenAI TypeScript library that wraps the Responses API with CrowdStrike AIDR
A wrapper around the OpenAI TypeScript library that wraps the Responses API with CrowdStrike AIDR. Supports Node.js v22 and greater.
npm install @crowdstrike/aidr-openai
import { AidrOpenAI } from "@crowdstrike/aidr-openai";
const client = new AidrOpenAI({
apiKey: process.env.OPENAI_API_KEY,
aidrApiKey: process.env.AIDR_API_KEY,
});
const response = await client.responses.create({
model: "gpt-4o-mini",
instructions: "You are a helpful assistant.",
input: "Are semicolons optional in JavaScript?",
});
console.log(response.output_text);
To use this library with Azure OpenAI,
use the AidrAzureOpenAI class with an Azure base URL.
import { AidrAzureOpenAI } from "@crowdstrike/aidr-openai";
const client = new AidrAzureOpenAI({
baseURL: "https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/",
apiKey: process.env.AZURE_OPENAI_API_KEY,
aidrApiKey: process.env.AIDR_API_KEY,
});
const response = await client.responses.create({
model: "gpt-4o-mini",
instructions: "You are a helpful assistant.",
input: "Are semicolons optional in JavaScript?",
});
console.log(response.output_text);
FAQs
A wrapper around the OpenAI TypeScript library that wraps the Responses API with CrowdStrike AIDR
We found that @crowdstrike/aidr-openai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.