mcp-write-gate@0.2.0
VERIFIED· not startedPublisher claims: "Sits between an AI agent and its MCP servers. Reads pass, writes are checked against your lists, and a read-only server refuses every write." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
API_TOKENor--oauthConfiguration, not credentials: MCP_WRITE_GATE_CONFIG, MCP_WRITE_GATE_HOME, MCP_WRITE_GATE_RUN, MCP_WRITE_GATE_RUN_AS- Where it talks to
- no vendor host named in the code
- What the honeypot saw
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard. It asks for API_TOKEN and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-10 and scored it 81/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
done = subprocess.run(self.command, input=json.dumps(request), capture_output=True, text=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out._INVISIBLE = dict.fromkeys(map(ord, "\xad\u200b\u200c\u200d\u200e\u200f\u2060\u2061\u2062\u2063\ufeff"), None)Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.# Needs a sudo rule "<gate user> ALL=(<run_as>) NOPASSWD:SETENV: ALL", as in the Docker image.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.item.epilog = "Put the command that starts the real server after --, for example: mcp-write-gate add mail --preset mail -- npx -y some-mail-mcp"Fix: Pin versions and sources; vendor anything fetched at install time.subprocess.run(spec["command"], input=json.dumps(note), text=True, capture_output=True, timeout=spec.get("timeout", 10), cwd=self.config.base)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.holds.get("../../etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.process = subprocess.Popen(args, cwd=str(ROOT), env={**os.environ, **(env or {})}, stderr=subprocess.PIPE)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.done = subprocess.run([sys.executable, "-c", script], capture_output=True, text=True, timeout=60)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for mcp-write-gate@0.2.0 as of 4d ago. This is the package itself, not its dependencies.