-
A repository's own scope globs could crash the review that reads them.
--allowand--denyare matched withminimatch, which expands brace
groups throughbrace-expansion, and the bundled copy was 5.0.7. That version
bounds the number of expansions at 100,000 but not their length, so a
pattern like{a,b}repeated a few hundred times keeps the count under the
cap while making every result as long as the pattern has groups. The arrays
built while combining them exhaust the heap and abort the process
(CVE-2026-14257, and the incomplete fix for it). This is reachable here
becauseallowanddenyare read from the scanned repository's
.codetruss.ymland validated only as non-empty strings: on 0.2.45's shipped
bundle, a 7.5 KB glob in that file endscodetruss reviewwith an uncatchable
out-of-memory abort rather than a verdict.brace-expansionmoves to 5.0.9,
which bounds the intermediate arrays as well, and the same input now returns a
verdict. Scope matching is otherwise unchanged.What this is not: nothing is disclosed, nothing is altered, and no verdict
changes. A pattern cannot reach the matcher from a diff, a filename, or the
network — only from flags you typed or a config file in the tree you pointed
the CLI at. The worst outcome was a local tool dying instead of reporting. -
Dependency floors that were pinned to vulnerable versions have been
raised.minimatchmoves to 10.2.6, whose own^5.0.8requirement means
brace-expansioncan no longer resolve below the patched line.postcsswas
held at 8.5.16 by a workspace override added as a security pin months ago and
never refreshed; it moves to 8.5.26, which carriesnanoid3.3.18 with it.
Neitherpostcssnornanoidis in the shipped bundle — they reach the
repository only through the test runner — so this changes nothing you install.
Install
curl -fsSL https://codetruss.com/install.sh | shWindows (PowerShell):
irm https://codetruss.com/install.ps1 | iexVerify what you installed
sha256 047dc9915d8c0594c913d1c29813edeecb7c71b0fd4e594ab0221139955ad643
gh attestation verify codetruss-cli-0.2.46.tgz --repo CodeTruss/codetruss-cliThe archive ships with a CycloneDX SBOM and SLSA build provenance. You
should not have to take our word for what is in it.