Zn Gate runs on your own machine — the client starts it, so there is no endpoint to ping. 1 065 installs a week from npm. Last commit 29 Nov 2026.
The local security layer for coding agents. No account, and nothing is sent by default.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add zn-gate -- npx -y zn-gate mcp
{
"mcpServers": {
"zn-gate": {
"command": "npx",
"args": [
"-y",
"zn-gate",
"mcp"
]
}
}
}
[mcp_servers.zn-gate]
command = "npx"
args = ["-y", "zn-gate", "mcp"]
{
"mcpServers": {
"zn-gate": {
"command": "npx",
"args": [
"-y",
"zn-gate",
"mcp"
]
}
}
}
{
"servers": {
"zn-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"zn-gate",
"mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
ZN_LOCAL_ONLY (Set to true to force local-only mode, even if ZN_CLOUD=1), ZN_CLOUD (Set to 1 to let prompt analysis also query the optional cloud classifier. Off by default), ZN_API_KEY (API key for the optional cloud check. Has no effect without ZN_CLOUD=1).
We read the source, 2 d ago · rules 995398eba69f
A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.
fs.writeFileSync(opened.fd, text);
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
const DISK_TOOLS = /^(?:mkfs(?:\.[a-z0-9]+)?|mke2fs|mkswap|wipefs|shred|blkdiscard)$/;
/\b(?:send|upload|post|exfiltrate|forward|transmit|leak|e-?mail)\b[^\n]{0,120}?(?:\.env\b|~\/\.ssh|id_rsa|id_ed25519|\.aws\/credentials|\.npmrc|\.netrc|\.git-credentials|api[ _-]?keys?|access[ _-]?tokens?|secrets?|credentials?|passwords?|private[ _-]?keys?|environment variables…
… _-]?keys?|environment variables)\b[^\n]{0,120}?(?:https?:\/\/|webhook|pastebin|discord(?:app)?\.com|gist\.github|ngrok|requestbin|attacker)/i,
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
postinstall: node lib/agents/refresh.js
/\b(?:curl|wget|http|iwr|invoke-webrequest|invoke-restmethod)\b[^\n|]{0,200}?(?:-d|--data(?:-binary|-raw|-urlencode)?|-F|--form|-T|--upload-file|--post-file|-InFile|-Body)[\s=]{1,3}["']?@?[^\s"']{0,40}?(?:\.env\b|\.ssh\/|id_rsa|id_ed25519|\.aws\/credentials|\.npmrc|\.netrc|\.git-credentials)/i,
function spawnSync(...args) {
marker = needed.find((f) => fs.existsSync(path.join(parentDir, f))) || null;
for (const file of [path.join(home, '.npmrc'), dir ? path.join(dir, '.npmrc') : null]) {
… _-]?keys?|environment variables)\b[^\n]{0,120}?(?:https?:\/\/|webhook|pastebin|discord(?:app)?\.com|gist\.github|ngrok|requestbin|attacker)/i,
Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.
const evalStmt = (pre) => new Function(pre + 'const CHANGED_RC = 86;\n' + stmt + 'return VERIFY_JS;')();
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.
Caelo: free local security scanner for AI-built products. CLI and MCP server by Irth Labs.
Security checks for AI agents and MCP configs: 124 tested checks, from your AI coding assistant.
Keeps AI coding agents on track: checks the code they write for security and privacy problems.
Five deterministic security tools for AI coding over MCP. Local: no model calls or network.
Offline, rule-based security checks for your repo, dependencies, AI agent config and local app.
Read-only, offline security checks for Node web apps and coding-agent configuration.
IaC, CI and dependency security review for coding agents: local scan CLI plus hosted OAuth MCP.
Free local security checks for coding agents: scans git changes, alerts only on proven findings.
Answers built from our own checks of this server.