Agent skill

alibabacloud-ecs-sec-kernel

Linux 内核 CVE 漏洞检测与 PoC 验证工具。88 个内核漏洞检测器,CTF 挑战模式验证。需要 root 权限(sudo)运行。 务必在检测内核漏洞时使用此技能。每当需要验证 CVE 或执行 PoC 验证时,优先调用此技能。 当用户提到内核安全、CVE 检测、漏洞利用验证时,主动触发。

aliyungithub.com/aliyunGitHub ↗
claude-coderead-onlyships scriptsApache-2.0
Install
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.

Facts
Files in the skill folder: 807
SKILL.md size: 9 KB
Bundled scripts: yes
Version: 1.4.1
Allowed tools: -terminal(sudorequired)-file-read-file-write
Path: skills/alibabacloud-ecs-sec-kernel/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 160
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 阶段 | |

What's inside
Steps it walks through
  1. 触发场景
  2. ⚠️ 安全声明
  3. 快速使用
  4. CLI 参数
  5. 关键参数说明
  6. 为什么需要 sudo(root 权限)
  7. 为什么使用 CTF 模式
  8. 检测器统计
  9. 新增功能 (v1.2.0)
  10. PoC 执行统计模块
  11. 三种 PoC 模式标准化
  12. 增强的证据展示
  13. 输出格式
  14. 检测摘要
Ships with 24 files
  • CHANGELOG.md
  • CONTRIBUTOR.md
  • VERSION
  • __init__.py
  • __main__.py
  • assets/.gitkeep
  • bundle_python311.sh
  • configs/kernel_cve_database.json
  • configs/kernel_cves.yaml
  • configs/sec-kernel.yaml
  • install.sh
  • poc-bin/.gitkeep
  • poc-bin/cve_2003_0127.bin
  • poc-bin/cve_2004_0077.bin
  • poc-bin/cve_2004_1235.bin
  • poc-bin/cve_2006_2451.bin
  • poc-bin/cve_2006_3626.bin
  • poc-bin/cve_2008_0600.bin
  • poc-bin/cve_2009_2692.bin
  • poc-bin/cve_2010_3904.bin
  • poc-bin/cve_2013_2094.bin
  • poc-bin/cve_2014_3153.bin
  • poc-bin/cve_2015_1328.bin
  • poc-bin/cve_2016_0728.bin
first 24 of 807
Commands it runs
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
More from alibabacloud-ecs-troubleshoot-skills
All skills →
About this skill
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.

Keep going