privacy-scanner

发布前隐私扫描。在发布 skill 到 ClawHub 或公开仓库前,扫描代码中是否包含敏感信息(webhook、token、用户名路径、飞书 ID、内网 IP、Discord/Slack/Telegram、JWT、SSH 私钥、数据库连接、第三方 API Key 等)。当用户提到发布、publish、隐私检查、隐私扫描、敏感信息检查时使用此技能。支持 20 项扫描。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "privacy-scanner" with this command: npx skills add m17y/privacy-scanner

Privacy Scanner - 发布前隐私扫描

扫描代码/技能目录中是否包含敏感信息,防止隐私数据泄露到 ClawHub 或公开仓库。

快速使用

# 扫描当前目录
bash ~/.openclaw/skills/privacy-scanner/scripts/privacy-scan.sh

# 扫描指定目录
bash ~/.openclaw/skills/privacy-scanner/scripts/privacy-scan.sh ~/.openclaw/skills/my-skill

# 严格模式(发现任何问题即退出码非零)
bash ~/.openclaw/skills/privacy-scanner/scripts/privacy-scan.sh --strict /path/to/skill

扫描项(20 项)

#类别检测内容严重程度
1Webhook URL飞书等 webhook
2飞书 IDou_/oc_/om_ + 20位
3用户名路径/Users/xxx, /home/xxx
4API Keysk-, ghp_, xoxb-, AKIA
5Bearer TokenBearer xxx (20+字符)
6内网 IP192.168.x.x, 10.x.x.x⚠️
7邮箱user@domain.com⚠️
8手机号中国大陆 11 位
9敏感文件.env, credentials.json, 私钥
10密码/Secretpassword="xxx", secret="xxx"
11Discord Webhookdiscord.com/api/webhooks/
12Slack Webhookhooks.slack.com/services/
13Telegram Bot Token123456:ABCdef...
14数字 IDDiscord/Telegram 17-19位⚠️
15JWT TokeneyJxxx.eyJxxx.xxx
16SSH 私钥-----BEGIN PRIVATE KEY-----
17数据库连接mongodb://, postgresql://
18第三方 API KeyOpenAI, Anthropic, Stripe, Google
19主机名/机器名当前 hostname⚠️
20公网 IP非内网的 IPv4⚠️

跳过规则

以下文件/目录自动跳过:

  • node_modules/, .git/, backups/
  • logs/, *.log, *.tmp
  • agents/, extensions/
  • 二进制文件(图片、压缩包等)

输出

  • 通过 — 未发现隐私泄露
  • ⚠️ 警告 — 可能是占位符,需人工确认
  • 失败 — 确认是真实敏感数据

在公约中使用

参考 AGENTS.md 中的「发布到 ClawHub 公约」,发布前必须通过此扫描。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Xiaohongshu

Use when the user wants to write, analyze, or improve Xiaohongshu (小红书) content — drafting notes, coaching writing skills, diagnosing AI-speak or Jarvis-trap...

Registry SourceRecently Updated
General

Openclaw Nextcloud

Manage Notes, Tasks, Calendar, Files, and Contacts in your Nextcloud instance via CalDAV, WebDAV, and Notes API. Use for creating notes, managing todos and c...

Registry SourceRecently Updated
General

Twenty CRM

Twenty CRM API integration with managed authentication. Manage companies, people, opportunities, notes, and tasks. Use this skill when users want to interact...

Registry SourceRecently Updated
General

Vercel

Vercel API integration with managed OAuth. Manage projects, deployments, domains, teams, and environment variables. Use this skill when users want to interac...

Registry SourceRecently Updated