alibabacloud-ecs-sec-kernel
Linux 内核 CVE 漏洞检测与 PoC 验证工具。88 个内核漏洞检测器,CTF 挑战模式验证。需要 root 权限(sudo)运行。 务必在检测内核漏洞时使用此技能。每当需要验证 CVE 或执行 PoC 验证时,优先调用此技能。 当用户提到内核安全、CVE 检测、漏洞利用验证时,主动触发。
npx skills add aliyun/alibabacloud-ecs-troubleshoot-skills --skill alibabacloud-ecs-sec-kernel --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# sec-kernel Linux 内核 CVE 漏洞检测与 PoC 验证工具。88 个内核漏洞检测器,CTF 挑战模式验证。 **Version**: 1.4.0 (JSON-driven architecture) ## 触发场景 当以下场景出现时,务必主动调用此技能: - 检测 Linux 内核漏洞 - 验证特定 CVE 是否可利用 - 执行 PoC 三阶段验证(Prepare → Run → Post) - 内核安全评估或审计 - 用户提到 "内核安全"、"CVE"、"提权漏洞"、"PoC" 等关键词 - 需要判断当前内核版本是否存在已知漏洞 - 执行本地提权(LPE)路径验证 ## ⚠️ 安全声明 > **PoC 验证可能导致 kernel crash (panic/hang/deadlock),建议在隔离的虚拟机/可快照环境中运行。** > PoC 不会永久改写系统文件,不会进行持久化提权。所有临时修改均在 Post 阶段完整恢复。 > 使用本工具即表示您同意遵守 [完整安全声明](references/SECURITY-DISCLAIMER.md) 中的所有条款。 > 违规使用需承担全部法律责任。 ## 快速使用 ```bash # 从 skill 根目录执行: # 需要 root 权限(sudo) # 全量检测与 PoC 验证(默认对所有 enabled 的 CVE 执行 PoC) sudo python3 -m scripts --verbose # 单 CVE 验证 sudo python3 -m scripts --cve-id CVE-2026-31431 -v # 列出所有检测器(无需 root) python3 -m scripts --list-detectors # 自动编译缺失的 PoC 二进制 sudo python3 -m scripts --compile-poc -v # 输出 JSON 格式报告 sudo python3 -m scripts --format json -v ``` ## CLI 参数 | 参数 | 类型 | 默认值 | 说明 | |------|------|--------|------| | `--mode` | choice | `host` | 运行模式(仅 `host`,Linux 服务器环境) | | `--poc-output` | path | `./workspace` | PoC 证据输出目录 | | `--poc-timeout` | int | `30` | PoC 执行超时时间(秒) | | `--no-prepare` | flag | off | 跳过 Prepare 阶段 | | `--no-post` | flag | off | 跳过 Post 阶段 | |
- 触发场景
- ⚠️ 安全声明
- 快速使用
- CLI 参数
- 关键参数说明
- 为什么需要 sudo(root 权限)
- 为什么使用 CTF 模式
- 检测器统计
- 新增功能 (v1.2.0)
- PoC 执行统计模块
- 三种 PoC 模式标准化
- 增强的证据展示
- 输出格式
- 检测摘要
sudo python3 -m scripts --verbose sudo python3 -m scripts --cve-id CVE-2026-31431 -v python3 -m scripts --list-detectors sudo python3 -m scripts --compile-poc -v sudo python3 -m scripts --format json -v
What does the alibabacloud-ecs-sec-kernel skill do?
Linux 内核 CVE 漏洞检测与 PoC 验证工具。88 个内核漏洞检测器,CTF 挑战模式验证。需要 root 权限(sudo)运行。 务必在检测内核漏洞时使用此技能。每当需要验证 CVE 或执行 PoC 验证时,优先调用此技能。 当用户提到内核安全、CVE 检测、漏洞利用验证时,主动触发。
How do I install it?
Run `npx skills add aliyun/alibabacloud-ecs-troubleshoot-skills --skill alibabacloud-ecs-sec-kernel --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From aliyun/alibabacloud-ecs-troubleshoot-skills, a repository with 160 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
