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 aberemia24/code-executor-mcpMIT licenceAudited 7 Oct 2026 · source d137981930ab

npm code-executor-mcp 1.0.5stdiostreamable-http★ 128
✕BLOCKGrade F · 38/100 · 7 Oct 2026 · d137981

Is it safe? No — BLOCK, grade F (38/100). It exposes 44 tools: 42 read, 2 write and 0 destructive. The audit recorded 39 findings (0 critical, 8 high, 1 medium, 24 low).

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Code Executor MCP server (aberemia24/code-executor-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/aberemia24/code-executor-1

Why this is BLOCK. The audit found 0 critical and 8 high findings; the most severe is Code injection at src/validation/security-validator.ts:61. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

2 MCP servers are called Code Executor. You are viewing aberemia24/code-executor-mcp. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score38/100✕BLOCK F
0 critical8 high1 medium24 low6 info

39 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

  • FilesystemDeclared8 observations
  • NetworkDeclared7 observations
  • ShellDeclared6 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (39)

Sorted by severity · the 25 most severe of 39 are listed

HIGHCode injectioncode.deserialize · src/validation/security-validator.ts:61
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
/pickle\.loads/i,                          // pickle.loads() - deserialization RCE
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
HIGHCode injectioncode.eval_exec · src/cli/mcp-discovery.ts:243
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`${checkCommand} ${server.command}`, (error, stdout, _stderr) => {
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/executors/python-executor.ts:61
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(open('${userCodeFile}').read())
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/validation/security-validator.ts:43
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
/\beval\s*\(/i,                            // eval( with whitespace
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/validation/security-validator.ts:59
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
/\bexec\s*\(/i,                            // exec() - execute arbitrary code
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.metadata_ip · src/validation/security-validator.ts:142
F-04 Network egressCWE-200 · CWE-319Layer L1
`(169.254.169.254, metadata.google.internal).`
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
HIGHPrompt injectionprompt.override · CHANGELOG.md:494
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Type safety violation: Unsafe casts bypass compiler safety checks
Why
asks the agent to drop prior instructions or safety
Fix
remove the instruction
HIGHPrompt injectionprompt.override · CHANGELOG.md:759
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Type safety violation: Unsafe casts bypass compiler safety checks
Why
asks the agent to drop prior instructions or safety
Fix
remove the instruction
MEDIUMInformation disclosuredisclose.log_secret · scripts/verify-progressive-disclosure.ts:98
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`Token Usage: ~${totalTokens} tokens (Target: ~1.6k) - ${totalTokens < 2000 ? '✅ PASS' : '⚠️  REVIEW'}`);
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .eslintignore
F-13 Inventory / provenanceCWE-1104Layer L0
.eslintignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .mcp.example.json
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp.example.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .test-debug-wrapper.mjs
F-13 Inventory / provenanceCWE-1104Layer L0
.test-debug-wrapper.mjs
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.deserialize · tests/security/pattern-bypass.test.ts:161
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
expectBlocked('pickle.loads(data)');
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
LOWCode injectioncode.eval_exec · tests/security.test.ts:158
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const code = 'new Function("return 1")()';
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWFilesystem / pathfs.credential_store · tests/cli/schedulers/systemd-scheduler.test.ts:289
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(() => new SystemdScheduler('../../.ssh/authorized_keys')).toThrow(
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · tests/security/symlink-attacks.test.ts:357
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const symlinkPath = path.join(allowedDir, 'id_rsa');
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · src/core/handlers/discovery-request-handler.ts:32
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { SchemaCache } from '../../validation/schema-cache.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/core/handlers/discovery-request-handler.ts:33
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { RateLimiter } from '../../security/rate-limiter.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/core/handlers/discovery-request-handler.ts:34
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { ToolSchema } from '../../types/discovery.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/core/handlers/discovery-request-handler.ts:35
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { normalizeError } from '../../utils/utils.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/core/handlers/health-check-handler.ts:24
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { SchemaCache } from '../../validation/schema-cache.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · SECURITY.md:87
F-04 Network egressCWE-200 · CWE-319Layer L1
- Cloud metadata endpoints (`169.254.169.254`)
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · SECURITY.md:106
F-04 Network egressCWE-200 · CWE-319Layer L1
- `169.254.169.254`, `metadata.google.internal` (cloud metadata)
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · race-condition-test.ts:247
F-04 Network egressCWE-200 · CWE-319Layer L1
{ url: 'http://[::ffff:169.254.169.254]', desc: 'IPv4-mapped metadata service' },
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · tests/network-security.test.ts:42
F-04 Network egressCWE-200 · CWE-319Layer L1
const hosts = ['169.254.169.254'];
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—

Tools it exposes

44 declared in source · 0 destructive

42 read2 write0 destructive
ToolWhat it doesRisk
mcp__filesystem__write_fileWrite file contentswrite
mcp__server1__test_runnerRun automated testswrite
CursorAI-first code editorread
OpenCodeOpen-source AI code completionread
TestTestread
WindsurfAI-powered development assistantread
brokenBroken serverread
complex_toolComplex toolread
executePythonNo description in the sourceread
executeTypescriptNo description in the sourceread
filesystemFile system operationsread
healthNo description in the sourceread
legacy-toolLegacy tool without outputSchemaread
mcp-oneFirst MCPread
mcp-twoSecond MCPread
mcp__filesystem__read_fileRead file contentsread
mcp__network__fetch_urlFetch content from a URLread
mcp__server1__code_reviewReview code for qualityread
mcp__server1__file_readRead file contentsread
mcp__server1__tool1Cached schemaread
mcp__server1__tool2Test tool 2read
mcp__server2__data_analysisAnalyze data patternsread
mcp__test__allowed_toolTest toolread
mcp__test__some_long_nameTestread
mcp__zen__codereview...read
my-server-123Server with hyphensread
my_server_v2Server with underscoresread
safe-server{{process.exit()}} <script>alert(read
safe_toolSafe toolread
test{{#with process}}{{exit}}{{/with}}read
test-serverTest MCP serverread
test-server-2Test MCP serverread
test-toolTest toolread
test-tool-1Test tool 1read
test-tool-2Test tool 2read
testLongNameTestread
testTool1Test tool for file operationsread
testTool2Test tool for network operationsread
test_toolA test toolread
test_tool_v2Test tool v2 (updated)read
tool1Tool 1read
tool2Tool 2read
tool3Tool 3read
测试包Тестовый пакетread

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK F 38 / 100

    First audit · d137981930ab

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Code Executor MCP server

What tools does Code Executor expose?
44 in total: 42 read-only, 2 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?
No — not without reading the findings first. The audit graded it F (38/100) and found 8 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Code Executor need?
It reads ANTHROPIC_API_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, CODE_EXECUTOR_MAX_SAMPLING_TOKENS, GEMINI_API_KEY, GROK_API_KEY, OPENAI_API_KEY and PERPLEXITY_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 Code Executor run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as code-executor-mcp at 1.0.5.
How current is this page?
The grade is for one exact copy of the source (d137981930ab), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Code Executor MCP server is the right one?
bazinga012/mcp_code_executor. 2 servers share the name; see the side-by-side comparison.
I already installed Code Executor. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • aberemia24/code-executor-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit d137981930abObserved · 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.