MCP server · Audited from source
Code Executor MCP server
by aberemia24/code-executor-mcpMIT licenceAudited 7 Oct 2026 · source d137981930ab
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).
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 →
- bazinga012/mcp_code_executor★ 212!CAUTION
- aberemia24/code-executor-mcp★ 128✕BLOCK
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
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
/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
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
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
/\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
/\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
`(169.254.169.254, metadata.google.internal).`
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
HIGHPrompt injectionprompt.override · CHANGELOG.md:494
- 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
- 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
console.log(`Token Usage: ~${totalTokens} tokens (Target: ~1.6k) - ${totalTokens < 2000 ? '✅ PASS' : '⚠️ REVIEW'}`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.deserialize · tests/security/pattern-bypass.test.ts:161
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
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
expect(() => new SystemdScheduler('../../.ssh/authorized_keys')).toThrow(- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · tests/security/symlink-attacks.test.ts:357
const symlinkPath = path.join(allowedDir, 'id_rsa');
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · src/core/handlers/discovery-request-handler.ts:32
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
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
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
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
import type { SchemaCache } from '../../validation/schema-cache.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.metadata_ip · SECURITY.md:87
- Cloud metadata endpoints (`169.254.169.254`)
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · SECURITY.md:106
- `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
{ 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
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
| Tool | What it does | Risk |
|---|---|---|
mcp__filesystem__write_file | Write file contents | write |
mcp__server1__test_runner | Run automated tests | write |
Cursor | AI-first code editor | read |
OpenCode | Open-source AI code completion | read |
Test | Test | read |
Windsurf | AI-powered development assistant | read |
broken | Broken server | read |
complex_tool | Complex tool | read |
executePython | No description in the source | read |
executeTypescript | No description in the source | read |
filesystem | File system operations | read |
health | No description in the source | read |
legacy-tool | Legacy tool without outputSchema | read |
mcp-one | First MCP | read |
mcp-two | Second MCP | read |
mcp__filesystem__read_file | Read file contents | read |
mcp__network__fetch_url | Fetch content from a URL | read |
mcp__server1__code_review | Review code for quality | read |
mcp__server1__file_read | Read file contents | read |
mcp__server1__tool1 | Cached schema | read |
mcp__server1__tool2 | Test tool 2 | read |
mcp__server2__data_analysis | Analyze data patterns | read |
mcp__test__allowed_tool | Test tool | read |
mcp__test__some_long_name | Test | read |
mcp__zen__codereview | ... | read |
my-server-123 | Server with hyphens | read |
my_server_v2 | Server with underscores | read |
safe-server | {{process.exit()}} <script>alert( | read |
safe_tool | Safe tool | read |
test | {{#with process}}{{exit}}{{/with}} | read |
test-server | Test MCP server | read |
test-server-2 | Test MCP server | read |
test-tool | Test tool | read |
test-tool-1 | Test tool 1 | read |
test-tool-2 | Test tool 2 | read |
testLongName | Test | read |
testTool1 | Test tool for file operations | read |
testTool2 | Test tool for network operations | read |
test_tool | A test tool | read |
test_tool_v2 | Test tool v2 (updated) | read |
tool1 | Tool 1 | read |
tool2 | Tool 2 | read |
tool3 | Tool 3 | read |
测试包 | Тестовый пакет | 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
- ✕BLOCK F 38 / 100
First audit ·
d137981930ab
README badge
Badges show the current verdict, BLOCK included
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?
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?
I already installed Code Executor. What should I do?
Can the verdict change?
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.
- What tools does Code Executor expose?
- Is Code Executor safe to connect to an agent?
- What credentials does Code Executor need?