
Security News
Inside Lodash’s Security Reset and Maintenance Reboot
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.
@crowdstrike/aidr
Advanced tools
TypeScript SDK for CrowdStrike AIDR.
npm install @crowdstrike/aidr
pnpm add @crowdstrike/aidr
yarn add @crowdstrike/aidr
import { AIGuard } from "@crowdstrike/aidr";
const client = new AIGuard({
token: "your-api-token",
baseURLTemplate: "https://api.crowdstrike.com/aidr/{SERVICE_NAME}",
});
const response = await client.guardChatCompletions({
guard_input: {
messages: [
{
role: "user",
content: "Hello, how can I help you?",
},
],
},
});
console.log(response);
The SDK supports automatic retries for temporary failures (network errors or HTTP/5XX server errors). It supports configuring retries at the client level or per-request.
// Set the default number of retries when creating the client.
const client = new AIGuard({
token: "your-api-token",
baseURLTemplate: "https://api.crowdstrike.com/aidr/{SERVICE_NAME}",
maxRetries: 3, // Default is 2.
});
const response = await client.guardChatCompletions(
{
guard_input: {
messages: [{ role: "user", content: "Hello" }],
},
},
{
// Override the default retry count for this specific request.
maxRetries: 5,
}
);
Configure request timeouts to control how long the client waits for a response before timing out.
// Set the default timeout (in milliseconds) when creating the client.
const client = new AIGuard({
token: "your-api-token",
baseURLTemplate: "https://api.crowdstrike.com/{SERVICE_NAME}",
timeout: 30000, // 30 seconds (default is 60 seconds).
});
const response = await client.guardChatCompletions(
{
guard_input: {
messages: [{ role: "user", content: "Hello" }],
},
},
{
// Override the default timeout for a specific request.
timeout: 10000, // 10 seconds.
}
);
FAQs
TypeScript SDK for CrowdStrike AIDR
We found that @crowdstrike/aidr 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.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.