Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

alibabacloud-ecs-sec-kernel

Skill by aliyun

Detects 88 Linux kernel CVEs and validates local privilege escalation paths with proof-of-concept runs. Built for AI agents and security teams auditing Linux servers.

  • Score 71
  • 148 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install alibabacloud-ecs-sec-kernel

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aliyun/alibabacloud-ecs-troubleshoot-skills /tmp/alibabacloud-ecs-troubleshoot-skills && mkdir -p ~/.claude/skills && cp -r /tmp/alibabacloud-ecs-troubleshoot-skills/skills/alibabacloud-ecs-sec-kernel ~/.claude/skills/alibabacloud-ecs-sec-kernel

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install alibabacloud-ecs-sec-kernel in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

sec-kernel is an agent skill that checks a Linux server for kernel CVE vulnerabilities and validates them with proof-of-concept exploits. It includes 88 kernel CVE detectors covering 2003 to 2026, with local privilege escalation issues in subsystems such as Netfilter, eBPF, TLS, io_uring and xfrm.

Exploitability is checked in CTF mode. The PoC runs in three phases: prepare as root, run as the nobody user, then verify and clean up as root. If nobody can write or read a root-owned file through the kernel bug, the CVE is marked exploitable. PoC binaries are compiled from source with --compile-poc. The skill is meant for security assessments of Linux hosts and complements sec-userspace.

Written from the project's SKILL.md and checked against it.

What it can do

  • Kernel CVE detectionChecks the host against 88 kernel CVE detectors covering 2003 to 2026.
  • PoC validationRuns three-phase proof-of-concept checks to confirm whether a CVE is exploitable.
  • CTF mode verificationConfirms privilege escalation when the nobody user reads or writes a root file.
  • PoC compilationBuilds missing PoC binaries from source with the --compile-poc flag.
  • Single CVE checkRuns detection and PoC validation for one CVE using the --cve-id option.
  • Detector listingLists all available detectors without needing root, using --list-detectors.
  • Report outputWrites results as a markdown or JSON report with execution statistics.

What you need

  • Linux x86_64
  • Python 3.8+
  • Root access via sudo
  • Kernel module loading support (modprobe)

Try asking

  • Check this Linux server for kernel CVEs and verify which are exploitable
  • Run a single kernel CVE check for CVE-2026-31431 with verbose output
  • List all kernel vulnerability detectors available in sec-kernel

Good to know

  • PoC runs may cause a kernel crash, so use an isolated VM or snapshot-capable environment
  • Requires root (sudo) to run
  • PoC binaries are not shipped and must be compiled on first run
  • Supports host mode on Linux servers only

Security check

C
  • Asks for administrator rights (sudo)In skills/alibabacloud-ecs-sec-kernel/SKILL.md: sudo

Checked automatically: skills/alibabacloud-ecs-sec-kernel/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: terminal (sudo required)file-readfile-write

Alternatives to alibabacloud-ecs-sec-kernel

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

alibabacloud-ecs-sec-kernel: common questions

Does sec-kernel need root access?

Yes. The source says it must run with sudo because the prepare and post phases load kernel modules and manage root-owned files.

How does sec-kernel confirm a kernel vulnerability is exploitable?

It uses CTF mode, where the nobody user writes to or reads a root-owned file. Success in that step means a local privilege escalation path exists.

Does sec-kernel leave changes on the system after a test?

The source says temporary changes are fully restored in the Post phase and no persistent privilege escalation is performed.

How do I install alibabacloud-ecs-sec-kernel?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is alibabacloud-ecs-sec-kernel free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is alibabacloud-ecs-sec-kernel safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to alibabacloud-ecs-sec-kernel?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

alibabacloud-ecs-sec-kernel Install

Add to stack

Loading.