SkillTotal

Is ai-sdk-provider-codex-cli safe?

No malicious indicators - review capabilities before installing
Notable — review in context (capabilities are not malware):
  • Node.js shell/command execution
  • npm prepare hook

ai-sdk-provider-codex-cli is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 2 risky constructs are reported for review. It can: install time execution and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).

ai-sdk-provider-codex-cli 2.3.0

npm_package · npm:ai-sdk-provider-codex-cli
LOW
0
/ 100 risk score
Snapshot · scanned Sep 25, 2026 · ai-sdk-provider-codex-cli@2.3.0 · engine 0.53.0 / ruleset 60

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

Capabilities — what this component can do (not a risk score):
install time executionshell 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
Supply-chain provenance risk
General Protections / Supply Chain

Findings (2)

HIGHNode.js shell/command executionST-SHELL-NODE

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

import { spawn } from 'child_process';
const child = spawn(cmd, args, { env, cwd, stdio: ["pipe", "pipe", "pipe"] });
this.child = spawn(base.cmd, args, {

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.

MEDIUMnpm prepare hookST-INSTALL-NPM-PREPARE

package.json has a 'prepare' script (runs on git/local installs and before publishing).

"prepare": "npm run build",

Why it matters: Usually a build step, but confirm it doesn't fetch or run remote code.

Fix: Usually a legitimate build step; confirm it only builds and does not fetch or execute remote code.

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 →