New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@agent-wall/cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agent-wall/cli

Security firewall for AI agents — intercept MCP tool calls, enforce policies, block attacks

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
11
-77.55%
Maintainers
1
Weekly downloads
 
Created
Source

Agent Wall

Security firewall for AI agents. Intercepts MCP tool calls, enforces policies, blocks attacks.

"Cloudflare for AI agents" — Zero-config protection for any MCP server.

CI License: MIT npm

Install

npm install -g @agent-wall/cli

Quick Start

# Generate a starter policy
agent-wall init

# Wrap any MCP server
agent-wall wrap -- npx @modelcontextprotocol/server-filesystem /home/user

# With real-time dashboard
agent-wall wrap --dashboard -- npx mcp-server

30-Second Integration

Replace your MCP config entry:

{
  "mcpServers": {
    "filesystem": {
      "command": "agent-wall",
      "args": ["wrap", "--", "npx", "@modelcontextprotocol/server-filesystem", "/home/user"]
    }
  }
}

Works with Claude Code, Cursor, Claude Desktop, VS Code, Windsurf, and any MCP client.

Defense-in-Depth Pipeline

Every tool call runs through a 5-step inbound pipeline:

1. Kill Switch     — Emergency deny-all
2. Injection       — 30+ prompt injection patterns
3. Egress Control  — Block SSRF, private IPs, metadata endpoints
4. Policy Engine   — YAML rules (first-match-wins, glob, rate limiting)
5. Chain Detection — Suspicious multi-step patterns

Plus an outbound response scanner — 14 secret patterns, 5 PII patterns, custom regex.

CLI Commands

CommandDescription
agent-wall wrapWrap an MCP server with policy enforcement
agent-wall initGenerate a starter config
agent-wall testDry-run a tool call against your policy
agent-wall auditView and analyze audit logs
agent-wall scanScan MCP config for security risks
agent-wall validateValidate policy configuration
agent-wall doctorHealth check for config and environment

Documentation

Full docs: agent-wall.github.io/agent-wall

License

MIT

Keywords

agent-wall

FAQs

Package last updated on 17 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts