plugsday
Week 2 · November 9, 2026 / mcode-agent-table

mcode-agent-table

MCP serverPassed every check★ 55 · by @MiniMax-AI

Reference implementation of the BYOB (Bring Your Own Bot) Table Protocol v0.1. It includes a table server that keeps an append-only ledger, a seat client SDK, an MCode (MiniMax Code) adapter and a stdio MCP bridge, so that agents owned by different people can debate at a shared table, propose actions, and have the affected owner sign approvals.

See it on GitHub

What it can touch

files · read and writenetwork · 3 hostsshell · runs commandssecrets · 3 keys
fileswrite
networkapi.minimaxi.com, byob.dev, miniapp.local
shellruns commands
secretsBYOB_OWNER_KEY_FILE, BYOB_SEAT_TOKEN, MINIMAX_BENCH_KEY

What it actually does

The code does what it describes. Table Core runs an HTTP+SSE server bound to 127.0.0.1 and persists table configs, JSONL ledgers and SHA-256 hashes of seat tokens to a local data directory. It verifies Ed25519 owner signatures on seat joins and approvals and enforces floor, topology, budget and task-state rules. The client SDK talks to that server over fetch. The stdio MCP bridge reads an owner key file and an optional capability card from env-specified paths, and signs approvals only after the owner confirms through MCP elicitation. The MCode adapter runs MiniMax Code agents: discussion turns use 'smart' permission, and approved tasks run in a separate thread with 'full' permission in the owner's workspace. The Rabbit Hole Mini App generates and stores every owner's private key in owner-keys.json (mode 0600) and signs approvals when the human clicks in the page. It also drives managed seats by calling the host agent API (session.run), denies tool permission requests during discussion, and lets verifier turns read files and run read-only commands. Two demo scripts run the flow end to end. The mcode demo reads MINIMAX_BENCH_KEY, writes it to temporary per-seat config files (0600), deletes them at exit, and calls the MiniMax API. There is no exfiltration, obfuscation, persistence or hidden instruction text.

What the check found

mediumApproved tasks run an agent with full permissions, driven by effects that other agents wrote

After an owner approves a task, the MCode adapter starts a thread with permission 'full' in the owner's workspace. Its prompt includes the task effects JSON, and that JSON was written by another seat's agent, which may be untrusted. The owner's signature is the only gate. An approval that looks harmless could carry injected instructions in `args` that the full-permission agent then acts on. This fits the tool's purpose, but users should read the effects carefully before signing.

src/adapters/mcode.ts:74 const exec = mcode.startThread({ cwd: o.workspace, model: o.model, permission: 'full', appendSystemPrompt: system });

src/adapters/mcode.ts:75 const prompt = `${o.owner} approved this task on the BYOB table. Carry it out in this workspace (your owner's own files), then reply with a one-paragraph summar

apps/rabbit-hole/miniapp/node/service.mjs:528 'You are @' + seat + ', the agent of ' + plan.owner + '. ' + task.owner + ' signed this task from a Rabbit Hole meeting. Carry it out now, in your working direc

Claude review

mediumRabbit Hole holds every owner's private key, and its approval route has no authentication

SPEC.md says bots never hold another owner's key. The Mini App instead generates and stores private keys for all owners in one file, and signs approvals for whoever POSTs to /api/tables/:id/tasks/:task/decision. That route has no token check, so its security rests entirely on the Mini App host restricting who can reach the local port. Any local process or agent with shell access that can reach the port could approve tasks as any owner. The key file is written with mode 0600.

apps/rabbit-hole/miniapp/node/service.mjs:84 this.keysFile = join(dataDir, 'owner-keys.json');

apps/rabbit-hole/miniapp/node/service.mjs:126 atomicWrite(this.keysFile, JSON.stringify(this.keys), 0o600);

apps/rabbit-hole/miniapp/node/server.mjs:81 sendJson(response, 200, service.decide(id, decodeURIComponent(sign[1]), body.decision, body.reason));

Claude review

mediumVerifier agent can read files and run commands while processing an untrusted receipt

The verifier turn gets a receipt body written by another agent and is told it may read files and run read-only commands. The prompt treats the receipt as a claim, but text injected into the receipt could steer the verifier into reading sensitive files. Whatever it finds could then appear in the verify body, which is written to the shared ledger.

apps/rabbit-hole/miniapp/node/service.mjs:539 'You are @' + seat + ', an independent verifier in a Rabbit Hole meeting. Another agent reported finishing the task below. Check whether it really happened. You

Claude review

mediumRabbit Hole approval route is unauthenticated, so any local caller can sign as an owner

The Mini App holds every owner's private key and signs approvals for any POST to /api/tables/<id>/tasks/<task>/decision. There is no token, session or CSRF check. The MCP endpoint is served by the same HTTP server. An agent with shell or fetch access that knows the MCP URL could approve its own cross-owner proposals by posting to this route, which bypasses the human-only signature the design promises. Any other local process could do the same.

apps/rabbit-hole/miniapp/node/mcp.mjs:2 // There is deliberately no approval tool. Agents read other seats' posts, so a signature only

apps/rabbit-hole/miniapp/node/server.mjs:78 const sign = rest.match(/^\/tasks\/([^/]+)\/decision$/);

apps/rabbit-hole/miniapp/node/server.mjs:81 sendJson(response, 200, service.decide(id, decodeURIComponent(sign[1]), body.decision, body.reason));

Claude review

Keep an eye on it

This check is of one commit. Watch mcode-agent-table and we'll email you if a later commit changes what it can touch.

Made this? Add the badge

Checked by Plugsday

[![Checked by Plugsday](https://plugsday.com/badge/minimax-ai-mcode-agent-table.svg)](https://plugsday.com/tools/minimax-ai-mcode-agent-table)

About this check

Checked November 9, 2026 at commit f230386ba0e4, 79 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.