MCP server · Audited from source
Code Executor MCP server
by bazinga012/mcp_code_executorMIT licenceAudited 6 Oct 2026 · source bad2d021eaac
Is it safe? With care — CAUTION, grade B (89/100). It exposes 9 tools: 4 read, 5 write and 0 destructive. The audit recorded 3 findings (0 critical, 0 high, 2 medium, 1 low). Maintainer's description: The MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified Conda environment.
Cite
Cite this page
ModelsAtlas. “Code Executor MCP server (bazinga012/mcp_code_executor)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/bazinga012/code-executor
2 MCP servers are called Code Executor. This is the one we pick. Compare all 2 →
- bazinga012/mcp_code_executor★ 212!CAUTION
- aberemia24/code-executor-mcp★ 128✕BLOCK
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
3 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
- FilesystemDeclared1 observation
- NetworkDeclared1 observation
- ShellDeclared2 observations
- 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 |
L1 Static source | Secrets, path traversal, supply chain | WARN 3 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
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
bazinga012User accountAccount type recorded when we read the repository. - PackagePublished on npm
code_execution_serverat version 0.2.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push17 months agoActivity of the repository when we read it.
- Source commit readbad2d021eaacThe audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory9 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 (3)
Sorted by severity
MEDIUMCode injectioncode.dynamic_import · build/index.js:384
module = importlib.import_module(package)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/index.ts:431
module = importlib.import_module(package)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
mcp-framework, @types/node, typescript
- Why
- 3 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
9 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
append_to_code_file | write | Append content to an existing Python code file. Use this to add more code to a file created with initialize_code_file, allowing you to build up larger code bases in parts. |
execute_code | write | Execute Python code in the ${ENV_CONFIG.type} environment. For short code snippets only. For longer code, use initialize_code_file and append_to_code_file instead. |
execute_code_file | write | Execute an existing Python file. Use this as the final step after building up code with initialize_code_file and append_to_code_file. |
initialize_code_file | write | Create a new Python file with initial content. Use this as the first step for longer code that may exceed token limits. Follow with append_to_code_file for additional code. |
install_dependencies | write | Install Python dependencies in the ${ENV_CONFIG.type} environment |
check_installed_packages | read | Check if packages are installed in the ${ENV_CONFIG.type} environment |
configure_environment | read | Change the environment configuration settings |
get_environment_config | read | Get the current environment configuration |
read_code_file | read | Read the content of an existing Python code file. Use this to verify the current state of a file before appending more content or executing it. |
Install
Package version 0.2.0 · audited commit bad2d02
Read the findings first. The most severe is Code injection (medium) at build/index.js.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.2.0. The audit covers commit bad2d02 only.
claude mcp add code_execution_server -- npx -y [email protected]
{
"mcpServers": {
"code_execution_server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}The command pins the package version recorded in the source (0.2.0); the audit covers commit bad2d021eaac. Transport: stdio. No environment variables required.
Audit history
- !CAUTION B 89 / 100
First audit ·
bad2d021eaac
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/bazinga012/code-executor/)
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 Code Executor MCP server
What is the Code Executor MCP server?
What tools does Code Executor expose?
Is Code Executor safe to connect to an agent?
What credentials does Code Executor need?
How does Code Executor run?
How current is this page?
Which Code Executor MCP server is the right one?
Sources
- bazinga012/mcp_code_executor on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit bad2d021eaacObserved · 6 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 Code Executor MCP server?
- What tools does Code Executor expose?
- Is Code Executor safe to connect to an agent?