Skip to content

release v0.0.159 - #1531

Merged
nc9 merged 24 commits into
mainfrom
release/v0.0.159
Nov 2, 2026
Merged

nc9 merged 24 commits into
mainfrom
release/v0.0.159

Conversation

@nc9

@nc9 nc9 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Release v0.0.159: stacked release PR (cherry-picks with -x, authorship and sign-offs preserved, released CHANGELOG sections untouched), then notes and version bump (## v0.0.159 (2026-11-02), apps/cli/package.json and npm/package.json 0.0.158 -> 0.0.159). Rebase-merge, then the originals are closed with the new SHAs. Every head below had independent reviews (ADOPT, with follow-ups in the head).

Included PRs (head sha at pick time; refs only, no auto-close)

PR Head What
#1523 William's a3c6d476 + 2 maintainer commits (local branch adopt/1523, no PR head) leaked-secrets: admin-named hosted-search keys rank high with a hint; Meilisearch masterKey/searchKey; maintainer follow-up: one-word apikey names, one-word spellings gated on Meilisearch context, placeholders, admin hint, whole-word admin tests (refs #1515)
#1525 4c9efcf5 integrity: controlsUnread counts a control once however many bounds it hit (fixes #1491)
#1526 b37604ea integrity: style attribute to 1 MB, CSS rule bounds, per-member selector lists, hidden-class signal, <base href> chosen in one linear pass as a browser does (fixes #1423)
#1527 ae77b095 leaked-secrets: a header-only Bearer JWT is not a credential (refs #1227)
#1528 1b133b77 leaked-secrets: a JWT-shaped string that does not decode is dropped only on proof; a no-alg header keeps a specific classification (refs #1283; known limit #1530)
#1529 8700ddfb leaked-secrets: an AMD/RequireJS module path of listed words is a name, not a credential (refs #1292)

#1524 (an overlapping maintainer draft of #1515) is superseded by #1523 and is closed after this release.

Merge notes

Gates (local, bun 1.4.3)

Skill

No change to the squirrelscan agent skill needed.

WilliamK112 and others added 24 commits November 2, 2026 12:14
Signed-off-by: Ching-Wei Kang <[email protected]>
(cherry picked from commit a3c6d47)
(cherry picked from commit 8ac43f2066126ef9bd102a2e11b6d31bdb6eaeee)
…ch context for one-word spellings, placeholders #1515

Follow-up on the adopted commit, found in review:

- A name that spells `apikey` as one word (`ALGOLIA_SEARCH_APIKEY`,
  `search_apikey`, `master_apikey`) was skipped as a bare Meilisearch scope
  word outside a Meilisearch context; main reported it at medium. It is read
  as a provider name again; `master_apikey` ranks high like `master_api_key`.
- `MASTERKEY`, `masterkey`, `searchkey` and `SEARCHKEY` slipped past the
  Meilisearch context gate; they are gated like `masterKey`, and rank like
  the two-word spellings inside a Meilisearch config.
- `YOUR_MASTER_KEY_GOES_HERE_1234` and `MASTER_KEY_PLACEHOLDER_VALUE` (and the
  search and admin forms) are placeholders, no longer a high finding.
- Docs and CHANGELOG say what the code does: the Meilisearch context is the
  word `meili` in the name or in the 120 characters before the key, `master`
  names are high at any length, and the 32-character rule is any 32
  characters under an admin-named API key.
- Tests: spellings, the context window boundary, the name shortcut, outside
  context, placeholders.

Known limit, not changed here: the Meilisearch context is not read after the
key, so a host URL longer than the window between `new MeiliSearch({` and
`masterKey` hides the finding.

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 9e04d97de3624dea05141367f85a723fae405e5a)
…dmin and separator tests #1515

- An admin-named key (`adminApiKey`, `admin_api_key`, `master_api_key`, a
  Meilisearch `masterKey`) now carries a hint that an admin key can write and
  delete an index, so a copy in a script that ships to browsers lets anyone
  change it. It never carries the search-only wording.
- Tests pin: `administratorApiKey`, `sadminApiKey`, `radmin_api_key` and
  `adminsApiKey` stay at medium (admin must be a whole word of the name);
  31 and 33 character values stay at medium; a 32 character value with `_`
  and `-` in it ranks high.
- Docs state the whole-word rule and the hint.

Adapted two existing #1229 assertions: an admin name no longer expects no hint
(it expects the admin hint, and never the search-only one).

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 7384fa85ebb4832eea41f5ed1cca4bd34db4705d)
…ny bounds it hit #1491

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 3cb2c36)
…s; docs say templates stay in templatesUnread #1491

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 3584984)
… and local text cut #1491

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 4c9efcf)
…te to 1 MB, CSS rule bounds with cssTruncated, base href #1423

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 131bdb9)
…class signal, rank under moved base, base placement, empty link href #1423

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit badbc2b)
…ancestor walk; foreignObject base honoured; notes and tests #1423

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 2dc5a39)
…cap; nesting cannot decide which base wins #1423

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit ca1f976)
…nnot flip them; math base cases #1423

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit b37604e)
Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 3bde8de)
…whole JOSE header or short truncation, not a continued token #1227

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit ae77b09)
…ode to a JWT #1283

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit a83a5ea)
…decidable parts report #1283

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit ec2f24b)
…e and unparseable-deep parts report #1283

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 2956000)
…ic payload; looks through one decoy segment #1283

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit e4321fd)
…der, known limit #1530 #1283

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 1b133b7)
…ame, not a credential #1292

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit f88a67d)
…wer-case run; pin bounds #1292

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit f0517f4)
…uppressed; trade-off stated #1292

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 8700ddf)
@nc9
nc9 marked this pull request as ready for review November 2, 2026 01:40
@claude

claude Bot commented Nov 2, 2026

Copy link
Copy Markdown

Review of the release PR for v0.0.159. I read the version bumps, the CHANGELOG and the docs changes. I did not re-review the rule code in the cherry-picked PRs, since each had its own review. Every CI check was green when I looked, except claude-review, which was still pending.

No findings.

@nc9
nc9 merged commit ea60499 into main Nov 2, 2026
19 checks passed
@nc9
nc9 deleted the release/v0.0.159 branch November 2, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants