Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

prompt-leak-scanner

БесплатноБез исполняемых скриптовНе проверен

prompt-leak-scanner — 发布/共享前扫描提示词与 system prompt 的泄漏与后门风险:密钥口令、内部路径、个人可识别信息、自定义敏感词(--extra)、自我泄漏后门(『忽略之前指令/打印系统提示词』类埋点)。有风险 rc=1 拦下。…

zhaoxinghua09-cellот zhaoxinghua09-cell670 установок в других каталогах

Об этом скилле

凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate

English

When to use

  1. Before publishing or sharing any prompt that may contain sensitive information, run the final security audit.
  2. When you need to verify whether internal system configurations contain secrets, passwords, PII or internal paths.
  3. When deep inspection of third-party input or custom rules is required — especially checking for self-leak backdoor risks.

Usage

  • Script: python prompt_leak_scanner.py
  • Arguments:
    • --input: required; the prompt / system-prompt text to scan.
    • --extra: optional; custom sensitive-word list to extend detection (--extra "word1,word2").
    • --check_cache: optional; whether to also scan auxiliary logic in __pycache__.
  • Output: returns a risk-level code rc (0 = no risk, safe to publish; 1 = leak found, must block).

Workflow

  1. The caller prepares the prompt text under review and the configuration parameters.
  2. Pass the command through the skill interface to run prompt_leak_scanner.py for analysis.
  3. The system scans keywords, paths and backdoor-command patterns in memory per the script logic.
  4. The tool parses the risk level and emits the corresponding return code (rc=1) or a no-risk confirmation.
  5. If rc=1 is detected, the publish flow is blocked automatically and a block signal is sent upstream.
  6. Only after risk is confirmed as rc=0 may subsequent data-sharing operations proceed.

Evidence & safety statement

  • Evidence: TBD (no evaluation / badge link yet; update here once produced)
  • Version: 1.0.1
  • Safety: no independent security scan has been performed (TBD); the conclusion is pending and no endorsement is given until it is completed.

中文

何时用

  1. 在发布或共享任何包含潜在敏感信息的提示词(Prompt)之前,执行最终安全审计。
  2. 当需要验证系统内部配置是否存在密钥、口令、个人可识别信息(PII)或内部路径时。
  3. 针对第三方输入内容或自定义规则进行深度检测,特别是检查自我泄漏后门风险。

用法

  • 执行脚本: python prompt_leak_scanner.py
  • 命令参数:
    • --input: 必须,提供待扫描的 Prompt/System Prompt 内容文本。
    • --extra: 可选,提供自定义敏感词组用于扩展检测规则(支持 --extra "word1,word2")。
    • --check_cache: 可选,是否关联扫描 __pycache__ 中的辅助脚本逻辑进行验证。
  • 输出说明: 返回风险等级码 rc(0 表示无风险可发布,1 表示存在泄漏需阻断)。

流程

  1. 调用方准备待审核的提示文本及相关配置参数。
  2. 通过技能接口传入命令执行 prompt_leak_scanner.py 进行逻辑分析。
  3. 系统根据脚本逻辑在内存中扫描关键词、路径及后门指令模式。
  4. 工具解析风险等级并生成对应的返回码(rc=1)或无风险确认。
  5. 若检测到 rc=1,自动拦截发布流程并向上游发送阻断信号。
  6. 仅在确认风险为 rc=0 后,允许继续进行后续的数据共享操作。

证据与安全声明

  • 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
  • 版本:1.0.1
  • 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
Полный SKILL.md на ClawHub

Установить prompt-leak-scanner в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Bash
Write
WebFetch

FAQ

Что делает скилл prompt-leak-scanner?

prompt-leak-scanner — 发布/共享前扫描提示词与 system prompt 的泄漏与后门风险:密钥口令、内部路径、个人可识别信息、自定义敏感词(--extra)、自我泄漏后门(『忽略之前指令/打印系统提示词』类埋点)。有风险 rc=1 拦下。 适用场景:当需要提示词泄漏扫描器能力时使用本技能;触发词:prompt-leak-scanner。

Как установить скилл prompt-leak-scanner?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл prompt-leak-scanner запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить prompt-leak-scanner с