Files
ruflo/v3/@claude-flow/swarm/src
rUvandr 60f3b336ca fix(security): realpath containment in hooks_codemod (#4346); strict-majority Raft quorum (#4458) (#4636)
* fix(security): realpath containment in hooks_codemod; strict-majority Raft quorum

hooks_codemod (#4346, CWE-59): the project-root check compared lexically
resolved paths, so a symlink inside the project pointing outside it let the
codemod read and rewrite files outside the root. Both the file/files[] and
glob branches now also compare real paths (nearest existing ancestor for
missing leaves) against realpath(projectRoot) using path.relative.

RaftConsensus (#4458): quorum was floor(n * 0.66), i.e. 1 for 2- and
3-voter clusters, so the leader's self-vote accepted a proposal even after
a peer rejected it. Quorum is now max(floor(n/2)+1, floor(n * threshold)).
@claude-flow/swarm 3.0.2 -> 3.0.3.

Fixes #4346
Fixes #4458

Co-Authored-By: RuFlo <ruv@ruv.net>

* chore(swarm): 3.0.4 (3.0.3 was published without dist)

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-11-01 12:17:51 -05:00
..
2026-01-04 23:50:45 +00:00
2026-01-05 19:12:36 +00:00
2026-01-05 21:40:46 +00:00
2026-01-05 19:12:36 +00:00