Skip to content

Commit ee3e4b6

Browse files
authored
fix(security): build with Go 1.27.3 and prepare v0.2.1
Select Go 1.27.3 for source, CI, and release builds while retaining the Go 1.27.1 language minimum. All Go workflows select the toolchain from go.mod. Update the README and changelog to match. On native macOS, the Go 1.27.2 baseline reaches GO-2026-6809 through `HuggingFaceBenchmarkClient.FetchSkillTrustBenchRows` at `internal/runner/benchmark.go:835`, then `bufio.Scanner.Scan` and `x509.Certificate.Verify`. The same symbol-level `govulncheck ./...` scan is clean on Go 1.27.3. Validation: `go build ./...`, `go test -count=1 ./...`, `go vet ./...`, npm wrapper and package-builder tests, and `node scripts/build-npm-package.mjs --version v0.0.0 --pack --smoke` pass. Independent P0–P3 autoreview found no actionable issues. A patch release will follow after exact-head CI and release preflight pass. This PR also prepares the dated v0.2.1 changelog so the same reviewed source can pass the tag-driven release preflight. The empty Unreleased section is retained for subsequent work.
1 parent 00c6605 commit ee3e4b6

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22

33
## Unreleased
44

5-
- Move macOS CI and release verification to Xcode 27 with Rosetta for x86_64, retain the existing macOS 13 minimum in both release and npm binaries, and select Go 1.27.2 to fix reachable standard-library vulnerabilities while keeping the Go 1.27.1 source minimum.
5+
## 0.2.1 - 2026-10-20
6+
7+
**Highlights:** Patch certificate validation in release binaries and verify signed macOS packages on Xcode 27.
8+
9+
- Build with Go 1.27.3 to fix the reachable GO-2026-6809 crypto/x509 certificate-validation vulnerability while retaining the Go 1.27.1 source minimum.
10+
- Move macOS CI and release verification to Xcode 27 with Rosetta for x86_64 and retain the existing macOS 13 minimum in both release and npm binaries.
611
- Keep mocked scanner/context tests independent of an installed Docker CLI while preserving sandbox enforcement checks.
712

813
- Refresh bundled Cisco, Snyk, Socket, Claude Code, and Codex tools while retaining the existing Node.js and Python runtime floors and two-day dependency cooldown.
914
- Preserve Docker sandbox paths containing commas or quotation marks without changing read-only or writable mount permissions. Thanks @SebTardif (#64).
1015
- Use one shared autoreview installation from `openclaw/agent-skills`; repository entrypoints now receive upstream fixes without copied helpers or test suites.
1116

12-
- Use GPT-6 Luna with high reasoning for both bundled ClawHub judges and forward SkillSpector model/reasoning and optional A.I.G reasoning settings into scanner sandboxes.
17+
- Use Codex with high reasoning for both bundled ClawHub judges and forward SkillSpector model/reasoning and optional A.I.G reasoning settings into scanner sandboxes.
1318

1419
## 0.2.0 - 2026-09-22
1520

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm install -g @openclaw/clawscan
2020
The macOS binaries support macOS 13 or later on Apple Silicon and Intel. CI uses
2121
the Apple Silicon `xcode-27` runner and verifies x86_64 binaries under Rosetta.
2222
Release and npm builds pin the macOS 13 deployment target and check both binaries' minimum OS metadata.
23-
Source builds require Go 1.27.1 or later; the module selects the patched Go 1.27.2 build toolchain.
23+
Source builds require Go 1.27.1 or later; the module selects the patched Go 1.27.3 build toolchain.
2424

2525
Command-backed scanners and judges run in ClawScan's Docker runtime by default,
2626
so keep Docker running for local scans.

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/openclaw/clawscan
22

33
go 1.27.1
44

5-
toolchain go1.27.2
5+
toolchain go1.27.3
66

77
require (
88
github.com/alchemy/json5 v0.2.0

0 commit comments

Comments
 (0)