面向Open Claw代理的AI防火墙,对入站消息和工具结果进行清洗,防止提示注入、越狱和数据泄露企图,使用Sentinel的...
Protect your Open Claw agent from prompt injection, jailbreaks, malicious skill output, and data exfiltration — automatically, on every message and tool result.
Sentinel intercepts three critical points in the agent lifecycle:
UserPromptSubmit — user input is scrubbed before your agent processes itPreToolUse — scans what your agent is about to send to a tool, blocking data exfiltration before it leaves the sessionPostToolUse — scans tool/skill responses before they reach the agent, catching malicious skills that try to hijack your agent via crafted outputPreToolUse is the primary defense against the malicious Clawhub skill attack pattern, where a compromised skill returns a crafted response designed to take over the agent or steal session data.
sk_live_.bash
export SENTINEL_API_URL=https://api.sentinelaifirewall.com
export SENTINEL_KEY=sk_live_...
Add these to your shell profile or .env file so they persist across sessions.
bash
openclaw skills install sentinel
That's it. The bootstrap hook will verify your credentials on next agent start.
For complete protection — including scanning what your agent sends to external tools — route your LLM traffic through Sentinel's transparent proxy. Sentinel sits between Open Claw and the Anthropic API, scanning all content in both directions with zero changes to your agent code.
bash
export ANTHROPIC_BASE_URL=https://api.sentinelaifirewall.com/v1
export ANTHROPIC_API_KEY=sk_live_... # your Sentinel key replaces your Anthropic key here
Your agent uses the Anthropic SDK exactly as before. Sentinel proxies the request, scans tool results before they return to your agent, and passes clean traffic through with no overhead.
Every scrub request runs through three layers:
ActionMeaningHook behaviorcleanNo threat detectedContent passes throughflaggedBorderline — above flag thresholdContent passes through, warning loggedneutralizedAttack detected and rewrittenSafe version used insteadblockedHigh-confidence attack (similarity > 0.82)Content rejected, agent protected
The hooks use standard tier by default. To switch to strict mode (lower thresholds, more aggressive):
bash
export SENTINEL_TIER=strict
Sentinel does not log or store the content of clean requests. Flagged, neutralized, and blocked events are logged locally by the hook scripts with the threat score and action taken.