instances/xiaodazi/skills/privacy-auditor/SKILL.md
Scan for privacy risks on the local system - exposed credentials, overly permissive files, tracking cookies, and sensitive data in public directories.
npx skillsauth add malue-ai/dazee-small privacy-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
帮助用户扫描本地系统的隐私风险:暴露的凭证、权限过大的文件、敏感数据泄露。
通过 bash 命令扫描本地文件系统,检查常见隐私风险。
# 搜索可能包含密码/密钥的文件(仅检查文件名,不读取内容)
find ~ -maxdepth 3 -type f \( \
-name "*.pem" -o -name "*.key" -o -name "*.env" \
-o -name "credentials*" -o -name "*.keystore" \
-o -name "id_rsa" -o -name "id_ed25519" \
\) 2>/dev/null
# SSH 密钥应为 600,目录应为 700
ls -la ~/.ssh/ 2>/dev/null
# 检查权限是否正确
stat -f "%Sp %N" ~/.ssh/* 2>/dev/null || stat -c "%A %n" ~/.ssh/* 2>/dev/null
# Desktop 和 Downloads 中的敏感文件
find ~/Desktop ~/Downloads -maxdepth 2 -type f \( \
-name "*.csv" -o -name "*.xls*" -o -name "*.sql" \
-o -name "*.bak" -o -name "*.dump" \
\) 2>/dev/null | head -20
# Chrome cookies/history 大小
du -sh ~/Library/Application\ Support/Google/Chrome/Default/Cookies 2>/dev/null
du -sh ~/Library/Application\ Support/Google/Chrome/Default/History 2>/dev/null
# Firefox
du -sh ~/Library/Application\ Support/Firefox/Profiles/*/cookies.sqlite 2>/dev/null
# macOS 最近打开的文件
ls -lt ~/Library/Recent\ Documents/ 2>/dev/null | head -10
# 最近修改的大文件
find ~ -maxdepth 3 -type f -mtime -7 -size +10M 2>/dev/null | head -20
## 隐私审计报告
**扫描时间**: YYYY-MM-DD HH:MM
**扫描范围**: 用户主目录
### 风险等级汇总
- 🔴 高风险: X 项
- 🟡 中风险: X 项
- 🟢 低风险/信息: X 项
### 详细发现
#### 🔴 高风险
| 发现 | 位置 | 建议 |
|---|---|---|
| SSH 私钥权限过大 | ~/.ssh/id_rsa (644) | 修改为 600 |
#### 🟡 中风险
| 发现 | 位置 | 建议 |
|---|---|---|
| .env 文件在公共目录 | ~/Desktop/.env | 移到安全位置 |
#### 修复建议
1. [具体修复命令]
development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.