원클릭으로
boot-kernel-hardening
Use when working on W^X, NX, KASLR; provides the FinnOS-specific boot and kernel hardening workflow and evidence gates.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when working on W^X, NX, KASLR; provides the FinnOS-specific boot and kernel hardening workflow and evidence gates.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when working on arm64, aarch64, AAVMF; provides the FinnOS-specific arm64 platform development workflow and evidence gates.
Use when working on toolchain, OVMF, AAVMF; provides the FinnOS-specific build environment management workflow and evidence gates.
Use when working on build script, target profile, image; provides the FinnOS-specific build orchestration workflow and evidence gates.
Use when working on CI, GitHub Actions, required check; provides the FinnOS-specific ci maintenance workflow and evidence gates.
Use when working on architecture abstraction, platform interface, parity; provides the FinnOS-specific cross-architecture design workflow and evidence gates.
Use when working on status, completion percentage, verified; provides the FinnOS-specific evidence and status reporting workflow and evidence gates.
| name | boot-kernel-hardening |
| title | Boot and Kernel Hardening |
| version | 1 |
| status | active |
| owners | [] |
| triggers | ["W^X","NX","KASLR","secure boot","guard page"] |
| prerequisites | ["threat-modelling","uefi-bootloader-development","unsafe-rust-low-level-safety"] |
| related_docs | ["SECURITY.md","docs/architecture/x86_64-virtual-memory.md","kernel/docs/panic-policy.md"] |
| category | Security |
| conditional_skills | [] |
| implementation_gates | [] |
| related_milestones | ["M0 Reproducible Build","M2 Core Kernel","M7 Beta"] |
| last_verified | {"base_commit":"d21a477","date":"2026-07-16","worktree_dirty":true,"context":"base commit plus uncommitted audit and agent-system worktree"} |
| description | Use when working on W^X, NX, KASLR; provides the FinnOS-specific boot and kernel hardening workflow and evidence gates. |
boot-kernel-hardening (Security; skill maturity: operational).
Preserve W^X/NX/isolation/guards/null protection and plan entropy, KASLR, panic, secure/verified boot.
Use for requests mentioning W^X, NX, KASLR, secure boot, guard page, or when a dependency points to this skill. Load only after repository entry and before design or implementation.
Do not use this skill as a substitute for its adjacent subsystem skills or for evidence that the subsystem works. Do not load it only because a future FinnOS document mentions the subsystem.
threat-modellinguefi-bootloader-developmentunsafe-rust-low-level-safetyRead the full prerequisite closure in topological dependency order. If one cannot be satisfied, move the task to Blocked or Deferred; do not omit the dependency.
Conditional skills:
Implementation gates are roadmap/runtime conditions, not additional documents to load automatically:
SECURITY.mddocs/architecture/x86_64-virtual-memory.mdkernel/docs/panic-policy.mdRe-read implementation and tests referenced by those documents. The documents establish intent/status boundaries, not runtime proof.
x86 supervisor W^X/NX/WP/null/guards exist; no user isolation, KASLR, stack canary, secure boot, signatures, or entropy service.
Registry verification used base commit d21a477 plus the dirty worktree context "base commit plus uncommitted audit and agent-system worktree" on 2026-07-16. This is not an integrated-revision claim. Reverify after HEAD, active PRs, or relevant source changes.
git status, recent history, active related issue/PR, and selected roadmap item.An evidence-backed boot and kernel hardening result with scoped artifacts, tests, documentation, and handoff. Include acceptance evidence, residual limitations, and next dependency rather than only code.
./tools/finn check
Run commands from the repository root. A command listed here is a baseline/gate, not evidence that absent future functionality has a runnable target.
State shared semantics explicitly; isolate x86-64 and ARM64 mechanisms.
State guest architecture separately from host architecture and emulator model. Maintain a parity row for changed semantics and document intentional differences.
Preserve the boundary described by the current state: x86 supervisor W^X/NX/WP/null/guards exist; no user isolation, KASLR, stack canary, secure boot, signatures, or entropy service. Apply .agents/checklists/pre-change.md; for kernel, driver, security, architecture, or UI work also apply the matching checklist.
Make Gate KASLR/secure boot on entropy/key/update architecture observable with a negative case, then run the narrow and aggregate gates. Do not permanently hard-code test counts; counts belong to dated evidence reports.
Update the canonical behavior/status document, relevant architecture/reference material, test/build instructions, limitations, and this skill registry if any command, gate, or current-context statement changes.
Inventory mapping and trust boundaries before relying on downstream assumptions.Use .agents/templates/handoff-template.md. Include objective, starting/final Git state, task state, skills used, files, exact commands/results, evidence classification, docs/status changes, unknowns, blockers, risks, next action, and next skills. Distinguish locally verified worktree changes from integrated behavior.
Request: "Work on W^X." Correct response: begin by inventory mapping and trust boundaries, then test permission-negative cases, and require evidence for gate kaslr/secure boot on entropy/key/update architecture before changing status. Incorrect response: create a plausible subsystem scaffold and mark the roadmap item complete because it compiles.
Canonical source: .agents/scripts/skill_registry.py. Increment version for material policy/workflow/gate changes, update last_verified only after reinspection, run python3 .agents/scripts/render_skills.py, review generated diffs, then run python3 .agents/scripts/validate.py --all. Follow .agents/GOVERNANCE.md; never hand-edit generated skills.