Xpersona
网

网络安全情报爬虫

CLAWHUB · Unverified

网络安全新闻爬虫,每小时自动从多个安全社区 RSS 抓取文章,存入 IMA 笔记。 触发场景:用户说"抓取安全新闻"、"网络安全日报"、"定时爬取安全资讯"、"安全新闻源管理" 或需要查看/管理安全新闻爬虫任务时使用此 skill。 Skill: 网络安全情报爬虫 Owner: fallenqu Summary: 网络安全新闻爬虫,每小时自动从多个安全社区 RSS 抓取文章,存入 IMA 笔记。 触发场景:用户说"抓取安全新闻"、"网络安全日报"、"定时爬取安全资讯"、"安全新闻源管理" 或需要查看/管理安全新闻爬虫任务时使用此 skill。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-27T03:27:22.002Z | user 首次发布:漏洞情报 + 安全新闻双爬虫,支持英文描述智能翻译为中文 Archive index: Archive v1.0.0: 6 files, 17956 bytes Files: references/rss-sources.md (1703b), scripts/crawler.py (10705b), scripts/vuln_crawler.py (247

62
Rank
84
Safety
997
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 997 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176hgyq8sqv9qdbz7armxh2dh83qw6w:sec-news-crawler
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-fallenqu-sec-news-crawler/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

7,653 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: sec-news-crawler
description: |
  网络安全新闻爬虫,每小时自动从多个安全社区 RSS 抓取文章,存入 IMA 笔记。
  触发场景:用户说"抓取安全新闻"、"网络安全日报"、"定时爬取安全资讯"、"安全新闻源管理"
  或需要查看/管理安全新闻爬虫任务时使用此 skill。
---

# sec-news-crawler

每小时从多个安全社区 RSS 抓取最新文章,按日期合并为每日一篇笔记存入 IMA。

## 快速运行

```bash
# 立即执行一次抓取
bash ~/.openclaw/workspace/skills/sec-news-crawler/scripts/run.sh

# 查看运行日志
tail -f ~/.openclaw/workspace/logs/sec_news_cron.log
```

## 系统架构

- **爬虫脚本**:`scripts/crawler.py`
- **RSS 源配置**:`scripts/crawler.py` 内的 `RSS_FEEDS` 列表
- **去重库**:`data/sec_news_seen.json`
- **Cron**:每小时整点执行 `scripts/run.sh`

## 工作流程

1. 从各 RSS 源抓取最新文章
2. 仅保留今天/昨天的文章(按发布日期过滤)
3. 按 URL 去重(同篇文章不重复写入)
4. 同一天所有文章合并为**一篇**笔记,标题 `📰 网络安全新闻 YYYY-MM-DD`
5. 写入 IMA「Openclaw生成」笔记本

## 笔记格式

```
📰 网络安全新闻 2026-03-26(今日)
> 自动抓取 · 更新时间:2026-03-26 18:33 · 共 4 篇文章

1. 文章标题一
   - 来源:嘶吼 | 原文链接
   - 日期:2026-03-26
   - 摘要:...

2. 文章标题二
   - 来源:先知社区 | 原文链接
   ...
```

## 管理命令

| 操作 | 命令 |
|------|------|
| 手动执行一次 | `bash ~/.openclaw/workspace/skills/sec-news-crawler/scripts/run.sh` |
| 查看日志 | `cat ~/.openclaw/workspace/logs/sec_news_cron.log` |
| 查看上次运行状态 | `cat ~/.openclaw/workspace/data/sec_news_last_run.json` |
| 重置去重库(重新抓取所有文章) | `rm ~/.openclaw/workspace/data/sec_news_seen.json` |
| 查看 cron 配置 | `crontab -l \| grep sec_news` |
| 手动触发 cron | `run-parts /etc/cron.hourly`(系统级)|

## 添加/移除 RSS 源

编辑 `scripts/crawler.py`,修改 `RSS_FEEDS` 列表:

```python
RSS_FEEDS = [
    {"name": "嘶吼",     "url": "https://www.4hou.com/feed",     "type": "rss"},
    {"name": "先知社区", "url": "https://xz.aliyun.com/feed",    "type": "rss"},
    {"name": "Seebug",   "url": "https://paper.seebug.org/rss/", "type": "rss"},
]
```

## 当前可用 RSS 源

| 来源 | 状态 |
|------|------|
| 嘶吼 | ✅ 稳定 |
| 先知社区 | ✅ 稳定 |
| Seebug Paper | ✅ 偶尔 |

**失效源(已移除):** FreeBuf(阿里云 WAF)、安全客、T00ls、安全脉搏、SecWiki、极速安全、补天、CNVD(521)、Seebug(空数据)

## 漏洞情报爬虫(vuln_crawler.py)

**功能:** 每日自动抓取全球漏洞情报(CVE),写入 IMA 每日漏洞集合系列。**英文描述自动翻译为中文。**

### 智能翻译规则

英文内容翻译为中文时,遵循以下规则:

| 类型 | 处理方式 | 示例 |
|------|----------|------|
| CVE 编号 | 保留英文,加粗显示 | **CVE-2024-1234** |
| 组件名 | 保留英文 | apache, nginx, MySQL, WordPress |
| 技术术语 | 保留英文 | RCE, SSRF, XSS, SQL Injection, zero-day |
| 协议名 | 保留英文 | HTTPS, TCP, DNS, OAuth, JWT |
| 产品/平台 | 保留英文 | Kubernetes, Docker, GitLab |
| 描述性文字 | 翻译为中文 | The vulnerability allows... → 该漏洞允许... |

### 数据源(2026-03 实测可用)

| 来源 | 类型 | 状态 | 说明 |
|------|------|------|------|
| NVD | REST API | ✅ 主力 | 每天 7 次查询,覆盖近 7 天所有 CVE |
| cxsecurity | RSS | ✅ 备用 | SSL 证书跳过,仍可抓取 |
| 安全客 | RSS | ✅ 备用 | 国内唯一稳定可用的安全 RSS |

**不可用来源:** CNVD(HTTP 521)、Seebug(空数据)、补天(空白内容)、工信部(DNS 失败)、CNNVD(无真实 RSS)

**运行命令:**
```bash
IMA_OPENAPI_CLIENTID=... IMA_OPENAPI_APIKEY=... \
MINIMAX_API_KEY=... MINIMAX_GROUP_ID=... \
python3 ~/.openclaw/workspace/skills/sec-news-crawler/scripts/vuln_crawler.py
```

**笔记系列:** IMA「漏洞情报」笔记本中,标题格式为 `🔐 漏洞情报 YYYY-MM-DD`,每天一篇。

**去重库:** `data/vuln_seen.json`(CVE ID 去重)
**运行日志:** `logs/vuln_cron.log`

### 环境变量

| 变量 | 必须 | 说明 |
|------|------|------|
| `IMA_OPENAPI_CLIENTID` | 是 | IMA 笔记凭证 |
| `IMA_O

_meta.json

{
  "ownerId": "kn78b4tx16r30bk3twgtzhsnms83qbm4",
  "slug": "sec-news-crawler",
  "version": "1.0.0",
  "publishedAt": 1774582042002
}

references/rss-sources.md

# RSS 源状态参考

## ✅ 可用源

| 源 | RSS URL | 说明 |
|---|---|---|
| 嘶吼 | `https://www.4hou.com/feed` | 每次约 8 条新增 |
| 先知社区 | `https://xz.aliyun.com/feed` | 每次约 2 条新增 |
| Seebug Paper | `https://paper.seebug.org/rss/` | 漏洞档案,有更新才推 |

## ❌ 失效源

| 源 | 原因 | 尝试过的 URL |
|---|---|---|
| FreeBuf | 阿里云 WAF 拦截所有请求 | `feed.freebuf.com/feed`, `/rss`, `/articles/feed` |
| 安全客 | RSS 已下线,仅首页可访问 | `anquanke.com/feed`, `/feed.xml` |
| T00ls | RSS 已下线 | `t00ls.com/articles.atom`, `t00ls.net/feed` |
| 安全脉搏 | 服务器无响应/超时 | `secpulse.com/feed` |
| 补天 | 返回 HTML 而非 XML | `butian.net/feed`, `/rss` |
| SecWiki | SSL 证书错误 | `secwiki.org/rss`, `/?feed=rss2` |
| 极速安全 | DNS 解析失败 | `biersec.com/feed` |

## 🔍 探测方法

当某 RSS 源失效时,可尝试以下方法找替代:

```bash
# 1. 检查 HTTP 状态码
curl -s -o /dev/null -w "%{http_code}" --max-time 8 "URL"

# 2. 检查首页 HTML 是否含 RSS link
curl -s --max-time 8 "https://官网首页" | \
  grep -i 'type="application/rss+xml"'

# 3. 常见 RSS 路径穷举
for path in /feed /rss /atom.xml /feed.xml /articles/feed; do
  code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 6 "https://网站.com$path")
  echo "$path -> $code"
done
```

## 🌐 可考虑添加的新源

- 奇安信威胁情报中心:`ti.qianxin.com`(如有 RSS)
- 国家信息安全漏洞库 CNVD:`cnvd.org.cn`(需确认 RSS)
- 知道创宇 ZoomEye:`zoomeye.org`(可能有 RSS)
- 嘶吼(已接入)、先知(已接入)、Seebug(已接入)

skill-card.md

## Description:

A cybersecurity intelligence crawler that collects security community RSS articles hourly, gathers daily CVE intelligence, translates English vulnerability descriptions into Chinese, and writes daily IMA notes.

This skill is ready for commercial/non-commercial use.

## Publisher:

[fallenqu](https://clawhub.ai/user/fallenqu)

### License/Terms of Use:

MIT-0

## Use Case:

Security analysts and developers use this skill to collect daily security news and vulnerability intelligence from configured feeds and APIs, deduplicate items, and publish Chinese daily notes in IMA.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The security review reports unsafe credential practices around IMA note-write credentials and MiniMax credentials.

Mitigation: Use dedicated limited-scope credentials, avoid hardcoded secrets, and remove the global openclaw.json credential fallback before deployment.

Risk: The security review reports scheduled-operation risk, including system-wide cron execution.

Mitigation: Run it under a controlled user-level schedule and do not use the system-wide cron command unless it has been reviewed and approved.

Risk: The security review reports transport risk for feed collection.

Mitigation: Require TLS verification for all feeds before relying on collected intelligence.

Risk: The skill needs network access, local state files, logs, and credentials capable of writing IMA notes.

Mitigation: Install only in an environment where those permissions are expected, monitored, and scoped to this crawler's notebooks.

## Reference(s):

- [RSS source status reference](references/rss-sources.md)
- [ClawHub skill page](https://clawhub.ai/fallenqu/skills/sec-news-crawler)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown notes with inline source links and shell command guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Writes daily security-news and vulnerability-intelligence notes to IMA and maintains local state and log files.]

## Skill Version(s):

1.0.0 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 网络安全情报爬虫 and adjacent AI workflows.