Repository navigation
docs(#1346): recommend Claude Code 2.1.288 — the native rm analyzer missed bash -c under bypassPermissions until then; accept ADR-0009 - #1348
Merged
Conversation
…issed bash -c under bypassPermissions until then; accept ADR-0009 README states the new recommendation and why. THREAT-MODEL.md lists the native dangerous-rm analyzer as a defense, with its version dependency. No doctor or hook constant compares against the recommended version (grep for 2.1.208 in src, scripts and hooks finds none), so AC-2 needs no code change. Claude-Session: https://claude.ai/code/session_01XUpiitdgsZzRtkZh6VNJeZ Entire-Checkpoint: 65e67230eb30
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.
Summary
rm -rfguard and relies on Claude Code's native dangerous-rmanalyzer (templates/hooks/pre-tool.sh, comment above the sudo guard). Before 2.1.288 that analyzer let abash -c/sh -cscript run a dangerousrmwithout a prompt underbypassPermissions, which is the mode phase agents run in (src/lib/workflow/drivers/claude-code.ts).docs/THREAT-MODEL.mdgains a defenses row for the native analyzer. It is classed deterministic, and its residual risk is the version dependency Sequant cannot enforce.verifybefore every commit — Sequant's verify expects an issue number and posts to GitHub #1345) is marked Accepted, per the owner's decision on 2026-10-06.Fixes #1346
AC status
bash -creasongrep -rn "2\.1\.208" README.md docs plugin templates srcnow finds only the historical "landed in 2.1.208" clause on README:38, which explains command substitution. Both recommendation sites say 2.1.288.grep -rln "2\.1\.208" src scripts .githuband the hooks find nonedocs/THREAT-MODEL.mddefenses row;src/lib/__tests__/security-docs.test.ts(35/35) checks that its cited path resolvesDocs-only change. #1343 (the 2.20 docs refresh) edits README around line 91, which does not overlap. Both touch the
[Unreleased]CHANGELOG section, so whichever merges second may need a trivial merge.🤖 Generated with Claude Code