hivefence

Verified·Scanned 2/18/2026

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.

from clawhub.ai·v1.0.0·2.9 KB·0 installs
Scanned from 1.0.0 at 18d052e · Transparency log ↗
$ vett add clawhub.ai/seojoonkim/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:

  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

License

MIT © 2026 Simon Kim (@seojoonkim)