Cnvd logo

Cnvd

Community
sywinksvg
cnvd

CNVD 通用型未授权漏洞广扫 —— 冷门产品线 × 预置端点字典 × 批量验证,命中≥10 即一个洞;厂商注册资本实缴>5000万(优先国内)+不出可提交洞绝不停+复现反虚构(curl优先/真实数据包)。说"cnvd"或"挖cnvd"触发。

Overview

Publishersywinksvg
Repositorycnvd-skill
Skill namecnvd
Stars
38
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by sywinksvg on GitHub. Read the source before you install it.

Installation

Install the Cnvd AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/sywinksvg/cnvd-skill/tree/master/skills/cnvd
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sywinksvg/cnvd-skill.git /tmp/cnvd-skill
mkdir -p .claude/skills
cp -r /tmp/cnvd-skill/skills/cnvd .claude/skills/cnvd
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cnvd in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cnvd on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cnvd is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

cnvd 未授权广扫(2.3 · 2026-09-13)

定位:广扫出量 —— 规则预置(AutoCVE 的快)+ 端点迁移(Lexmark 的量)+ 冷门筛选(大厂全重复的教训)。 触发:说「cnvd / 挖cnvd」;退出:说「恢复 / 退出cnvd」。 2.3 三大特性:① 无产出不停(唯一停机=可提交级洞落盘,§0.3/§1.5/§7)② 厂商资质门槛(注册资本实缴 >5000 万 + 优先国内,§1.1a)③ 复现反虚构规范(curl 优先 / 真实数据包,§1.4a)。 历史教训:深挖单厂商模式(3-5 天)已被实战推翻——单固件深挖 3 小时才两洞,且大厂必撞重复。

0. 三原则(全部来自实战教训)

  1. 只打中危+能力点(产证铁律):判据 = 未授权能拿到什么,不是页面能不能打开。状态页/欢迎页/版本号 = 低危不投入。
  2. 冷门优先:大厂 = 重复重灾区(Lexmark 三报告全被 CNVD-2021-45229/45228/75312 驳回)。§3 黑名单 + 查重前移,只挑「有存量但不被关注」的厂商。
  3. 命中≥10 即走:案例 10 个就是达标线,不放大、不铺量、不截图(用户自复现)。

0.3 停机语义:无产出不停(2.3 · 2026-09-13 定)

唯一合法停机条件 = 已挖到 ≥1 个「可提交级」洞并落盘。 可提交级 = 命中 ≥10 台 + 查重 no_duplicate + 独立复验 confirmed + 厂商资质达标(§1.1a:注册资本实缴 >5000 万 + 优先国内) + 报告落盘 Desktop\cnvd\<厂商>\<日期>\。 在此之前,任何"收工"都不成立——包括:

  • 一轮循环没出货 → 换下一条产品线,继续(换线 ≠ 收工)
  • 候选池挑剩了 → 回头从原 findings 里换 rule / 换端点 / 换指纹细分再筛(穷尽再穷尽一次)
  • 通道额度用尽/限流 → 记断点,恢复后从断点续跑(进度落 progress.md)
  • 多条线都 duplicate → §1.1 查重前移加严(条目 >1 就跳),继续找下一条冷门线
  • 报告写完 → 那是里程碑不是终点:继续下一条线,直到用户喊停("停/收工/恢复")

边界:本原则只约束"什么时候可以停"。合规红线(§5:只读/间隔/不下载/合法目标)在连续作业下执行强度不变,红线优先于本原则——红线冲突时立即停下问用户,不算违反。

1. 流程(一产品线一循环,循环至出洞为止)

准备(10min) → 厂商资质筛选 → 扫描(脚本) → 查重+抽验(1 agent) → 报告(主对话) → 下一线

1.1 准备

  1. python cnvd_recon.py --preset <类型> 拉存量(preset:nvr/printer/industrial/network/access/nas/conference)
  2. 指纹聚类(title/server 分组)→ 排除 §3 大厂黑名单 → 挑冷门线(存量 ≥300 的厂商指纹组)
  3. 厂商资质核验(2.3 · 证书门槛):见 §1.1a —— 这是发证硬门槛,不达标的目标哪怕洞成立也白干
  4. 按产品线选 §2 端点字典 rules 文件;新线无字典 → 用 rules_generic.json 起步 + 抓 2-3 台设备页面挖接口(≤10 分钟)

1.1a 厂商资质筛选(2.3 · 2026-09-13 定 · CNVD 发证门槛)

CNVD 证书硬门槛(用户确认):① 通用型漏洞 ② 厂商注册资本实缴 > 5000 万元人民币 ③ 优先国内厂商。 甜点区 = 注册资本过 5000 万、但知名度低、非重复重灾区的中型/小厂。大厂撞重复白干,小厂不够发证资格,中间层才有证书。

逐目标核验(命中 ≥10 后、进报告前必做):

维度判据不达标处理
注册资本实缴国内:企查查/爱企查/天眼查查「注册资本」+「实缴资本」字段,以实缴为准(认缴 ≠ 实缴;实缴 ≥5000万 才达标,或看企业规模/年报佐证);上市/外资:市值/营收折算参考<5000万 → 换线(洞再好也不够发证)
属地优先国内(大陆);港澳台/境外仅在无国内标的时考虑境外 → 降优先级
知名度WebSearch「厂商名 CNVD/CNNVD/CVE」条目数 + 产品知名度重灾区 → 跳过(§3 黑名单逻辑)
产品形态通用型(同一产品多实例部署);非一次性项目定制项目定制 → 换线

操作:

  • 国内厂商查工商:WebSearch「<厂商全名> 注册资本 实缴」(企查查/爱企查/天眼查快照多可检索到)
  • 外文厂商无"注册资本"概念:查公司形式(上市/营收/员工数)折算判断体量
  • 存疑不算过:查不到实缴就按"未达标"处理,先换线,别赌
  • 核验结果记入报告「厂商信息」段(全称/属地/注册资本/实缴/依据来源)

1.2 扫描(脚本,主对话不亲手抓包)

  1. 资产 CSV → targets.csv(表头 ip,port)
  2. python cnvd_check.py --targets targets.csv --rules rules_xxx.json --geo --out findings.csv
    • 判据内建:HTTP 双差分(无 cookie 两次可复现)+ match 字段验证;RTSP 必须 DESCRIBE 200 且 SDP 含 v=0+m=video/audio,OPTIONS-only 直接丢弃(08-22 返工教训)
  3. findings 按 rule_id 聚类:命中 ≥10 → 进查重;<10 → 换下一线(不恋战)

1.3 查重+抽验(合并成 1 个 agent,一次派发两活)

  • 输入:findings.csv 只给 ip,port,rule_id,url 四列 + 厂商名(不给 snippet 防预判)
  • 输出:dedup_report.json + verify_report.json
  • 检查项(一次性穷举):
    • 查重四源:CNVD 官网 / CNNVD / Seebug / WebSearch(site:cnvd.org.cn 厂商名+漏洞点),每条 same(same|similar|different) 判定 + 理由
    • 独立复验 3-5 台(该洞命中里的随机台):无 cookie 裸请求复现 / 真实数据非 mock / 蜜罐三判(ip-api 查 geo,云段=yes 优先怀疑)/ 设备自洽
    • 排除必带 fail_reason,禁止"没发现"式结论
  • 裁决:duplicate → 换点或换线;no_duplicate + 复验 confirmed → 进报告
  • 红线:只读 GET/OPTIONS/DESCRIBE;单 IP 间隔 ≥1s;不下载敏感文件

1.4 报告(主对话)

  • 每洞两版:提交版 + 复现版,命名 <目标>-<日期>-<等级>-<漏洞名>[-提交版|-复现版].md(hark 命名格式),固定落 C:\Users\Administrator\Desktop\cnvd\<厂商>\<日期>\(用户 2026-08-22 定,覆盖旧企业src 路径)
  • 案例 IP 全量导 全部案例IP.txt 同目录(分层:批量命中 / 抽验确认 / confirmed)
  • 厂商信息段(2.3 必填):报告头表格加「厂商全称 / 属地 / 注册资本(实缴) / 依据来源」——CNVD 审核看厂商资质,缺此段=白干
  • 可提交级判定(2.3 明文化):命中 ≥10 台 + 查重 no_duplicate + 独立复验 confirmed + 厂商资质达标(实缴>5000万+国内优先) + 报告落盘 = 可提交级。四条件缺一不可,缺则回到 §1 继续循环,不算停机
  • 定级交用户拍板(CLAUDE.md 铁律),不擅自定义
  • 报告写「与历史漏洞差异」段(型号/路径/参数差异点,应对未公开重复)
  • 复现步骤遵循 §1.4a 复现规范(2.3 反虚构铁律)
  • 截图:默认不做,用户自己复现看

1.4a 复现规范(2.3 · 2026-09-13 定 · 反虚构铁律)

复现步骤以最简单形式呈现,按优先级选择:

  1. 首选:curl 一行命令 / 浏览器直接访问 —— 凡是能直接做到的(GET 请求、公开端点、无需特殊头部),必须用这种形式。目标是读者复制粘贴即可复现。
  2. 保底:真实数据包(raw HTTP request/response)贴入 —— curl 无法直接表达时(特殊头部、POST body、二进制、WebSocket 帧、私有协议等),贴真实请求包。
  3. 铁律一:数据包必须真实 —— 所有贴出的请求/响应包,必须是实操中真实发送/收到的原文。禁止任何虚构、补全、美化、想象;不得凭记忆"重构"数据包,必须回放你实际跑过的。
  4. 铁律二:所有复现方式必须你亲自跑过且能复现 —— 报告里每一步都要能被重复执行得到相同结果;没跑过的步骤不写进报告。
  5. 铁律三:生成报告时自查 —— 每个请求包/响应片段都能对应到本次实操记录;无法对应的一律删除或重跑后再写。

报告自查清单(落盘前逐项过):

  • 每个 curl 命令/数据包 = 本次真实执行过的(不是凭经验写的"应该是这样")
  • 响应片段 = 真实收到的原文(截断可以,改写不行)
  • 复现步骤从零可跑通(URL/参数/头部与实测一致)
  • 无任何"示例"、"假设"、"正常情况下会返回"式的虚构内容

1.5 循环(无产出不停 · 2.3)

一条线走完 → 分出两种结果:

  • 出货(报告落盘)→ 归档 → 继续下一条线(里程碑,不是终点)
  • 没出货(命中 <10 / 全 duplicate / 无端点可打)→ 换下一条线继续,不许以"今晚够数了/没线了"收工

理论停机只有三种:① 已出货且用户喊停 ② 用户喊停 ③ 撞 §5 红线需用户裁决。 诚实条款:若连续多轮确实挖不到可提交洞,不许谎报出货(把 review/mock 项包装成 confirmed 提交 = 事故);正确做法是如实报「已穷尽 N 条线未出洞 + 剩下的可行方向」,再由用户决定加范围还是停。

长跑辅助(连续作业下的进度与留痕):

  • 进度/断点落 progress.md(防上下文压缩丢失);每个候选线一行看板(§6)
  • 每出一条线的小结写 Desktop\cnvd\进度台账.md(候选线/结果/断点),跨天续跑不迷路
  • 长跑期间保持 §5 红线执行强度不变;会话被压缩后先读 progress.md 续跑

2. 端点字典库(核心资产 · D:\Hacker\Work\cnvd\rules\,8 文件 28 条)

端点来自实战验证,跨厂商迁移复用。新洞入库规则:实战确认后追加,标注来源+判据。

文件产品线端点来源
rules_boa.jsonNVR/HVR(Boa 固件)Config.json(ZWP2P UID) / ONVIF / RTSP / FTP 匿名中维 ZWP2P 实战(2026-08-22)
rules_newfe.json新前端 NVR/IPCConfig.json(UID) / 超级密码兑换码 / 找回接口 / RTSP / ONVIF08-24 新前端线(p6scloud 系)
rules_access_menjin.json门禁(门禁专家)固件指纹 / 登录页预填默认账密08-24 门禁线
rules_access_drid.json门禁(Dr.ID)IIS 栈指纹 / o_*.aspx 未授权候选08-24 门禁线
rules_access_secom.json门禁(中興保全 SECOM)Tomcat 栈指纹 / Tomcat 管理器暴露08-24 门禁线
rules_ews_printer.jsonEWS 打印机VNC 面板/账户管理/备份密码/固件升级/配置导出 .ucfLexmark 实战 5 端点(2026-07),可迁移至 EWS 架构打印机厂(非大厂)
rules_superpw_only.json超级密码单点兑换码未授权泄露(拆出单规则复跑用)08-24 新前端线拆出
rules_generic.json通用模板配置导出/backup/路径穿越/API 敏感字段/RTSP新线起步模板

3. 大厂黑名单(准备阶段直接排除,全部是重复重灾区)

NVR/IPC:海康 HIKVISION / 大华 Dahua / 宇视 Uniview / 雄迈 xiongmaitech / 天地伟业 Tiandy / SAMSUNG / Wisenet / CP PLUS
打印机:Lexmark / 三星 Samsung / 佳能 Canon / 理光 Ricoh / 兄弟 Brother / HP / Xerox / Epson
网络设备:TP-Link / 华为 Huawei / 中兴 ZTE / Cisco / H3C / 锐捷 / Netgear / 华硕 Asus
工控:西门子 Siemens / 施耐德 Schneider / 罗克韦尔 Rockwell
NAS:群晖 Synology / 威联通 QNAP

例外:大厂的新端点新攻击面(如 Lexmark VNC 面)可进,但默认跳过。冷门特征 = 白牌固件线(Boa/webs 系)、区域小厂、贴牌 OEM。

4. 脚本与通道

  • 脚本:D:\Hacker\Work\cnvd\scripts\(cnvd_recon.py / cnvd_check.py v2)
  • FOFA 通道(key 自动读 api_keys.json):主力 = fafaapi.info 月卡(快,vip2 不限量);兜底 = fofa.icu 中转站(ICU,慢 ~30s,经常维护);降级用 --channel relay(week=主通道,relay=fofa.icu 兜底,auto=默认自动)
  • 便携包:C:\Users\Administrator\Desktop\cnvd-skills\(2026-09-13 打包 + 已上架 GitHub sywinksvg/cnvd-skill;可整体移植其他电脑;改脚本/字典时三处(本机/便携包/GitHub)记得同步)
  • 工作目录:D:\Hacker\Work\cnvd\<产品线>\<日期>\,状态文件 progress.md + actions.jsonl(轻量两件套,agent 派发留痕)
  • 日志:D:\Hacker\Work\Logs\02-项目\cnvd-YYYYMMDD.log

5. 合规红线(不变)

绝对不做:
  ❌ 修改任何配置 / 删除任何数据
  ❌ 下载敏感文件到本地(仅确认存在即可)
  ❌ 暴力破解 / 横向渗透
  ❌ 提交前对外公开漏洞细节
  ❌ 扫描政府/军事/关键基础设施(无授权)
必须做:
  ✅ 只读操作(GET/OPTIONS/DESCRIBE/LIST)
  ✅ 单 IP 间隔 ≥1s(脚本已固化)
  ✅ 完整操作日志
  ✅ 发现漏洞仅用于 CNVD 提交

6. 看板

| 产品线 | 厂商 | 存量 | 命中 | 案例 | 查重 | 报告 | 审核状态 |
|--------|------|------|------|------|------|------|----------|

7. 停机规则(2.3 · 2026-09-13 定)

继续循环(任何一条成立就换线继续,不算停):
  单线命中 <10        → 换下一条冷门线
  查重全 duplicate     → 换点或换线
  候选池挑剩          → 换 rule / 换端点 / 换指纹细分,回头再筛
  通道限流/额度尽     → 记断点,恢复后从断点续
  多条线连败          → 查重前移加严(条目 >1 即跳),继续找
  报告落盘            → 归档后继续下一条线

合法停机(只有这些):
  ✅ 已出货(报告落盘)且用户喊停
  ✅ 用户喊停("停 / 收工 / 退出cnvd / 恢复")
  ✅ 撞 §5 红线 → 停下问用户裁决

诚实条款:连续多轮无产出时如实报告"已穷尽 N 条线 + 剩余方向",
  禁止把 review/mock 项包装成 confirmed 谎报出货;本原则不改变 §5 红线执行强度。

收尾:① 会话收尾巡检主目录 ② 日志归档 ③ 出洞/经验写记忆(漏洞挖掘域)+ 更新 MEMORY.md ④ 每轮定级交用户拍板 ⑤ 进度/断点写入 progress.md(长跑必须,防上下文压缩丢失)。

Frequently asked questions

What does the Cnvd AI skill do?

CNVD 通用型未授权漏洞广扫 —— 冷门产品线 × 预置端点字典 × 批量验证,命中≥10 即一个洞;厂商注册资本实缴>5000万(优先国内)+不出可提交洞绝不停+复现反虚构(curl优先/真实数据包)。说"cnvd"或"挖cnvd"触发。

Why use Cnvd on TypingMind?

Because you install it once and use it with any model. Cnvd is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cnvd in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/sywinksvg/cnvd-skill/tree/master/skills/cnvd. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cnvd?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cnvd?

As many as you like. As long as a model supports skills, you can use Cnvd with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cnvd AI skill free?

Yes. It is published on GitHub by sywinksvg under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇