← 返回
AI智能 Key 中文

PromptDome

Integrate PromptDome prompt injection screening into OpenClaw. Use when setting up automatic protection against prompt injection, jailbreaks, and PII exfiltr...
将 PromptDome 提示注入筛查集成到 OpenClaw。在设置针对提示注入、越狱和 PII 泄露的自动防护时使用。
tschew72
AI智能 clawhub v1.3.1 1 版本 99848.7 Key: 需要
★ 1
Stars
📥 640
下载
💾 18
安装
1
版本
#latest

概述

PromptDome × OpenClaw

> API key required — Get yours free at https://promptdome.cyberforge.one/dashboard/api-keys

> (Sign up → Dashboard → API Keys → Create Key)

Adds automatic prompt injection detection to any OpenClaw agent. Two components work together:

ComponentWhat it doesWhen it fires
---------
promptdome-gate hookAuto-scans every incoming message; injects ⚠️ warning if injection detectedEvery message:received — zero agent code required
promptdome_scan toolExplicit scan agent can call on any contentOn demand — web content, files, tool outputs

Quick Setup (60 seconds)

bash skills/promptdome/scripts/setup.sh --api-key sk_shield_live_YOUR_KEY

That's it. The script:

  1. Tests your API key against the PromptDome API
  2. Installs promptdome-gate hook → ~/.openclaw/hooks/promptdome-gate/
  3. Installs promptdome_scan plugin → ~/.openclaw/extensions/promptdome/
  4. Saves API key to openclaw.json env block
  5. Enables the hook automatically
  6. Prompts you to restart the gateway

Get an API key: https://promptdome.cyberforge.one/dashboard/api-keys


Manual Setup

1. Copy files

# Hook (auto-scanning)
mkdir -p ~/.openclaw/hooks/promptdome-gate
cp skills/promptdome/hook/HOOK.md   ~/.openclaw/hooks/promptdome-gate/
cp skills/promptdome/hook/handler.ts ~/.openclaw/hooks/promptdome-gate/

# Plugin (explicit tool)
mkdir -p ~/.openclaw/extensions/promptdome
cp skills/promptdome/plugin/index.ts ~/.openclaw/extensions/promptdome/

2. Set API key

Add to ~/.openclaw/openclaw.json:

{
  "env": {
    "PROMPTDOME_API_KEY": "sk_shield_live_YOUR_KEY"
  }
}

Or set PROMPTDOME_API_KEY in your shell environment.

3. Enable hook and restart

openclaw hooks enable promptdome-gate
openclaw gateway restart

What Happens After Install

  • Every incoming message → scanned automatically before the model processes it
  • BLOCK (score ≥ 70): [PROMPTDOME BLOCK] warning injected into conversation
  • WARN (score ≥ 40): Soft caution note injected
  • ALLOW: Silent — no overhead in conversation history
  • Scan log: ~/.openclaw/logs/promptdome-gate.log
  • Fail-open: if API is unreachable, messages pass through unblocked

Using the Agent Tool

Enable promptdome_scan in your agent's tool allowlist:

{
  "agents": {
    "list": [{ "id": "main", "tools": { "allow": ["promptdome_scan"] } }]
  }
}

Then agents call it like any tool — before processing web fetches, search results, uploaded files, or any external content.


Self-Hosted PromptDome

Override the API endpoint:

{
  "env": {
    "PROMPTDOME_API_KEY": "sk_shield_live_...",
    "PROMPTDOME_API_URL": "https://your-instance.com/api/v1/shield"
  }
}

Detection Coverage

PromptDome engine covers 32 attack categories including:

  • Prompt injection & jailbreaks
  • Fake system events / gateway spoofing
  • PII & credential exfiltration
  • ClickFix / social engineering
  • HTML/DOM injection (browser agents)
  • Agentic chain poisoning
  • Multilingual evasion (18 languages)

Full category list: https://promptdome.cyberforge.one/docs

版本历史

共 1 个版本

  • v1.3.1 当前
    2026-03-30 01:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

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

Self-Improving + Proactive Agent

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

Strategy Advisor

tschew72
{"answer":"Evvo Labs商业决策战略顾问。适用于Vince询问战略建议、商业意见、市场进入决策、定价策略、公关等时使用。"}
★ 0 📥 1,226