
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@purinton/openai
Advanced tools
A simple OpenAI API client wrapper for Node.js, with ESM and TypeScript support.

A simple OpenAI API client wrapper for Node.js, with ESM and TypeScript support.
npm install @purinton/openai
import { createOpenAI } from '@purinton/openai';
(async () => {
// Optionally pass your API key, or set OPENAI_API_KEY in your environment
const openai = await createOpenAI();
// Example: list models
// const models = await openai.models.list();
// console.log(models);
})();
createOpenAI(apiKey?: string): Promise<OpenAI>Creates and returns a new OpenAI client instance. If apiKey is not provided, it will use process.env.OPENAI_API_KEY.
apiKey (optional): Your OpenAI API key. If omitted, the function will use the OPENAI_API_KEY environment variable.Type definitions are included:
import { createOpenAI } from '@purinton/openai';
import type OpenAI from 'openai';
const openai: OpenAI = await createOpenAI();
For help, questions, or to chat with the author and community, visit:
FAQs
A simple OpenAI API client wrapper for Node.js, with ESM and TypeScript support.
We found that @purinton/openai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.