返回顶部
p

promptdome

Integrate PromptDome prompt injection screening into OpenClaw. Use when setting up automatic protection against prompt injection, jailbreaks, and PII exfiltration on incoming messages. Installs two components: (1) a hook that auto-scans every incoming message before the model processes it, and (2) an agent tool (promptdome_scan) agents can call explicitly on untrusted content. Run setup.sh to configure in under 60 seconds.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.3.1
安全检测
已通过
340
下载量
1
收藏
概述
安装方式
版本历史

promptdome

# 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: | Component | What it does | When it fires | |---|---|---| | **`promptdome-gate` hook** | Auto-scans every incoming message; injects ⚠️ warning if injection detected | Every `message:received` — zero agent code required | | **`promptdome_scan` tool** | Explicit scan agent can call on any content | On demand — web content, files, tool outputs | --- ## Quick Setup (60 seconds) ```bash 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 ```bash # 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`: ```json { "env": { "PROMPTDOME_API_KEY": "sk_shield_live_YOUR_KEY" } } ``` Or set `PROMPTDOME_API_KEY` in your shell environment. ### 3. Enable hook and restart ```bash 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: ```json { "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: ```json { "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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 promptdome-1776298970 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 promptdome-1776298970 技能

通过命令行安装

skillhub install promptdome-1776298970

下载 Zip 包

⬇ 下载 promptdome v1.3.1

文件大小: 9.11 KB | 发布时间: 2026-4-16 18:36

v1.3.1 最新 2026-4-16 18:36
UX: add prominent API key signup link at top of SKILL.md so users know exactly where to get their key before installing

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部