Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Email Analyzer

v1.0.0

分析并清理 biqiang@126.com 邮箱中的邮件,按固化关键词分类后生成报告,待确认后执行安全删除操作。

0· 218·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for farmerboybi-bot/email-analyzer.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Email Analyzer" (farmerboybi-bot/email-analyzer) from ClawHub.
Skill page: https://clawhub.ai/farmerboybi-bot/email-analyzer
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install email-analyzer

ClawHub CLI

Package manager switcher

npx clawhub@latest install email-analyzer
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
high confidence
Purpose & Capability
The name/description (analyze and delete emails in biqiang@126.com) align with the code: IMAP client usage, searching, backup and expunge operations. However, instead of requesting credentials from the environment, the skill embeds a plaintext password and a hard-coded email/server pair for a named individual ('Wood 哥'), which is unusual and sensitive even if the declared purpose is to manage that specific mailbox.
!
Instruction Scope
SKILL.md and the scripts limit operations to analysis, backup, confirmation and deletion and instruct waiting for a manual confirmation. But the code supports automated deletion via CLI flags (--confirm) and the agent platform allows autonomous invocation by default. SKILL.md uses hard-coded local paths (/Users/lobster/...), locked configuration text, and asserts this is the '唯一合法方式' — these broaden scope and reduce flexibility to safely adapt credentials or destinations. There are no instructions to exfiltrate data externally, but the delete capability combined with embedded credentials is high-impact.
Install Mechanism
There is no install spec (instruction-only install) and no external downloads. All code is included in the bundle, so nothing is pulled from remote URLs at install time.
!
Credentials
The skill requests no environment variables but contains a plaintext IMAP password in CONFIG (password: 'WUEw8qhBwjzpUAZW') and a hard-coded email account. Embedding credentials in the package is disproportionate and dangerous: it exposes sensitive access in the skill itself and prevents the user or platform from controlling which credentials are used.
!
Persistence & Privilege
always:false (good) but disable-model-invocation:false (default) means an agent could call this skill autonomously. Combined with embedded credentials and scripts that can perform irreversible deletion (expunge), the blast radius is significant if the skill is invoked without explicit human oversight. SKILL.md's 'locked' claims are not enforceable by the platform and shouldn't be relied on.
What to consider before installing
This skill will connect to imap.126.com as biqiang@126.com using a plaintext password embedded in the code and can permanently expunge emails. Don't install or run this unless you are explicitly the owner of that account and you trust the source. If you are the legitimate owner and want similar functionality: (1) remove the hard-coded credential and supply credentials via a secure secret store or environment variable, (2) run first in analyze-only mode and inspect the generated report before any deletion, (3) verify backups are created and stored securely before running deletions, (4) avoid enabling autonomous agent invocation or require explicit human confirmation each run, and (5) consider rotating the mailbox password after testing. If you are not the mailbox owner, do not install — the package includes direct access credentials for a third party which is inappropriate and risky.

Like a lobster shell, security has layers — review code before you run it.

latestvk970zx9r5df2k28m5vaqs3vy2183345m
218downloads
0stars
1versions
Updated 6h ago
v1.0.0
MIT-0

📧 Email Analyzer 技能(固化版)

创建时间:2026-03-06
固化状态:🔒 锁死 - 改动需 Wood 哥书面同意
执行者:湫儿
监督人:Wood 哥


📋 技能说明

用途:分析、清理 biqiang@126.com 邮箱邮件
唯一性:这是访问 Wood 哥邮箱的唯一合法方式


🔒 固化配置(禁止修改)

配置项备注
IMAP 服务器imap.126.com:993126 邮箱
邮箱账户biqiang@126.comWood 哥邮箱
授权码WUEw8qhBwjzpUAZW✅ 固化
SSL 验证ssl=True必须
超时时间60 秒防超时
ID 命令ASCII only!❌ 禁止中文
抓取方法BODY.PEEK[HEADER.FIELDS]✅ 已验证
删除方法set_flags + expunge✅ 已验证

🎯 关键词列表(固化)

可删除关键词(DELETE_KW)

DELETE_KW = [
    'sale', 'discount', 'promo', 'deal', 'offer', 'clearance',
    'newsletter', 'subscription', 'weekly', 'monthly', 'unsubscribe',
    'notification', 'alert', 'update', 'reminder', 'verification',
    'ecobee', 'rachio', 'nest', 'ring', 'smart home',
    'hoa', 'community', 'meeting', 'election', 'board',
    'temu', 'shein', 'wish', 'aliexpress', 'sponsor', 'ad'
]

保留关键词(KEEP_KW)

KEEP_KW = [
    'forsyth', 'school', 'lhs', 'teacher', 'student',
    'chase', 'visa', 'statement', 'bank', 'credit card',
    'amazon', 'order', 'shipping', 'tracking', 'delivery',
    'uber', 'lyft', 'flight', 'hotel', 'airline', 'delta',
    'google', 'icloud', 'dropbox', 'onedrive', 'apple',
    'insurance', 'medical', 'health', 'doctor', 'hospital',
    'tax', 'irs', 'government', 'utility', 'power', 'water',
    'receipt', 'invoice', 'warranty', 'contract', 'lease'
]

📋 标准使用流程(6 步法)

第 1 步:分析模式

python3 /Users/lobster/.openclaw/workspace/skills/email-analyzer/analyze.py \
  --start-date "2021-02-26" \
  --end-date "2021-08-26" \
  --mode analyze

输出:JSON 分析报告(分类统计 + UID 列表)


第 2 步:等待用户确认

必须等 Wood 哥回复"删除"或"确认"才能继续!

汇报格式:

📊 邮件分析报告

批次:8
日期范围:2021-02-26 ~ 2021-08-26
总邮件数:1,500 封

建议删除:700 封(46.7%)
- Temu 推广:280 封
- 智能家居通知:150 封
- HOA 社区邮件:120 封
- 其他营销:150 封

建议保留:800 封
- 学校/教育:200 封
- 财务/银行:180 封
- 购物订单:220 封
- 其他重要:200 封

确认后回复"删除"执行删除操作。

第 3 步:备份

python3 /Users/lobster/.openclaw/workspace/skills/email-analyzer/backup.py \
  --batch 8 \
  --uids-file delete_uids.json \
  --output batch8_delete_final_backup.json

第 4 步:执行删除

python3 /Users/lobster/.openclaw/workspace/skills/email-analyzer/delete.py \
  --uids-file delete_uids.json \
  --confirm

第 5 步:验证

python3 /Users/lobster/.openclaw/workspace/skills/email-analyzer/verify.py

输出:删除前后对比统计


第 6 步:汇报

✅ 批次 8 删除完成!

📊 删除统计:
  批次 8: 700 封 (2021-02-26 ~ 2021-08-26)
  总计:700 封

📈 删除后邮箱状态:
  总邮件数:26,298 封
  未读数:18,500 封

💾 备份文件:
  - batch8_delete_final_backup.json

✅ Wood 哥,清理完成!

🚨 错误处理

IMAP 连接失败

错误:"Unsafe Login" 或 "Authentication failed"
处理:
  1. 等待 5 分钟重试
  2. 检查 126 网页版是否能登录
  3. 汇报 Wood 哥:可能需要重新生成授权码

SELECT 失败

错误:"SELECT failed" 或 "Mailbox not found"
处理:
  1. 等待 24 小时(可能是 126 风控)
  2. 用网页版登录解锁
  3. 重试

ID 命令错误

错误:UnicodeEncodeError
处理:确保 ID 命令参数只用 ASCII 英文

⚠️ 使用限制

  1. 禁止自动执行:只有在 Wood 哥明确要求时才运行
  2. 禁止修改配置:授权码、关键词、服务器等都锁死
  3. 禁止跳过确认:删除前必须等 Wood 哥确认
  4. 禁止删除备份:备份文件永久保留

📁 文件结构

/Users/lobster/.openclaw/workspace/skills/email-analyzer/
├── SKILL.md              # 本文档(固化配置)
├── analyze.py            # 分析脚本
├── delete.py             # 删除脚本
├── backup.py             # 备份脚本
├── verify.py             # 验证脚本
└── email_analyzer.py     # 核心模块(IMAP 连接)

📝 变更记录

日期变更批准人
2026-03-06技能创建Wood 哥

固化完成!🔒

Comments

Loading comments...