跳到正文
Skillpedia
安全81k · #1570

pii-detect

它能做什么

这项技能指导智能体扫描文本、代码和设置,查找个人或机密信息。适合希望避免无意中泄露电子邮件、电话号码、证件号码或密码的人。

适用场景

  • ✓当你即将提交可能含有机密或个人数据的代码时。
  • ✓当你编写日志或保存可能包含个人信息的数据时。
  • ✓当模型的回复可能暴露某人的联系方式时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-aidefence/skills/pii-detect/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-aidefence/skills/pii-detect/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我在提交前扫描这些配置文件和日志,看看有没有电子邮件、电话号码或 API 密钥。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体对文本运行快速和详细的个人信息检查,列出发现的位置和类别,并建议如何进行脱敏处理。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

PII Detection

Detect personally identifiable information before it enters logs, commits, or responses.

When to use

Before committing code, storing data, or sending responses that might contain PII (emails, phone numbers, SSNs, API keys, passwords).

Steps

  1. Quick PII check — call mcp__plugin_ruflo-core_ruflo__aidefence_has_pii with the text for a boolean result
  2. Detailed scan — call mcp__plugin_ruflo-core_ruflo__transfer_detect-pii for categorized PII findings
  3. Full analysis — call mcp__plugin_ruflo-core_ruflo__aidefence_analyze for context-aware PII detection
  4. If PII found, flag the specific locations and suggest redaction

PII categories detected

  • Email addresses, phone numbers
  • Social security numbers, tax IDs
  • Credit card numbers
  • API keys, tokens, passwords
  • Physical addresses
  • Names linked to sensitive data
常见问题

它能检测哪些类型的数据?

这项技能可以识别电子邮件、电话号码、社会保障号码、纳税人识别号、银行卡号、API 密钥、密码、地址,以及与敏感数据相关的姓名。

它会替我删除这些数据吗?

这项技能只会标出位置并建议脱敏,由你决定如何修改。

它能保证完全准确吗?

没有任何检测工具能发现所有内容,所以在依赖结果之前请先自行核对。

详情

作者的原始描述

Detect and flag personally identifiable information (PII) in text, code, and configurations. Use before committing code, writing logs, storing data, or sending model responses that might contain emails, phone numbers, SSNs, API keys, or passwords.

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1570
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能