Skip to content

chore(repo): batch dependabot security + lint bumps and clear codeql no-op - #269

Merged
datascry merged 12 commits into
mainfrom
deps-batch-2026-07
Aug 23, 2026
Merged

chore(repo): batch dependabot security + lint bumps and clear codeql no-op#269
datascry merged 12 commits into
mainfrom
deps-batch-2026-07

Conversation

@datascry

Copy link
Copy Markdown
Owner

Consolidates the stalled weekly Dependabot queue into one datascry-authored batch and clears every open security/quality alert. Each commit uses a valid component scope (the original bot PRs were red on commitlint because Dependabot's deps/deps-dev scope isn't in our scope-enum).

Security alerts cleared (15/15 Dependabot + 1 CodeQL)

Also in the batch

Verification

  • Detector: ruff, mypy --strict, headers clean; 537 passed, 95.20% coverage (gate met).
  • uv lock --check clean for fleet and arena-solver-ocr.
  • collector (pnpm) and edge/arena (go) toolchains not available locally — dev-dep bumps only, no Go touched; CI validates.

Closes #264, #265, #266, #267, #268 once merged.

@datascry

Copy link
Copy Markdown
Owner Author

Added dc3e593 fix(edge): gofmt store_test.gomain was already red on the edge job since d20b08b (gofmt flagged internal/tcpfp/store_test.go, failing before vet/test). Applied gofmt -w; go vet + all edge tests pass in golang:1.26. Folded in so this PR lands green and unblocks every subsequent PR.

…ear its 2 lint errors

arena-solver-ocr was the only Python component without `src`/`select` under
[tool.ruff], so it ran on ruff's *defaults*. ruff 0.16.3 widened those defaults
to include I and SIM, lighting up two errors that had never been gated before.
Because CI installed ruff unpinned, that reddened every open PR at once rather
than a single change.

Pin the rule set the way detector/harness/fleet do (select = E,F,I,UP,B,SIM,RUF,
plus src and target-version) so the gate no longer moves with the tool, then fix
what it finds:

  - I001: `kitsune_arena_ocr` is first-party once `src` is declared, so it gets
    its own import section.
  - SIM117: collapse the nested `with` in test_solve_text_refuses_foreign_target.

Verified identical results under both ruff 0.15.20 (the lockfile pin) and 0.16.3
(current latest).
…lease can't redden every pr

This was the only unpinned tool install left in any workflow — every other Python
gate runs through `uv run`, which is lockfile-pinned. Because it floated to
whatever was newest on PyPI, ruff 0.16.3 shipping new defaults turned all 15 open
dependabot PRs red on a day nobody pushed anything.

Pin to the versions in evaders/arena-solver-ocr/uv.lock so CI and local `uv run`
agree. The pip install (rather than `uv sync`) is still deliberate: it keeps
transformers/torch, which are tier-2 IO, off the unit gate.
… dependabot alerts

Both are transitive, so they need a lockfile bump rather than a pyproject change:

  - h2 4.3.0 -> 4.4.1 (evaders/vanilla) — duplicate Host header could facilitate
    request smuggling. Pulls hpack 4.1.0 -> 4.2.0 with it.
  - setuptools 81.0.0 -> 84.0.0 (evaders/arena-solver-ocr) — MANIFEST.in
    exclusion bypass in sdist via Unicode NFC/NFD collision on macOS APFS/HFS+.
    Advisory needs >=83.0.0.

The pillow (<12.3.0, 13 alerts) and torch (<=2.12.1) alerts on this lock are
already covered by fb91544 earlier on this branch; they close when it lands.
…p path-traversal advisory

postcss reaches us transitively through tsup -> postcss-load-config, so it goes
in the existing pnpm.overrides block alongside esbuild and vite rather than into
devDependencies. 8.5.15 -> 8.5.26.

Covers both open advisories: the sourceMappingURL auto-load path traversal that
discloses arbitrary .map files, and its incomplete fix (GHSA-6g55-p6wh-862q)
where an attacker-controlled sourceMappingURL still reads arbitrary .map files
when `from` is unset.

brace-expansion was the third collector alert and is already at the patched
2.1.2 here, pulled in by the eslint bump in 908f5c2.
@datascry
datascry merged commit abe5fd0 into main Aug 23, 2026
23 checks passed
@datascry
datascry deleted the deps-batch-2026-07 branch August 23, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant