Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aliyun/alibabacloud-ecs-troubleshoot-skills --skill alibabacloud-ecs-sec-kernelgit clone --depth 1 https://github.com/aliyun/alibabacloud-ecs-troubleshoot-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aliyun/alibabacloud-ecs-troubleshoot-skills/alibabacloud-ecs-sec-kernel)<a href="https://agentmods.dev/skills/aliyun/alibabacloud-ecs-troubleshoot-skills/alibabacloud-ecs-sec-kernel"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-ecs-troubleshoot-skills/alibabacloud-ecs-sec-kernel/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-ecs-troubleshoot-skills/alibabacloud-ecs-sec-kernel"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-ecs-troubleshoot-skills/alibabacloud-ecs-sec-kernel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Privilege Escalation · line 13 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
- medium Privilege Escalation · line 50 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
- medium Privilege Escalation · line 53 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
- medium Privilege Escalation · line 56 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
- medium Privilege Escalation · line 62 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00233 | $0.03834 |
| Opus 5 | $0.00117 | $0.01917 |
| Sonnet 5 | $0.00047 | $0.00767 |
| Haiku 4.5 | $0.00023 | $0.00383 |
Grade B, and why
alibabacloud-ecs-sec-kernel scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- terminal (sudo required) How it starts
The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sec-kernel
Linux 内核 CVE 漏洞检测与 PoC 验证工具。88 个内核漏洞检测器,CTF 挑战模式验证。
Version: 1.4.1 (JSON-driven architecture)
触发场景
当以下场景出现时,务必主动调用此技能:
- 检测 Linux 内核漏洞
- 验证特定 CVE 是否可利用
- 执行 PoC 三阶段验证(Prepare → Run → Post)
- 内核安全评估或审计
- 用户提到 "内核安全"、"CVE"、"提权漏洞"、"PoC" 等关键词
- 需要判断当前内核版本是否存在已知漏洞
- 执行本地提权(LPE)路径验证
⚠️ 安全声明
PoC 验证可能导致 kernel crash (panic/hang/deadlock),建议在隔离的虚拟机/可快照环境中运行。 PoC 不会永久改写系统文件,不会进行持久化提权。所有临时修改均在 Post 阶段完整恢复。 使用本工具即表示您同意遵守 完整安全声明 中的所有条款。 违规使用需承担全部法律责任。
快速使用
# 从 skill 根目录执行:
# 需要 root 权限(sudo)
# 首次运行:编译 PoC 二进制 + 全量检测(推荐)
sudo python3 -m scripts --compile-poc --verbose
# 全量检测与 PoC 验证(poc-bin 已编译后)
sudo python3 -m scripts --verbose
# 单 CVE 验证
sudo python3 -m scripts --cve-id CVE-2026-31431 -v
# 列出所有检测器(无需 root)
python3 -m scripts --list-detectors
# 输出 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 阶段 |
--poc-user |
string | nobody |
Run 阶段执行用户(降权执行) |
--no-force-demote |
flag | off | 不强制降权到非特权用户 |
--compile-poc |
flag | off | 自动编译缺失的 PoC 二进制文件(plain 模式) |
--output-dir |
path | ./workspace |
报告输出目录 |
--format |
choice | markdown |
报告格式(markdown / json) |
--cve-id |
string | - | 仅检测指定 CVE |
--config |
path | - | 配置文件路径 |
--verbose / -v |
flag | off | 详细输出 |
--list-detectors |
flag | off | 列出所有检测器(无需 root) |
关键参数说明
默认行为: 所有在 kernel_cves.yaml 中 enabled: true 的 CVE 都会自动执行 PoC 验证,无需额外参数。唯一跳过 PoC 的条件是将 CVE 设置为 enabled: false。
--compile-poc: 当 poc-bin/ 目录下缺少对应 ELF binary 时,自动调用 poc-src/build.sh 编译。首次运行时必须使用此参数(poc-bin/ 不再随仓库分发,需从源码动态编译)。
Why: PoC 二进制从源码动态编译,避免在 git 中存储大量 ELF 文件。编译采用静态链接 + strip,确保跨发行版兼容。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- __init__.py 436 B runs code
- __main__.py 363 B runs code
- assets/.gitkeep 0 B
- bundle_python311.sh 4.1 KB runs code
- CHANGELOG.md 7.6 KB
- configs/kernel_cve_database.json 13 KB
- configs/kernel_cves.yaml 48 KB
- configs/sec-kernel.yaml 115 B
- CONTRIBUTOR.md 22 KB
- install.sh 4.3 KB runs code
- poc-src/build.sh 4.5 KB runs code
- poc-src/common/.gitkeep 0 B
- poc-src/common/poc_common.h 14 KB
- poc-src/common/safe_syscall.h 3.3 KB
- poc-src/cve_2003_0127/poc.c 13 KB
- poc-src/cve_2003_0127/README.md 6.5 KB
- poc-src/cve_2004_0077/poc.c 17 KB
- poc-src/cve_2004_0077/README.md 3.8 KB
- poc-src/cve_2004_1235/poc.c 7.5 KB
- poc-src/cve_2004_1235/README.md 3.7 KB
- poc-src/cve_2006_2451/poc.c 16 KB
- poc-src/cve_2006_2451/README.md 3.6 KB
- poc-src/cve_2006_3626/poc.c 13 KB
- poc-src/cve_2006_3626/README.md 3.5 KB
- poc-src/cve_2008_0600/poc.c 13 KB
- poc-src/cve_2008_0600/README.md 3.5 KB
- poc-src/cve_2009_2692/poc.c 9.3 KB
- poc-src/cve_2009_2692/README.md 3.6 KB
- poc-src/cve_2010_3904/poc.c 11 KB
- poc-src/cve_2010_3904/README.md 3.6 KB
- poc-src/cve_2013_2094/poc.c 11 KB
- poc-src/cve_2013_2094/README.md 3.7 KB
- poc-src/cve_2014_3153/poc.c 15 KB
- poc-src/cve_2014_3153/README.md 3.5 KB
- poc-src/cve_2015_1328/poc.c 16 KB
- poc-src/cve_2015_1328/README.md 3.6 KB
- poc-src/cve_2016_0728/poc.c 11 KB
- poc-src/cve_2016_0728/README.md 3.8 KB
- poc-src/cve_2016_4557/poc.c 11 KB
- poc-src/cve_2016_4557/README.md 3.6 KB
- poc-src/cve_2016_5195/poc.c 13 KB
- poc-src/cve_2016_5195/README.md 3.6 KB
- poc-src/cve_2016_8655/poc.c 13 KB
- poc-src/cve_2016_8655/README.md 3.7 KB
- poc-src/cve_2016_9793/poc.c 18 KB
- poc-src/cve_2016_9793/README.md 3.7 KB
- poc-src/cve_2017_1000112/poc.c 9.8 KB
- poc-src/cve_2017_1000112/README.md 3.5 KB
- poc-src/cve_2017_16995/original.txt 770 B
- poc-src/cve_2017_16995/poc.c 35 KB
- poc-src/cve_2017_16995/README.md 2.6 KB
- poc-src/cve_2017_6074/poc.c 15 KB
- poc-src/cve_2017_6074/README.md 18 KB
- poc-src/cve_2017_7308/poc.c 29 KB
- poc-src/cve_2017_7308/README.md 24 KB
- poc-src/cve_2018_14634/original.txt 7.4 KB
- poc-src/cve_2018_14634/poc.c 19 KB
- poc-src/cve_2018_14634/README.md 2.6 KB
- poc-src/cve_2018_18955/poc.c 18 KB
- poc-src/cve_2018_18955/README.md 11 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 323 lines · 233 tokens per session scan B 04ff4d5791c7
alibabacloud-ecs-sec-kernel is a skill published in the GitHub repository aliyun/alibabacloud-ecs-troubleshoot-skills (147 stars, last pushed 23d ago), licensed Apache-2.0. It adds 233 tokens to every session and 3,834 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
officecli-word-form
Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…
officecli-data-dashboard
Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…
make_plan
For external plan request scenarios, guides the Agent to request a clear, actionable, step-by-step plan from a stronger Agent via listagents and chatwithagent, emphasizing that the plan is executed by the requester, not by the consulted Agent.
gpt-image-2
A skill for generating or editing images with GPT Image 2 across local, host-provided, or advisory setups.
new
Create a new project to start development quickly.
oss-upload
Upload local files to Tencent COS (oss.1024code.com CDN) using coscli. Use when user wants to upload a file to CDN/OSS, or deploy static assets.