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.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- hivefence
- version
- 1.0.0
- description
- 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.
02 资源文件 1
- 参考文档_meta.json274 B
03 SKILL.md 正文
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 <50ms
- ? 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)
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.