freshcrate
Home > MCP Servers > node9-proxy

node9-proxy

The Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for autonomous AI agents.

Description

The Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for autonomous AI agents.

README

๐Ÿ›ก๏ธ Node9 Proxy

The "Sudo" Command for AI Agents.

NPM Version License: MIT Open in HF Spaces Documentation

Node9 sits between your AI agent and your system. Every shell command, file write, and tool call passes through Node9 first โ€” blocked, approved, or logged based on your policy. Works with Claude Code, Gemini CLI, Cursor, Codex, and any MCP server.

๐Ÿ“– Full Documentation โ†’


The "Aha!" Moment

AIs are literal. Ask an agent to "fix disk space" and it might run docker system prune -af --volumes.

With Node9:

  1. AI attempts: Bash("docker system prune -af --volumes")
  2. Node9 intercepts: OS-native popup appears instantly
  3. You block it โ€” one click
  4. AI pivots: "I'll remove large log files instead"

Install

# macOS / Linux
brew tap node9-ai/node9 && brew install node9

# or via npm
npm install -g @node9/proxy
node9 setup      # auto-detects Claude Code, Gemini CLI, Cursor, Codex
node9 doctor     # verify everything is wired correctly

Shields โ€” one command per service

Enable expert-crafted protection for the infrastructure your agent touches:

node9 shield enable postgres   # blocks DROP TABLE, TRUNCATE, DROP COLUMN
node9 shield enable mongodb    # blocks dropDatabase, drop(), deleteMany({})
node9 shield enable redis      # blocks FLUSHALL, FLUSHDB
node9 shield enable aws        # blocks S3 delete, EC2 terminate, IAM changes
node9 shield enable k8s        # blocks namespace delete, helm uninstall
node9 shield enable docker     # blocks system prune, volume prune, rm -f
node9 shield enable github     # blocks gh repo delete, remote branch deletion
node9 shield enable bash-safe  # blocks curl|bash, base64|sh, rm -rf /
node9 shield enable filesystem # reviews chmod 777, writes to /etc/

node9 shield list              # see all shields and their status

MCP Gateway โ€” protect any MCP server

Wrap any MCP server transparently. The AI sees the same server โ€” Node9 intercepts every tool call:

{
  "mcpServers": {
    "postgres": {
      "command": "node9",
      "args": ["mcp", "--upstream", "npx -y @modelcontextprotocol/server-postgres postgresql://..."]
    }
  }
}

Or use node9 setup โ€” it wraps existing MCP servers automatically.

MCP Tool Pinning โ€” rug pull defense

MCP servers can change their tool definitions between sessions. A compromised or malicious server could silently add, remove, or modify tools after initial trust โ€” a rug pull attack.

Node9 defends against this by pinning tool definitions on first use:

  1. First connection โ€” the gateway records a SHA-256 hash of all tool definitions
  2. Subsequent connections โ€” the hash is compared; if tools changed, the session is quarantined and all tool calls are blocked until a human reviews and approves the change
  3. Corrupt pin state โ€” fails closed (blocks), never silently re-trusts
node9 mcp pin list                # show all pinned servers and hashes
node9 mcp pin update <serverKey>  # remove pin, re-pin on next connection
node9 mcp pin reset               # clear all pins (re-pin on next connection)

This is automatic โ€” no configuration needed. The gateway pins on first tools/list and enforces on every subsequent session.


Python SDK โ€” govern any Python agent

from node9 import configure

configure(agent_name="my-agent", policy="require_approval")

# Your existing agent code runs unchanged โ€” Node9 intercepts tool calls

Python SDK โ†’ ยท Governed Agent examples โ†’


What's always on (no config needed)

  • Git: blocks git push --force, git reset --hard, git clean -fd
  • SQL: blocks DELETE/UPDATE without WHERE, DROP TABLE, TRUNCATE
  • Shell: blocks curl | bash, sudo commands
  • DLP: blocks AWS keys, GitHub tokens, Stripe keys, PEM private keys in any tool call argument
  • Auto-undo: git snapshot before every AI file edit โ†’ node9 undo to revert

๐Ÿ“– Full docs

Everything else โ€” config reference, smart rules, stateful rules, trusted hosts, approval modes, CLI reference โ€” is at node9.ai/docs.


Related


Enterprise

Node9 Pro provides governance locking, SAML/SSO, and VPC deployment. Visit node9.ai.

Release History

VersionChangesUrgencyDate
v1.11.3## [1.11.3](https://github.com/node9-ai/node9-proxy/compare/v1.11.2...v1.11.3) (2026-04-19) ### Bug Fixes * dev โ†’ main ([#101](https://github.com/node9-ai/node9-proxy/issues/101)) ([b82ff3c](https://github.com/node9-ai/node9-proxy/commit/b82ff3c13234a0acb7a77174e735f5df6f945d70)), closes [#92](https://github.com/node9-ai/node9-proxy/issues/92) [hi#level](https://github.com/hi/issues/level) High4/19/2026
v1.11.2## [1.11.2](https://github.com/node9-ai/node9-proxy/compare/v1.11.1...v1.11.2) (2026-04-18) ### Bug Fixes * dev โ†’ main ([#100](https://github.com/node9-ai/node9-proxy/issues/100)) ([9c6a84f](https://github.com/node9-ai/node9-proxy/commit/9c6a84f301e3f9834e93d557216b295a84fd0a72)), closes [#92](https://github.com/node9-ai/node9-proxy/issues/92) [hi#level](https://github.com/hi/issues/level) High4/18/2026
v1.10.0# [1.10.0](https://github.com/node9-ai/node9-proxy/compare/v1.9.3...v1.10.0) (2026-04-15) ### Features * dev โ†’ main ([#91](https://github.com/node9-ai/node9-proxy/issues/91)) ([98801e0](https://github.com/node9-ai/node9-proxy/commit/98801e00950ab83aae8ce4527509a3aa6a8b2ec0)) High4/15/2026
v1.9.3## [1.9.3](https://github.com/node9-ai/node9-proxy/compare/v1.9.2...v1.9.3) (2026-04-13) ### Bug Fixes * dev โ†’ main ([#84](https://github.com/node9-ai/node9-proxy/issues/84)) ([99b18db](https://github.com/node9-ai/node9-proxy/commit/99b18db82b06c0619a44e1c17084c6be612286da)) High4/13/2026
v1.9.2## [1.9.2](https://github.com/node9-ai/node9-proxy/compare/v1.9.1...v1.9.2) (2026-04-11) ### Bug Fixes * pr-81 โ†’ main ([#83](https://github.com/node9-ai/node9-proxy/issues/83)) ([8d46c01](https://github.com/node9-ai/node9-proxy/commit/8d46c0152df13d771e32e93e3f5364b912ff814a)) High4/11/2026
v1.8.2## [1.8.2](https://github.com/node9-ai/node9-proxy/compare/v1.8.1...v1.8.2) (2026-04-08) ### Bug Fixes * add || true to e2e check calls to prevent set -e from killing script ([0882db3](https://github.com/node9-ai/node9-proxy/commit/0882db3441e70d064b451ef2afc9ea40105d65c3)) High4/8/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

mcp-ts-coreAgent-native TypeScript framework for building MCP servers. Build tools, not infrastructure.main@2026-04-21
mcp-searxngMCP Server for SearXNGv1.0.3
zotero-mcp-lite๐Ÿš€ Run a high-performance MCP server for Zotero, enabling customizable workflows without cloud dependency or API keys.main@2026-04-21
claude-code-safety-net๐Ÿ›ก๏ธ Enhance code safety with Claude Code Safety Net, a tool designed to identify and mitigate risks in your codebase effectively.main@2026-04-21
bb-applescript-mcp-server๐ŸŒ Build a Model Context Protocol (MCP) server for seamless integration with LLM applications, enhancing automation and efficiency in workflows.main@2026-04-21