Atlas / MCP servers / buremba / 1mcp

1mcpSAFE

mcp/buremba/1mcp

Embedded sandbox with MCP proxy

Verdict
SAFE
Grade
B
Trust score
87 /100
Exposed tools
4 2r · 2w · 0d
Transport
—
License
Apache-2.0
Stars
36
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Build tiny sandboxes from MCP tools, TypeScript functions, CLIs, and just-bash.

mcpbash gives you a small shell-first sandbox object. Instead of provisioning a VM or container, you map capabilities into commands and run them through a controlled runtime.

Install

pnpm add mcpbash
# or
npm install mcpbash

Why use it?

  • Map MCP tools to shell commands
  • Map TypeScript functions to shell commands
  • Wrap existing binaries
  • Choose an in-memory, read-only, or read-write filesystem
  • Opt into git support when you need it
  • Control outbound MCP access with a simple network policy
  • Resolve secrets at runtime instead of hardcoding them

Quick start

This example creates one command, slugify, and runs it inside the sandbox.

import { createSandbox, fn } from "mcpbash";

const sandbox = await createSandbox({
filesystem: { mode: "memory" },
commands: {
slugify: fn({
input: { text: "$1" },
handler: ({ text }: { text: string }) =>
text.toLowerCase().replace(/\s+/g, "-"),
}),
},
});

const result = await sandbox.run('slugify "Hello World"');

console.log(result.stdout); // hello-world
console.log(result.exitCode); // 0

await sandbox.dispose();

Common patterns

Run a real MCP-backed command

This example is fully runnable. It starts a tiny local HTTP server that behaves like an MCP tool endpoint, maps that tool into the sandbox as repos.search, and calls it like a shell command.

import http from "node:http";
import { createSandbox, mcp } from "mcpbash";

async function startToolServer(): Promise }> {
return new Promise((resolve) => {
const server = http.createServer((req, res) => {
if (req.method !== "POST" || req.url !== "/tools/search_repositories") {
res.statusCode = 404;
res.end("not found");
return;
}

let body = "";
req.on("data", (chunk) => {
body += chunk.toString("utf8"
Read from source at commit 5caef93a3bacOBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add shared --env MCPBASH_SECRET=${MCPBASH_SECRET} --env SECRET_NAME=${SECRET_NAME} -- npx -y @onemcp/[email protected]
claude-desktop
{
  "mcpServers": {
    "shared": {
      "command": "npx",
      "args": [
        "-y",
        "@onemcp/[email protected]"
      ],
      "env": {
        "MCPBASH_SECRET": "${MCPBASH_SECRET}",
        "SECRET_NAME": "${SECRET_NAME}"
      }
    }
  }
}
03

Exposed tools (4)

2 read · 2 write · 0 destructive.

ToolRiskDescription
readreadRead file contents from the workspace. Filesystem policy restricts access to: readonly=[${config.policy.filesystem.readonly.join(
run_jswriteExecute JavaScript code in a sandboxed QuickJS WASM environment. Has access to upstream MCP servers: ${config.mcps.map(m => m.name).join(
searchreadSearch for files or content within the workspace. Search scope limited to mounted directories: ${config.policy.filesystem.mounts?.map(m => m.target).join(
writewriteWrite content to a file in writable workspace areas. Writable paths: [${config.policy.filesystem.writable.join(
04

Trust audit

SAFEgrade B · trust 87/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (1 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (19)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
packages/ai-sdk/src/server-manager.ts:102
baseUrl: `http://127.0.0.1:${port}`,
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
docs/src/components/FAQSection.jsx:148
answer="Yes. Multiple security layers protect against malicious code: (1) Signed Capsules - server cryptographically signs all code, (2) WASM Sandbox - code runs in isolated QuickJS WASM runtime, (3)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/ai-sdk-integration/src/components/ui/button.tsx:2
import { cn } from "../../lib/utils";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/ai-sdk-integration/src/components/ui/card.tsx:2
import { cn } from "../../lib/utils";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/ai-sdk-integration/src/components/ui/scroll-area.tsx:2
import { cn } from "../../lib/utils";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/ai-sdk-integration/src/components/ui/select.tsx:2
import { cn } from "../../lib/utils";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/server/src/cli/commands/serve.ts:10
import { startServer } from "../../index.js";
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:101
url: `http://127.0.0.1:${address.port}`,
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/ai-sdk-integration/.env.example:33
VITE_RELAY_SERVER_URL=http://127.0.0.1:7888
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/ai-sdk-integration/TESTING.md:227
VITE_RELAY_SERVER_URL=http://127.0.0.1:7888
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/ai-sdk-integration/src/App.tsx:116
const mcpUrl = "http://127.0.0.1:7888/mcp";
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
docs/package.json
prismjs, react, react-dom, @eslint/js, @types/react, @types/react-dom, @vitejs/plugin-react, eslint
Why it matters. 13 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/ai-sdk-integration/package.json
ai, react, react-dom, zod, @playwright/test, @types/react, @types/react-dom, @vitejs/plugin-react
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
zod, @biomejs/biome, @types/node, husky, tsx, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/ai-sdk/package.json
ai, fflate, zod, @types/node, @types/react, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/mcpbash/package.json
just-bash, @types/node, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
spec.md:161
- Server detects: browser session attached via POST /session
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
spec.md:307
POST /session/:id/result → NDJSON backchannel from browser to server with events: stdout, stderr, progress, exit, error
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
INFOInventory / provenance · inv.oversize · CWE-1104
docs/public/demo.gif
docs/public/demo.gif
Why it matters. 3312558 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 5caef93a3bacfull audit observations/trust-audit/mcp-server/buremba__1mcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-085caef93a3bacSAFEB87first audit
06

Questions

What is the 1mcp MCP server?

Embedded sandbox with MCP proxy

What tools does 1mcp expose?

4 in total: 2 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is 1mcp safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (87/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does 1mcp need?

It reads MCPBASH_SECRET and SECRET_NAME 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 current is this page?

The grade is for one exact copy of the source (5caef93a3bac), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement