Skip to main content
SkillTotal

Is openai safe?

Partially analyzed - 1 code file not read (1 minified)
Notable — review in context (a capability is not a malicious indicator):
  • Sensitive path / secret-location reference
  • Node.js shell/command execution
  • Node.js network egress

What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.

openai is an npm package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct is reported for review. It can: delegated authentication, filesystem read, network egress, scoped identity and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 20/100 (low).

openai 7.60.0

npm package · npm:openai
LOW
20
/ 100 risk score
Snapshot · scanned Nov 18, 2026 · openai@7.60.0 · engine 1.5.0 / ruleset 104

Get notified when this component changes

Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of openai's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
delegated authenticationfilesystem readnetwork egressscoped identityshell execution

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Execution authority
Tool Access Control / Direct Tool Access
Network egress
Interaction & Communication / Direct Communication
Embedded credential access
Tool Execution Context / Agent Service Identity
Delegated authentication
Tool Execution Context / User Delegated Credentials
Scoped / least-privilege identity
Tool Execution Context / Least-Privilege Service Identity

Findings (5)

HIGHSensitive path / secret-location referenceST-SENS-PATH

The component references credential locations like ~/.ssh or .aws/credentials.

const AZURE_IMDS_BASE_URL = 'http://169.254.169.254/metadata/identity/oauth2/token';
const AZURE_IMDS_BASE_URL = 'http://169.254.169.254/metadata/identity/oauth2/token';
const AZURE_IMDS_BASE_URL = 'http://169.254.169.254/metadata/identity/oauth2/token';

Why it matters: Touching secret locations is a common first step before stealing them — confirm why it's needed.

Fix: Verify why the component references credential locations; reading these is a common precursor to secret exfiltration.

CapabilityNode.js shell/command executionnot scored · severity highST-SHELL-NODE

The component can run operating-system commands or spawn processes.

const node_child_process_1 = require("node:child_process");
const ffplay = (0, node_child_process_1.spawn)('ffplay', ['-autoexit', '-nodisp', '-i', 'pipe:0']);
ffmpeg = (0, node_child_process_1.spawn)('ffmpeg', [
import { spawn } from 'node:child_process';
const ffplay = spawn('ffplay', ['-autoexit', '-nodisp', '-i', 'pipe:0']);
ffmpeg = spawn('ffmpeg', [
import { spawn } from 'node:child_process';
const ffplay = spawn('ffplay', ['-autoexit', '-nodisp', '-i', 'pipe:0']);

Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.

Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.

CapabilityNode.js network egressnot scored · severity mediumST-NET-NODE

The component makes outbound network requests.

const response = await this.fetch(this.tokenExchangeUrl, {
const response = await this.fetch(this.tokenExchangeUrl, {
tslib_1.__classPrivateFieldSet(this, _OpenAI_x509Fetch, authentication.fetch(), "f");
__classPrivateFieldSet(this, _OpenAI_x509Fetch, authentication.fetch(), "f");
const request = fetch(targetOrigin, { dispatcher: probe });
const response = await fetch(request, { dispatcher, redirect: 'manual' });
const response = await fetch('data:,');
const response = await fetch('data:,');
const response = await this.fetch(this.tokenExchangeUrl, {
this.#x509Fetch = authentication.fetch();
const request = fetch(targetOrigin, { dispatcher: probe });
const response = await fetch(request, { dispatcher, redirect: 'manual' });
const response = await fetch('data:,');

Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.

Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.

CapabilityDelegated authentication (OAuth 2.0 / OIDC)not scored · severity lowST-AUTH-DELEGATED

An OAuth 2.0 / OpenID Connect delegated-authentication flow was detected (authorization-code / refresh-token / token-exchange grant, an OIDC authorize/discovery endpoint or id_token, or a delegation library). Tools authenticate with the end user's delegated, scoped credentials rather than a long-lived embedded service credential. (9 occurrence(s) shown as evidence).

id: 'urn:ietf:params:oauth:token-type:id_token',
const TOKEN_EXCHANGE_GRANT_TYPE = 'urn:ietf:params:oauth:grant-type:token-exchange';
id: 'urn:ietf:params:oauth:token-type:id_token',
const TOKEN_EXCHANGE_GRANT_TYPE = 'urn:ietf:params:oauth:grant-type:token-exchange';
const TOKEN_EXCHANGE_GRANT = 'urn:ietf:params:oauth:grant-type:token-exchange';
const TOKEN_EXCHANGE_GRANT = 'urn:ietf:params:oauth:grant-type:token-exchange';
id: 'urn:ietf:params:oauth:token-type:id_token',
const TOKEN_EXCHANGE_GRANT_TYPE = 'urn:ietf:params:oauth:grant-type:token-exchange';
const TOKEN_EXCHANGE_GRANT = 'urn:ietf:params:oauth:grant-type:token-exchange';

Fix: Delegated auth is a lower-blast-radius execution context than an embedded static credential. Confirm the requested scopes are minimal and that tokens are never logged or forwarded off-host.

CapabilityScoped / least-privilege identitynot scored · severity lowST-AUTH-SCOPED

A short-lived, scoped, assumed identity was detected - an STS AssumeRole / session token, a cloud managed or workload identity, an impersonated service account, a projected Kubernetes service-account token, or a dynamic-secret broker. Tools authenticate with a narrowly-scoped credential that expires, rather than a long-lived embedded service credential. (25 occurrence(s) shown as evidence).

function k8sServiceAccountTokenProvider(tokenPath = '/var/run/secrets/kubernetes.io/serviceaccount/token', config) {
export function k8sServiceAccountTokenProvider(tokenPath = '/var/run/secrets/kubernetes.io/serviceaccount/token', config) {
const x509_workload_identity_auth_1 = require("../../internal/auth/x509-workload-identity-auth.js");
import { assertX509WebSocketSupported } from "../../internal/auth/x509-workload-identity-auth.mjs";
const workload_identity_auth_1 = require("./auth/workload-identity-auth.js");
const x509_workload_identity_auth_1 = require("./internal/auth/x509-workload-identity-auth.js");
const WORKLOAD_IDENTITY_API_KEY_PLACEHOLDER = 'workload-identity-auth';
import { WorkloadIdentityAuth } from "./auth/workload-identity-auth.mjs";
import { X509WorkloadIdentityAuth, assertX509RequestOptions, isX509WorkloadIdentity, snapshotX509RequestOptions, } from "./internal/auth/x509-workload-identity-auth.mjs";
const WORKLOAD_IDENTITY_API_KEY_PLACEHOLDER = 'workload-identity-auth';
const x509_workload_identity_auth_1 = require("./x509-workload-identity-auth.js");
import { isX509WorkloadIdentity } from "./x509-workload-identity-auth.mjs";
const x509_workload_identity_auth_1 = require("../internal/auth/x509-workload-identity-auth.js");
import { assertX509WebSocketSupported } from "../internal/auth/x509-workload-identity-auth.mjs";
const x509_workload_identity_auth_1 = require("../../internal/auth/x509-workload-identity-auth.js");
import { assertX509WebSocketSupported } from "../../internal/auth/x509-workload-identity-auth.mjs";
type: 'api_key.created' | 'api_key.updated' | 'api_key.deleted' | 'certificate.created' | 'certificate.updated' | 'certificate.deleted' | 'certificates.activated' | 'certificates.deactivated' | 'checkpoint.permission.created' | 'checkpoint. …
event_types?: Array<'api_key.created' | 'api_key.updated' | 'api_key.deleted' | 'certificate.created' | 'certificate.updated' | 'certificate.deleted' | 'certificates.activated' | 'certificates.deactivated' | 'checkpoint.permission.created' …
export { WorkloadIdentityProviders, type WorkloadIdentityProvider, type WorkloadIdentityProviderDeleted, type WorkloadIdentityProviderCreateParams, type WorkloadIdentityProviderUpdateParams, type WorkloadIdentityProviderListParams, type Wor …
var index_4 = require("./workload-identity-providers/index.js");
export { WorkloadIdentityProviders, } from "./workload-identity-providers/index.mjs";
import * as WorkloadIdentityProvidersAPI from "./workload-identity-providers/workload-identity-providers.js";
import { WorkloadIdentityProvider, WorkloadIdentityProviderCreateParams, WorkloadIdentityProviderDeleted, WorkloadIdentityProviderListParams, WorkloadIdentityProviderUpdateParams, WorkloadIdentityProviders, WorkloadIdentityProvidersPage } f …
const WorkloadIdentityProvidersAPI = tslib_1.__importStar(require("./workload-identity-providers/workload-identity-providers.js"));
const workload_identity_providers_1 = require("./workload-identity-providers/workload-identity-providers.js");

Fix: A scoped, short-lived identity is the smallest-blast-radius execution context. Confirm the assumed role / requested scope grants only the permissions the tool needs, and that the token lifetime is minimal.

How attackers abuse these capabilities

Interactive labs on the attack class behind the rules above. They show the technique, not anything found in openai.

Maintain openai?

Check the next package before your agent installs it

The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →