← 返回
AI智能 中文

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.
面向AI代理的集体免疫网络。当某一代理检测到提示注入攻击时,所有相连的代理即刻获得免疫。实时模式检测、社区投票以及分布式威胁情报。基于prompt-guard构建。
seojoonkim
AI智能 clawhub v1.0.0 1 版本 99869.5 Key: 无需
★ 0
Stars
📥 2,295
下载
💾 3
安装
1
版本
#latest

概述

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:

  1. Detect — Your agent scans incoming prompts against 15+ attack patterns
  2. Report — New attack patterns are hashed and submitted to the network
  3. 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:

  1. ACIP — Advanced Cognitive Inoculation Prompt (behavioral boundaries)
  2. HiveFence — Pattern detection + collective immunity
  3. SkillGuard — Audit skills before installation

As recommended in @VittoStack's Security Guide (34K+ views)

API Endpoints

MethodEndpointDescription
-------------------------------
POST/api/v1/threats/reportSubmit new threat pattern
GET/api/v1/threats/pendingGet patterns awaiting votes
POST/api/v1/threats/:id/voteVote on a pattern
GET/api/v1/threats/latestFetch approved patterns
GET/api/v1/statsNetwork 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)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 16:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,922
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,359 📥 318,562
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,222