HiveFence
/install hivefence
HiveFence v1.0.0
🐝 When one is attacked, all become immune.
Collective prompt injection defense network for AI agents.
What is HiveFence?
HiveFence extends prompt-guard with a distributed immunity system:
- Detect — Your agent scans incoming prompts against 15+ attack patterns
- Report — New attack patterns are hashed and submitted to the network
- Immunize — Community validates the pattern, then every connected agent gets the update
Features
- 🔍 Real-time Detection — Pattern matching + semantic analysis in \x3C50ms
- 🌍 Multi-language — EN, KO, JA, ZH attack detection
- 🗳️ Community Governance — Democratic voting on new patterns
- 🔐 Privacy-preserving — Only SHA-256 hashes shared, not raw content
- 📊 Severity Scoring — Risk-based prioritization (0-100)
- ⚡ Edge-first — Cloudflare Workers at 300+ locations
Installation
# Via ClawdHub
npx clawhub install hivefence
# Or via npm
npm install hivefence
Quick Start
import { protect, reportThreat } from 'hivefence'
// Scan incoming prompt
const result = await protect(userInput)
if (result.blocked) {
console.log(`Threat blocked: ${result.category}`)
// Pattern automatically reported to network
}
Security Stack Recommendation
For maximum protection, use HiveFence with:
- ACIP — Advanced Cognitive Inoculation Prompt (behavioral boundaries)
- HiveFence — Pattern detection + collective immunity
- SkillGuard — Audit skills before installation
As recommended in @VittoStack's Security Guide (34K+ views)
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/threats/report |
Submit new threat pattern |
| GET | /api/v1/threats/pending |
Get patterns awaiting votes |
| POST | /api/v1/threats/:id/vote |
Vote on a pattern |
| GET | /api/v1/threats/latest |
Fetch approved patterns |
| GET | /api/v1/stats |
Network statistics |
Base URL: https://hivefence-api.seojoon-kim.workers.dev
Why HiveFence?
Without protection:
- 91% injection attack success rate
- 84% data extraction success rate
- System prompts leaked on turn 1
(Source: ZeroLeaks Security Assessment)
With HiveFence:
- Real-time pattern blocking
- Collective immunity from the network
- Community-validated patterns (zero false positives)
Links
- Website: https://hivefence.com
- GitHub: https://github.com/seojoonkim/hivefence
- API Docs: https://hivefence.com/docs
License
MIT © 2026 Simon Kim (@seojoonkim)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hivefence - 安装完成后,直接呼叫该 Skill 的名称或使用
/hivefence触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
HiveFence 是什么?
Collective immunity network for AI agents. When one agent detects a prompt injection attack, all connected agents become immune. Real-time pattern detection, community voting, and distributed threat intelligence. Built on top of prompt-guard. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1922 次。
如何安装 HiveFence?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hivefence」即可一键安装,无需额外配置。
HiveFence 是免费的吗?
是的,HiveFence 完全免费(开源免费),可自由下载、安装和使用。
HiveFence 支持哪些平台?
HiveFence 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 HiveFence?
由 seojoonkim(@seojoonkim)开发并维护,当前版本 v1.0.0。