Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Node Code Sandbox MCP server

by alfonsograziano/node-code-sandbox-mcpNo licenceAudited 7 Oct 2026 · source d41900d4d31b

npm my-projectstdio★ 157
✓SAFEGrade B · 89/100 · 7 Oct 2026 · d41900d
157GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 11 tools: 6 read, 4 write and 1 destructive. The audit recorded 18 findings (0 critical, 0 high, 1 medium, 13 low). Maintainer's description: A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Node Code Sandbox MCP server (alfonsograziano/node-code-sandbox-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/alfonsograziano/node-code-sandbox

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium13 low4 info

18 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared4 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 8 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner alfonsograzianoUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmmy-project, no version recorded
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last push11 months agoActivity of the repository when we read it.
  • Source commit readd41900d4d31bThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory11 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (18)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
sandbox_stop
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .commitlintrc
F-13 Inventory / provenanceCWE-1104Layer L0
.commitlintrc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .env.sample
F-13 Inventory / provenanceCWE-1104Layer L0
.env.sample
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .lintstagedrc
F-13 Inventory / provenanceCWE-1104Layer L0
.lintstagedrc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierrc.js
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierrc.js
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · test/execInSandbox.test.ts:112
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
'js-sbx-123/../../etc/passwd',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/runJs.test.ts:307
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
'js-sbx-123/../../etc/passwd',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/stopSandbox.test.ts:105
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
'js-sbx-123/../../etc/passwd',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/unit/linterUtils.test.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { lintAndRefactorCode } from '../../src/linterUtils.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · website/.specify/scripts/bash/common.sh:11
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
(cd "$script_dir/../../.." && pwd)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.base64_blob · test/runJsEphemeral.test.ts:308
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
'/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhUSEhIVFhUVFRUVFRUVFRUVFRUVFRUWFhUVFRUYHSggGBolGxUVITEhJSkrLi4uFx8zODMsNygtLisBCgoKDg0OGhAQGy0lHyYtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@eslint/eslintrc, @modelcontextprotocol/sdk, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, dotenv, eslint, eslint-config-prettier, eslint-plugin-n
Why
28 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · website/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@mdx-js/react, @mdx-js/rollup, @types/react-router-dom, buffer, clsx, ethers, lucide-react, react
Why
19 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · website/public/images/graph-gpt.png
F-13 Inventory / provenanceCWE-1104Layer L0
website/public/images/graph-gpt.png
Why
1318923 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · website/public/images/pillars/hitl_problem.png
F-13 Inventory / provenanceCWE-1104Layer L0
website/public/images/pillars/hitl_problem.png
Why
1286258 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · website/public/images/pillars/hitl_solution.png
F-13 Inventory / provenanceCWE-1104Layer L0
website/public/images/pillars/hitl_solution.png
Why
1278223 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · NODE_GUIDELINES.md:75
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Manage Secrets:** **NEVER** hardcode secrets (API keys, passwords) in the source code. Load them from environment variables (e.g., using `dotenv` in development).
Why
asks the agent to read credentials
Fix
—

Tools it exposes

11 declared in source · 1 destructive

6 read4 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
sandbox_stopdestructiveTerminate and remove a running sandbox container. Should be called after finishing work in a sandbox initialized with sandbox_initialize.
run_jswriteNo description in the source
run_js_ephemeralwriteNo description in the source
sandbox_execwriteExecute one or more shell commands inside a running sandbox container. Requires a sandbox initialized beforehand.
sandbox_initializewriteStart a new isolated Docker container running Node.js. Used to set up a sandbox session for multiple commands and scripts.
get_dependency_typesreadGiven an array of npm package names (and optional versions), fetch whether each package ships its own TypeScript definitions or has a corresponding @types/... package, and return the raw .d.ts text. Useful whenwhen you
incomplete-packagereadNo description available.
package1readTest package 1
package2readTest package 2
qualified-packagereadQualified package
search_npm_packagesreadSearch for npm packages by a search term and get their name, description, and a README snippet.

Install

audited commit d41900d

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit d41900d only.

claude mcp add my-project --env OPENAI_API_KEY=${OPENAI_API_KEY} -- npx -y [email protected]

The command does not pin a version; the audit covers commit d41900d4d31b. Transport: stdio. Reads this environment variable: OPENAI_API_KEY. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · d41900d4d31b

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/alfonsograziano/node-code-sandbox/badge.svg)](https://modelsatlas.com/mcp/alfonsograziano/node-code-sandbox/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Node Code Sandbox MCP server

What is the Node Code Sandbox MCP server?
A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.
What tools does Node Code Sandbox expose?
11 in total: 6 read-only, 4 that write, and 1 that can delete or overwrite (sandbox_stop). Every one is listed on this page with its risk.
Is Node Code Sandbox safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Node Code Sandbox need?
It reads OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Node Code Sandbox run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as my-project at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (d41900d4d31b), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.