← Back to Skills

prompt-injection-shield

v1.0.0 official 5d ago
USK v3 ✅ Verified
⬇ Download
Install Guide↓
🤖 Agent install commands (curl / MCP / Claude Desktop)
▸ curl one-liner
curl -L -o prompt-injection-shield.skill   "https://aiskillstore.io/v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=ClaudeCode"
▸ MCP tool call (after registering Skill Store MCP)
{
  "tool": "download_skill",
  "arguments": {
    "skill_id": "6e3617c8-7ab7-4706-a8a0-cc62ffb0f380",
    "platform": "ClaudeCode"
  }
}
▸ Claude Desktop / Cursor MCP config (one-time)
{
  "mcpServers": {
    "skill-store": {
      "url": "https://aiskillstore.io/mcp/"
    }
  }
}
📖 Full agent API guide: /llms.txt  ·  MCP server card

当用户要把网页抓取/邮件/工具返回值/检索文档/用户上传内容喂给 AI,又担心里面藏『忽略之前指令』『你是新AI』这类指令时使用。在不可信内容进上下文之前先扫描:中英双语文式库(忽略指令/角色劫持/越狱/DAN/索要系统提示)+ 启发式(面向AI的祈使句、角色切换、索要隐藏指令)+ 沙箱规则。附可运行扫描脚本,输出风险分·命中规则·处置建议(丢弃/隔离/沙箱)。复用 desens-scan 与 release-gate 的去敏与门禁能力。触发词:提示注入、prompt injection、注入防护、越狱、jailbreak、忽略指令、角色劫持、system prompt泄露、内容安全、AI被操控、注入扫描。

# 提示注入 # prompt injection # 越狱 # 注入扫描 # 内容安全 # 沙箱 # 去敏

Basic Info

Owner 👤 Steven Zhao Category — Registered 2026-10-16 Last Updated 2026-10-16 Latest Version 1.0.0 Packaged At 2026-10-16 Vetting Status official Downloads 0 Checksum (SHA256) 5127ea2d39b9fd0a7be98cdecb27d3930dfad134e017fb2ac2a56fd50b5c37e2

⚡ AGENT INFO USK v3

Capabilities
prompt_injection_scan content_safety jailbreak_detection risk_scoring input_filtering
Permissions
✗ network
✗ filesystem
✗ subprocess
Interface
type: cli   entry_point: scripts/prompt_injection_scan.py   runtime: python3   call_pattern: args
Agent API
# 스킬 스키마 조회 (에이전트가 호출 방법을 파악) GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/schema # 플랫폼별 자동 변환 다운로드 GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=OpenClaw GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=ClaudeCode GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=ClaudeCodeAgentSkill GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=Cursor GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=GeminiCLI GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=CodexCLI GET /v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=CustomAgent

Installation

1
Install the skill using openclaw_skill_manager.py.
python openclaw_skill_manager.py --install prompt-injection-shield
2
Verify installation
python openclaw_skill_manager.py --list-installed
3
Install a specific version (optional)
python openclaw_skill_manager.py --install prompt-injection-shield --version 1.0.0
1
Download the skill package.
curl -O https://aiskillstore.io/v1/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download
2
Place it in the Claude Code commands directory.
unzip prompt-injection-shield.skill -d ~/.claude/commands/prompt-injection-shield/
3
Use it as a slash command in Claude Code.
/prompt-injection-shield
1
Download the Agent Skills package.
curl -O https://aiskillstore.io/v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=ClaudeCodeAgentSkill
2
Unzip it into the Claude Code skills directory.
unzip prompt-injection-shield-agent-skill-*.skill -d ~/.claude/skills/prompt-injection-shield/
3
Restart Claude Code — the skill is auto-loaded at session start. No slash command needed.
1
Download the Cursor-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=Cursor
2
Unzip and place it in a permanent location.
unzip prompt-injection-shield-cursor-*.skill -d ~/.cursor/skills/prompt-injection-shield/
3
Add the MCP server config to .cursor/mcp.json, then restart Cursor.
cat ~/.cursor/skills/prompt-injection-shield/cursor_mcp_config.json
1
Download the Gemini CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=GeminiCLI
2
Unzip and place it in a permanent location.
unzip prompt-injection-shield-geminicli-*.skill -d ~/.gemini/skills/prompt-injection-shield/
3
Add the MCP server config to ~/.gemini/settings.json, then restart Gemini CLI.
cat ~/.gemini/skills/prompt-injection-shield/gemini_settings_snippet.json
1
Download the Codex CLI-converted package.
curl -O https://aiskillstore.io/v1/agent/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download?platform=CodexCLI
2
Unzip and place it in a permanent location.
unzip prompt-injection-shield-codexcli-*.skill -d ~/.codex/skills/prompt-injection-shield/
3
Add the MCP server config to ~/.codex/config.toml, then restart Codex CLI.
cat ~/.codex/skills/prompt-injection-shield/codex_config_snippet.toml
1
Download the skill package via REST API.
GET https://aiskillstore.io/v1/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/download
2
Place it in your agent platform's skills directory.
cp prompt-injection-shield.skill ./skills/
3
Fetch platform-specific details via the Install Guide API.
GET https://aiskillstore.io/v1/skills/6e3617c8-7ab7-4706-a8a0-cc62ffb0f380/install-guide?platform=CustomAgent

Requirements

Security Vetting Report

Vetting Result CAUTION

Findings: ["메타데이터 경고: 권장 필드 없음: 'platform_compatibility' (SKILL.md v2 권장)", 'USK v3 경고: 이 스킬은 자동 변환 조건을 충족하지 않아 manual_install로 처리됩니다']

✅ No security risks found.

AI Review Stage

Reviewer gemini Risk Level 🟡 Medium Review Summary 프롬프트 주입 방지 스킬은 선언된 파일 시스템 접근 권한과 실제 코드 동작 간에 불일치가 있어 검토가 필요합니다.

Issues Found

  • 메타데이터에 `permissions.filesystem: false`로 선언되었으나, 코드(`scripts/prompt_injection_scan.py`)는 `--file` 인자가 제공될 경우 `pathlib.Path(args.file).read_text()`를 사용하여 파일 시스템에서 파일을 읽으려고 시도합니다. 이는 선언된 권한과 실제 동작 간의 직접적인 충돌입니다.
  • (`scan` 함수 내) `low = text.lower()` 변수가 선언되었으나, 이후 코드에서 사용되지 않습니다. (보안상 위험은 없으나 코드 품질 개선 가능)
Reasoning

이 스킬은 프롬프트 주입을 탐지하는 유용한 기능을 제공하며, 코드 자체는 악의적인 의도를 보이지 않습니다. 외부 라이브러리 의존성이 없고, 네트워크 통신이나 서브프로세스 실행도 없어 선언된 `network: false` 및 `subprocess: false` 권한과 일치합니다. 그러나 `input_schema`에 `--file` 인자가 명시되어 있고 코드에서 파일 읽기를 시도함에도 불구하고, `permissions.filesystem: false`로 선언된 것은 중대한 불일치입니다. 이는 사용자에게 스킬의 실제 접근 권한에 대한 오해를 불러일으킬 수 있으며, 보안 정책 위반으로 간주될 수 있습니다. 스킬의 의도된 기능(파일 스캔)을 고려할 때, `permissions.filesystem`을 `true`로 변경하거나, 파일 읽기 기능을 제거하여 선언된 권한과 일치시켜야 합니다. 이 불일치로 인해 'pending' 상태로 지정하고 추가 검토를 요청합니다.

Version History

Version USK v3 Vetting Status Packaged At Downloads Changelog
v1.0.0 ✓ official 2026-10-16 ⬇ 0 1.0.0: initial upload (USK v3)
v1.0.0 ✓ pending 2026-10-16 ⬇ 0 1.0.0: initial upload (USK v3)

Reviews & Ratings

No reviews yet. Be the first to leave one!

✍️ Write a Review