Skip to content

Security & correctness hardening + zero-regression roadmap sweep (22/23 review items)#13

Open
aksOps wants to merge 24 commits into
mainfrom
worktree-security-hardening
Open

Security & correctness hardening + zero-regression roadmap sweep (22/23 review items)#13
aksOps wants to merge 24 commits into
mainfrom
worktree-security-hardening

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented May 29, 2026

Summary

Security/correctness hardening + a zero-regression sweep of the architecture-review roadmap. 22 of 23 review items addressed across 20 commits. Every change is either purely additive or guarded by a before/after equivalence test.

No regression: the test suite went 358 → 404 (+46) with 0 failures on every gate; a plain mvn verify is behaviorally unchanged; no new runtime dependencies were added (only build/CI plugins).

What's in here (by area)

Security / supply chain

Correctness

Performance / observability

Reliability / DX

Maintainability

Operator heads-up (release notes)

The bootstrap install now fails closed if no checksum is available — air-gapped installs must serve SHA256SUMS/.sha256.txt, set SONAR_DIST_SHA256/SONAR_JDK_SHA256, or opt out with SONAR_ALLOW_UNVERIFIED=1. (#1)

Intentionally deferred (out of zero-regression scope)

Verify on first CI run

  • osv-scanner v2.3.8 --sbom / max_severity field (fails open, so it can't wrongly block).

Test plan

  • mvn verify green at 404 tests, 0 failures
  • dist-zip byte-reproducibility confirmed (two clean builds → identical SHA-256)
  • -Psbom package produces a CycloneDX BOM
  • CI: CVE gate, reproducible job, offline-build job behave as expected on the runner

aksOps added 20 commits May 29, 2026 07:02
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/ci.yml Fixed
// the leading-'-' rejection in resolveDiff this closes option injection.
ProcessBuilder builder = new ProcessBuilder(
"git", "diff", "--name-only", ref)
"git", "diff", "--name-only", ref, "--")
@sonarqubecloud
Copy link
Copy Markdown

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.

2 participants