MCP server · Audited from source
Node Code Sandbox MCP server
by alfonsograziano/node-code-sandbox-mcpNo licenceAudited 7 Oct 2026 · source d41900d4d31b
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 8 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
my-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
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
LOWFilesystem / pathfs.traversal · test/execInSandbox.test.ts:112
'js-sbx-123/../../etc/passwd',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/runJs.test.ts:307
'js-sbx-123/../../etc/passwd',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/stopSandbox.test.ts:105
'js-sbx-123/../../etc/passwd',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test/unit/linterUtils.test.ts:2
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
(cd "$script_dir/../../.." && pwd)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · test/runJsEphemeral.test.ts:308
'/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhUSEhIVFhUVFRUVFRUVFRUVFRUVFRUWFhUVFRUYHSggGBolGxUVITEhJSkrLi4uFx8zODMsNygtLisBCgoKDg0OGhAQGy0lHyYtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
@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
website/public/images/graph-gpt.png
- Why
- 1318923 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · website/public/images/pillars/hitl_problem.png
website/public/images/pillars/hitl_problem.png
- Why
- 1286258 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · website/public/images/pillars/hitl_solution.png
website/public/images/pillars/hitl_solution.png
- Why
- 1278223 bytes not read
- Fix
- —
INFOPrompt injectionprompt.credential_read · NODE_GUIDELINES.md:75
- **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
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.
| Tool | Risk | What it does |
|---|---|---|
sandbox_stop | destructive | Terminate and remove a running sandbox container. Should be called after finishing work in a sandbox initialized with sandbox_initialize. |
run_js | write | No description in the source |
run_js_ephemeral | write | No description in the source |
sandbox_exec | write | Execute one or more shell commands inside a running sandbox container. Requires a sandbox initialized beforehand. |
sandbox_initialize | write | Start a new isolated Docker container running Node.js. Used to set up a sandbox session for multiple commands and scripts. |
get_dependency_types | read | Given 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-package | read | No description available. |
package1 | read | Test package 1 |
package2 | read | Test package 2 |
qualified-package | read | Qualified package |
search_npm_packages | read | Search 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]{
"mcpServers": {
"my-project": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
}
}
}
}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
- ✓SAFE B 89 / 100
First audit ·
d41900d4d31b
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Node Code Sandbox expose?
Is Node Code Sandbox safe to connect to an agent?
What credentials does Node Code Sandbox need?
How does Node Code Sandbox run?
How current is this page?
Sources
- alfonsograziano/node-code-sandbox-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit d41900d4d31bObserved · 7 Oct 2026
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.
- What is the Node Code Sandbox MCP server?
- What tools does Node Code Sandbox expose?
- Is Node Code Sandbox safe to connect to an agent?