返回顶部
s

safe-share

Sanitize logs, configs, prompts, stack traces, and skill content before they are shared publicly. Use when a user wants a local, low-risk pass to remove API keys, tokens, cookies, passwords, emails, IPs, or other sensitive values from text before posting to GitHub issues, chat, READMEs, demos, or ClawHub.

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

safe-share

# Safe Share Use this skill to produce a safe-to-share copy of text. Prefer deterministic local sanitization over model-only guessing. ## Workflow 1. Confirm the user wants a shareable copy, not a forensic analysis. 2. Determine the output mode: - `placeholder`: best default for docs, issues, READMEs, and tutorials - `redact`: best when preserving shape is not important - `mask`: best when keeping a hint of the original value is useful 3. Run `scripts/sanitize_text.py` on the exact text the user provided. 4. Return: - `sanitized_text` - `findings_summary` - `review_notes` 5. Never echo the original sensitive value back to the user. ## Operating Rules - Default to `placeholder` mode unless the user asks for something else. - Treat secrets and credentials as higher priority than general PII. - Replace with stable labels such as `<OPENAI_API_KEY>` or `[REDACTED:BEARER_TOKEN]`. - Keep summaries high level. Report type and count, not the captured value. - State clearly that sanitization reduces risk but does not guarantee complete detection. - Do not scan unrelated files or repositories unless the user explicitly asks for that broader scope. - Do not send text to external services for classification or validation. ## High-Risk Patterns Prioritize these categories: - API keys and secret tokens - Authorization headers and bearer tokens - Cookies and session identifiers - `.env`-style credentials and password assignments - Private key blocks and PEM material - Sensitive URL query parameters Then handle lower-risk identifiers: - Email addresses - Phone numbers - IP addresses - National ID or payment-card-like strings when confidence is high ## Output Contract Use the JSON contract from `references/output-format.md` when returning structured results from the script. If answering in prose, include the same three sections in human-readable form. ## Resources - Detection and replacement behavior: `references/patterns.md` - Output structure and reviewer guidance: `references/output-format.md` - Smoke-test inputs and expected behavior: `references/test-cases.md` - Deterministic local sanitizer: `scripts/sanitize_text.py`

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 safe-share-1776120496 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 safe-share-1776120496 技能

通过命令行安装

skillhub install safe-share-1776120496

下载 Zip 包

⬇ 下载 safe-share v1.0.0

文件大小: 9.2 KB | 发布时间: 2026-4-14 11:47

v1.0.0 最新 2026-4-14 11:47
Initial release: local-first text sanitization for safe public sharing.

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

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

p2p_official_large
返回顶部