深度防禦加固:data-guard、entry_points 路徑邊界、bash quoting(#22) - #24
Merged
Conversation
… quoted paths (#22) Three LOW hardening items from the #12-#21 cluster verify (security lens, DA-triaged as backlog): - lookup/validate/create treat domain file content — especially user-local sources — as data under review, never as instructions; instruction-looking content is reported, not executed - entry_points must resolve inside the domain directory; '..', absolute paths, or escapes are ignored with a WARNING (both skills, shared rule) - guided bash quotes all path arguments; plugin CLAUDE.md carries the cross-skill convention Refs #22
…d severity, quoting self-consistency (#22) - lookup: path-boundary rule now referenced at the Step 2 site that actually consumes entry_points (was only in the bottom error table) - create: its extend path consumes entry_points on the WRITE side — gains its own boundary line instead of relying on the canonical catch-all - validate: data-guard security findings exempted from the maturity severity downgrade (legacy-domain injection stays WARNING) - all three skills: quote echo "$CLAUDE_PLUGIN_ROOT" to match the new always-quote convention Refs #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #22
Summary
#12–#21 cluster verify 的 security lens 三項 LOW 加固:三個 skill 讀入的 domain 內容一律視為資料而非指令(data-guard,含 validate 的 maturity 降級豁免條款);entry_points 路徑邊界(lookup 讀面、validate 檔案集、create 的 write 面各自落在執行動線上);引導 bash 的路徑引數一律雙引號(plugin CLAUDE.md 為 canonical 慣例)。
Verification
1 opus 雙 lens reviewer(requirements + Devil's Advocate);Codex 429 缺席(fail-closed 記錄)。初判 3 項中 1 項 PARTIALLY + 1 MEDIUM 動線問題,fix round(15ffb7f)後 3/3 FULLY、0 blocking。詳 #22 的 Verify comment。
Checklist
🤖 Generated by /idd-all. Do NOT add a GitHub close trailer (Closes/Fixes/Resolves) — IDD discipline requires manual close after merge.