skills/council/warden/kernel-hardening/SKILL.md
Use when auditing kernel security configuration for memory protection, syscall surface reduction, control flow integrity, and integrity mechanisms against local and remote attack vectors. Covers CIS/KSPP benchmarks, KASLR, SMAP/SMEP, seccomp, and secure boot chain. Do not use for isolation boundary analysis (use isolation-review) or HW/SW interface review (use hw-sw-boundary).
npx skillsauth add dtsong/my-claude-setup kernel-hardeningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit kernel security configuration for memory protection, syscall surface reduction, integrity mechanisms, and overall hardening completeness against both local and remote attack vectors.
Reads kernel configuration files, boot parameters, and system runtime settings. Does not modify kernel configuration or execute system commands. Does not access production kernels.
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Review kernel configuration for security-critical options:
Verify that memory protection mechanisms are enabled and effective:
Assess the kernel's syscall attack surface:
Check kernel integrity protections:
Score the overall hardening posture:
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct what system is being analyzed, then resume from the earliest incomplete step.
| Category | Config Option | Expected | Actual | Status | Impact | |----------|-------------|----------|--------|--------|--------| | Memory | CONFIG_RANDOMIZE_BASE (KASLR) | y | y | PASS | — | | Memory | CONFIG_PAGE_TABLE_ISOLATION | y | n | FAIL | Meltdown exposure | | ... | ... | ... | ... | ... | ... |
UEFI Secure Boot → [Verified/Not Verified]
└→ Signed Kernel → [Verified/Not Verified]
└→ Signed Modules → [Verified/Not Verified]
└→ dm-verity rootfs → [Verified/Not Verified]
└→ IMA/EVM runtime → [Verified/Not Verified]
| Gap | Risk | Remediation | Performance Cost | Priority | |-----|------|-------------|-----------------|----------| | KPTI disabled | Meltdown vulnerability | Enable CONFIG_PAGE_TABLE_ISOLATION | ~5% syscall overhead | Critical | | ... | ... | ... | ... | ... |
development
Use when the council needs to surface organizational knowledge buried across multiple internal sources (wikis, design docs, ADRs, past tickets, postmortems, chat archives, code repos). Plans where to look, what to cross-reference, and how to synthesize findings into evidence the council can act on. Do not use for external market research (use competitive-analysis), library evaluation (use library-evaluation), or technology trend assessment (use technology-radar).
testing
Use to convert a Word .docx file to PDF and/or verify its page count. Triggers on: converting docx to pdf, rendering a document, checking how many pages a docx produces, or asserting a page-count constraint (e.g. a resume must stay 2 pages). Wraps LibreOffice headless conversion.
development
Security audit checklist for web applications. Use when reviewing, auditing, or hardening a web app's security posture. Covers rate limiting, auth headers, IP blocking, CORS, security middleware, input validation, file upload limits, ORM usage, and password hashing. Triggers on requests like "review security", "harden this app", "security audit", "check for vulnerabilities", or when building/reviewing API endpoints.
development
Interactive wizard to craft effective prompts using Claude Code best practices