Is ai safe?
- Node.js shell/command execution
- Node.js network egress
ai 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: network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
ai 7.0.66
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of ai's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (2)
The component can run operating-system commands or spawn processes.
const match = chunkingRegex.exec(buffer);
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.
The component makes outbound network requests.
import type { ServerResponse } from 'node:http';import type { ServerResponse } from 'node:http';import type { ServerResponse } from 'node:http';const response = await fetch(this.api.token, {import type { ServerResponse } from 'node:http';import type { ServerResponse } from 'node:http';const response = await fetch(api, {const response = await fetch(api, {const response = await fetch(api, {import type { ServerResponse } from 'node:http';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.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →