mcpField
S
SECUpdates

SECUpdates

github.com/danielmiessler安全19.6k115 次安装1 天前更新
代码仓库

关于 SECUpdates

SECUpdates 是面向安全信息读者的聚合技能,提供简洁且排序后的更新。它将内容分为事件、研究和观点,并记录已查看内容以聚焦新信息。

主要功能

  1. 01汇集列出的安全信息源
  2. 02按三类整理新闻
  3. 03按重要性排列条目
  4. 04合并重复报道
  5. 05跟踪已查看内容

适用场景

  1. 01查看最新安全事件
  2. 02关注漏洞研究与披露
  3. 03浏览安全趋势与分析
  4. 04整理排序后的安全简报

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/danielmiessler/lifeos --skill secupdates

安装后在 Claude Code 中输入/secupdates确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

sources.json
State/
last-check.json
Workflows/
Update.md

详细介绍

自定义

执行前,请检查以下位置是否有用户自定义设置: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/SECUpdates/

如果此目录存在,请加载并应用其中的任何 PREFERENCES.md、配置或资源。这些设置优先于默认行为。如果目录不存在,则使用技能默认设置。

语音通知(必需)

在执行任何其他操作之前,先发送此通知:

curl -s -X POST http://localhost:8888/notify \
  -H "Content-Type: application/json" \
  -d '{"message": "Checking security updates from sources"}' \
  > /dev/null 2>&1 &

SECUpdates 技能

目的: 汇总多个来源的安全新闻,并按重要性分为三个类别,提供简明的更新。

来源

来源URL类型
tl;dr sechttps://tldrsec.comNewsletter/RSS - 全面的安全资讯汇总
No Securityhttps://no.securityCaleb Sima 的安全见解
Krebs on Securityhttps://krebsonsecurity.com调查性安全新闻报道
The Hacker Newshttps://thehackernews.com安全新闻与分析
Schneier on Securityhttps://schneier.comBruce Schneier 的安全博客
Risky Businesshttps://risky.biz安全播客/新闻

自定义来源: 添加到 USER/SKILLCUSTOMIZATIONS/SECUpdates/sources.json


输出格式

所有类别合计最多 32 条,且每个类别内按重要性排序。

# Security Updates
**Generated:** [timestamp]
**Sources Checked:** [list]
**Period:** Since [last check date]

---

## 🔴 Security News (Breaches & Incidents)
*Hacks, breaches, exploits in the wild, incidents*

1. **[Headline]** - [1-2 sentence summary]. [Source]
2. **[Headline]** - [1-2 sentence summary]. [Source]
...

---

## 🔬 Security Research
*New vulnerabilities, CVEs, techniques, papers*

1. **[Title]** - [1-2 sentence summary]. [Source]
2. **[Title]** - [1-2 sentence summary]. [Source]
...

---

## 💡 Security Ideas
*Opinions, strategies, industry trends, career*

1. **[Title]** - [1-2 sentence summary]. [Source]
2. **[Title]** - [1-2 sentence summary]. [Source]
...

---

## 📊 Summary
| Category | Count | Top Item |
|----------|-------|----------|
| News | X | [headline] |
| Research | X | [title] |
| Ideas | X | [title] |

**Total:** X/32 items | **Next check:** Run `/secupdates` anytime

类别定义

🔴 安全新闻(泄露与事件)
  • 数据泄露与泄漏
  • 正在进行的漏洞利用与攻击
  • 勒索软件事件
  • 国家支持的攻击
  • 重大漏洞利用事件
  • 公司安全事件
🔬 安全研究
  • 新的 CVE 和漏洞
  • 安全研究论文
  • 新型攻击技术
  • 工具发布
  • 漏洞披露
  • 漏洞赏金发现
💡 安全观点
  • 行业趋势与分析
  • 安全策略与观点
  • 职业与招聘趋势
  • 监管与合规新闻
  • 安全文化与实践
  • 预测与展望

排序标准

在每个类别内,按以下标准对条目排序:

  1. 影响: 受影响的人数/系统数量?
  2. 时效性: 内容有多新?
  3. 可操作性: 读者能否采取应对措施?
  4. 新颖性: 这是否是真正的新信息?

状态跟踪

状态文件: State/last-check.json

{
  "last_check_timestamp": "2026-01-22T12:00:00.000Z",
  "sources": {
    "tldrsec": {
      "last_hash": "abc123",
      "last_checked": "2026-01-22T12:00:00.000Z",
      "last_title": "tl;dr sec #XXX"
    },
    "nosecurity": {
      "last_hash": "def456",
      "last_checked": "2026-01-22T12:00:00.000Z"
    }
  }
}

每次运行时:

  1. 加载 last-check.json
  2. 获取每个来源的内容
  3. 比较内容哈希值,以检测新条目
  4. 仅纳入上次检查后发布的条目
  5. 成功运行后更新状态文件

流程

步骤 1:检查状态
# Read last check timestamp
cat State/last-check.json
步骤 2:获取来源(并行)

启动并行 Agent 来获取各个来源:

Agent来源方法
Agent 1tldrsec.com使用 WebFetch 获取最新 Newsletter
Agent 2no.security使用 WebFetch 获取近期帖子
Agent 3krebsonsecurity.com使用 WebFetch 获取近期文章
Agent 4thehackernews.com使用 WebFetch 获取新闻标题
Agent 5schneier.com使用 WebFetch 获取近期帖子
步骤 3:解析与分类

对于找到的每条内容:

  1. 确定类别(新闻/研究/观点)
  2. 提取标题和 1-2 句摘要
  3. 记录来源
  4. 评估重要性分数
步骤 4:排序与限制
  1. 按重要性对每个类别排序
  2. 选取排名靠前的条目,总数不超过 32 条
  3. 合理分配(若内容充足,目标是每个类别约 10-12 条)
步骤 5:输出并更新状态
  1. 生成格式化输出
  2. 将更新后的状态写入 last-check.json

工作流路由

工作流触发词文件
更新"security updates"、"sec updates"、"/secupdates"、"what's new in security"Workflows/Update.md

默认: 运行 Update 工作流。


核心原则

  1. 简洁 — 每项用 1–2 句话说明,不说废话
  2. 排序 — 各类别内按重要性从高到低排列
  3. 分类 — 清晰区分新闻、研究和创意
  4. 去重 — 多个来源报道同一事件时,只保留一条
  5. 限量 — 总计最多 32 项,重质量而非数量
  6. 有状态 — 追踪已查看的内容,只展示新内容

输出示例

# Security Updates
**Generated:** 2026-01-22 12:09 PST
**Sources Checked:** tldrsec, no.security, Krebs, THN, Schneier
**Period:** Since 2026-01-20

---

## 🔴 Security News (Breaches & Incidents)

1. **Microsoft Azure Breach Exposes 2M Customer Records** - Misconfigured storage blob allowed unauthorized access to customer data including emails and phone numbers. [Krebs]
2. **LockBit 4.0 Ransomware Hits Healthcare Chain** - 15 hospitals affected, patient data encrypted, $10M ransom demanded. [THN]
3. **Ivanti VPN Zero-Day Actively Exploited** - CVE-2026-XXXX being used by Chinese APT groups against government targets. [tldrsec]

---

## 🔬 Security Research

1. **New Spectre Variant Bypasses All Mitigations** - Researchers demonstrate "Spectre-NG" affecting Intel and AMD processors, no patch available. [tldrsec]
2. **OAuth Token Theft via Browser Extension** - Novel technique allows stealing tokens from any site using malicious extension. [no.security]
3. **SSRF in AWS IMDSv2** - Bypass discovered in metadata service protections. [tldrsec]

---

## 💡 Security Ideas

1. **The Death of Perimeter Security** - Caleb Sima argues zero-trust is no longer optional after recent breaches. [no.security]
2. **CISO Burnout at All-Time High** - Survey shows 70% considering leaving the field within 2 years. [tldrsec]
3. **AI-Generated Phishing Now Indistinguishable** - Schneier on the implications of LLM-powered social engineering. [Schneier]

---

## 📊 Summary
| Category | Count | Top Item |
|----------|-------|----------|
| News | 3 | Microsoft Azure Breach |
| Research | 3 | New Spectre Variant |
| Ideas | 3 | Death of Perimeter Security |

**Total:** 9/32 items | **Next check:** Run `/secupdates` anytime

反面模式

❌ 不佳✅ 良好
长篇摘要用 1–2 句话简洁说明
“阅读更多,请访问……”摘要 + 来源说明
未排序的列表堆砌按重要性排序的条目
50 项以上最多 32 项,精心筛选
混淆类别清晰区分新闻、研究和创意
新旧新闻混杂只展示上次检查之后的内容

评论

支持 Markdown