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

MCP server · Audited from source

Code Executor MCP server

by bazinga012/mcp_code_executorMIT licenceAudited 6 Oct 2026 · source bad2d021eaac

npm code_execution_server 0.2.0stdio★ 212
!CAUTIONGrade B · 89/100 · 6 Oct 2026 · bad2d02
212GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium1 low0 info

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

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

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 npmcode_execution_server at 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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(package)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMCode injectioncode.dynamic_import · src/index.ts:431
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(package)
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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

4 read5 write0 destructive
ToolRiskWhat it does
append_to_code_filewriteAppend 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_codewriteExecute 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_filewriteExecute 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_filewriteCreate 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_dependencieswriteInstall Python dependencies in the ${ENV_CONFIG.type} environment
check_installed_packagesreadCheck if packages are installed in the ${ENV_CONFIG.type} environment
configure_environmentreadChange the environment configuration settings
get_environment_configreadGet the current environment configuration
read_code_filereadRead 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]

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

  1. !CAUTION B 89 / 100

    First audit · bad2d021eaac

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/bazinga012/code-executor/badge.svg)](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?
The MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified Conda environment.
What tools does Code Executor expose?
9 in total: 4 read-only, 5 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Code Executor safe to connect to an agent?
With care. The audit graded it B (89/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Code Executor need?
No credential environment variables were found in its source, so it appears to need none.
How does Code Executor run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as code_execution_server at 0.2.0.
How current is this page?
The grade is for one exact copy of the source (bad2d021eaac), read on 2026-10-06. The repository is watched and re-audited when it changes.
Which Code Executor MCP server is the right one?
bazinga012/mcp_code_executor (this page). 2 servers share the name; see the side-by-side comparison.

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.