FireClaw

Route web fetches through a four-stage sanitization pipeline to mitigate prompt injection.

17|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/raiph-ai/fireclaw --skill fireclaw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: FireClaw
Source: https://github.com/raiph-ai/fireclaw/tree/main
Command: npx skills add https://github.com/raiph-ai/fireclaw --skill fireclaw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FireClaw mitigates prompt injection by routing web fetches through a four-stage, defense-in-depth pipeline, returning sanitized content to AI agents.

Core Features & Use Cases

  • 4-stage pipeline: DNS pre-check, structural sanitization, isolated LLM summarization, and output scanning
  • Canary tokens and domain trust tiers to detect bypasses and optimize performance
  • JSONL audit logging and alerting for incident response
  • Suitable for agent workflows that fetch web data, perform memory lookups, or issue tools via prompts

Quick Start

Install FireClaw in your OpenClaw environment, configure trusted domains, and start using fireclaw_fetch to securely proxy web content.

Frequently Asked Questions about FireClaw

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent prompt injection when my AI agent fetches web content?

You can mitigate prompt injection by routing web fetches through a defense-in-depth sanitization pipeline, applying DNS pre-checks, structural sanitization, isolated LLM summarization, and output scanning to return safe content to AI agents.

What is the best way to sanitize untrusted web data for LLM summarization?

The best way to sanitize untrusted web data for LLM summarization is an isolated pipeline that strips malicious structures first, summarizes the content in a sandboxed environment, and scans the final output for injection payloads.

How does domain trust tiering optimize agent web fetching workflows?

Domain trust tiering optimizes agent web fetching by classifying sources, allowing the sanitization pipeline to bypass heavy processing for trusted domains while enforcing strict structural sanitization and output scanning for untrusted ones.

Can I audit log prompt injection attempts detected during web fetches?

Yes, you can audit log prompt injection attempts using JSONL audit logging and alerting features, which record pipeline events and trigger alerts to support incident response and bypass detection.

When do I need canary tokens in a prompt injection defense pipeline?

Canary tokens are needed in a prompt injection defense pipeline when you want to detect sanitization bypasses, verifying whether untrusted web content successfully injected malicious instructions into the isolated LLM summarization stage.

Does this sanitization pipeline work for agent memory lookups and tool prompts?

Yes, the sanitization pipeline works for agent workflows that perform memory lookups or issue tools via prompts, sanitizing external data before it reaches the agent's core reasoning logic.