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

MCP server · Audited from source

Foundry MCP server

by praneshasp/foundry-mcp-serverMIT licenceAudited 6 Oct 2026 · source 2f8359351517

npm @pranesh.asp/foundry-mcp-server 0.1.5stdio★ 253
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 2f83593

Is it safe? No — BLOCK, grade D (69/100). It exposes 16 tools: 11 read, 5 write and 0 destructive. The audit recorded 11 findings (0 critical, 2 high, 1 medium, 7 low). Maintainer's description: An experimental MCP Server for foundry built for Solidity devs

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Foundry MCP server (praneshasp/foundry-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/praneshasp/foundry-1

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at src/tools/anvil/start.ts:65. 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 Foundry. You are viewing praneshasp/foundry-mcp-server. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high1 medium7 low1 info

11 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

  • FilesystemDeclared5 observations
  • NetworkDeclared3 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (11)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/tools/anvil/start.ts:65
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const child = exec(command, (error, stdout, stderr) => {
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.tls_off · src/tools/forge/script.ts:20
F-04 Network egressCWE-200 · CWE-319Layer L1
async ({ scriptPath, sig = "run()", rpcUrl, broadcast = false, verify = false }) => {
Why
certificate verification is disabled
Fix
leave verification on
MEDIUMInventory / provenanceinv.binary · bun.lockb
F-13 Inventory / provenanceCWE-1104Layer L0
bun.lockb
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWFilesystem / pathfs.traversal · src/tools/anvil/start.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { checkFoundryInstalled, FOUNDRY_PATHS, FOUNDRY_NOT_INSTALLED_ERROR } from "../../utils/command.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/anvil/start.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getAnvilInfo } from "../../utils/rpc.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/anvil/status.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getAnvilInfo } from "../../utils/rpc.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/anvil/stop.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getAnvilInfo } from "../../utils/rpc.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/cast/balance.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { checkFoundryInstalled, executeCommand, FOUNDRY_PATHS, FOUNDRY_NOT_INSTALLED_ERROR } from "../../utils/command.js";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @pranesh.asp/foundry-mcp-server, dotenv, typescript, zod, @types/bun
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainprompt.pipe_to_shell · README.md:75
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -L https://foundry.paradigm.xyz | bash
Why
No further detail recorded for this rule.
Fix
—
INFOInventory / provenanceinv.oversize · assets/analysis_gif.gif
F-13 Inventory / provenanceCWE-1104Layer L0
assets/analysis_gif.gif
Why
7169186 bytes not read
Fix
—

Tools it exposes

16 declared in source · 0 destructive

11 read5 write0 destructive
ToolWhat it doesRisk
anvil_startStart a new Anvil instance (local Ethereum node)write
anvil_stopStop a running Anvil instancewrite
cast_sendSend a transaction to a contract functionwrite
create_solidity_fileCreate or update a Solidity file in the workspacewrite
forge_scriptRun a Forge script from the workspacewrite
anvil_statusCheck if Anvil is running and get its statusread
cast_balanceCheck the ETH balance of an addressread
cast_callCall a contract function (read-only)read
cast_chainGet information about the current chainread
cast_receiptGet the transaction receiptread
convert_eth_unitsConvert between Ethereum units (wei, gwei, ether)read
heimdall_cfgGenerate visual control flow graph for EVM bytecode using Heimdallread
heimdall_decodeDecode raw calldata without requiring ABI using Heimdallread
heimdall_decompileDecompile EVM bytecode to Solidity source code and ABI using Heimdallread
heimdall_disassembleDisassemble EVM bytecode into human-readable opcodes using Heimdallread
heimdall_inspectDetailed inspection of Ethereum transactions including calldata decoding, trace analysis, and log visualization using Heimdallread

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 2f8359351517

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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 Foundry MCP server

What is the Foundry MCP server?
An experimental MCP Server for foundry built for Solidity devs
What tools does Foundry expose?
16 in total: 11 read-only, 5 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Foundry safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 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 Foundry need?
It reads PRIVATE_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 Foundry run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @pranesh.asp/foundry-mcp-server at 0.1.5.
How current is this page?
The grade is for one exact copy of the source (2f8359351517), read on 2026-10-06. The repository is watched and re-audited when it changes.
Which Foundry MCP server is the right one?
2 unrelated servers share the name “Foundry”; compare them side by side before you install.
I already installed Foundry. 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

  • praneshasp/foundry-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 2f8359351517Observed · 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.