Repository navigation
Conversation
staticcheck's ST1005: these are error strings, and Go style keeps them lowercase. The one test that pinned the capitalised form follows.
SA4006: rest was set before the switch and reassigned in each case, so the first value was never read.
ssh.InsecureKeyAlgoDSA is deprecated (SA1019); the wire name it holds is stable and is what the label switch compares.
SA4000/SA4006: CloseRequested was called twice in the same ||, and the first deploy.sh lookup was never read.
Open reads a file another machine wrote, so it is the one parser here a stranger feeds. The seeds cover a real envelope, a truncated one and two with out-of-range KDF parameters, which must be refused before Argon2id allocates anything.
Both packages run one goroutine per session; a leak there only shows up as memory that grows on a long-running app. goleak turns it into a test failure.
staticcheck and govulncheck cover what go vet does not; the coverage figure is printed rather than enforced, and the fuzz pass spends 30s on the sync envelope per run.
Release files now carry GitHub-signed build provenance and an SPDX SBOM attestation, so gh attestation verify can say this workflow built them. The SBOM is written before the checksums, so SHA256SUMS covers it.
A pinned dependency is only as safe as how fast it is patched, and this app holds passwords and speaks SSH.
The list of endpoints the app can reach was only in the source. It is the project's best argument against the closed-source client it replaces, and the plaintext ip-api fallback deserves saying out loud.
govulncheck, which this branch adds to CI, found two vulnerabilities the code reaches: GO-2026-6888 in brotli (reached through x/net while reading an HTTP body) and GO-2026-6859 in net/http (fixed in 1.27.4). The two x/net html advisories and the x/crypto/openpgp one were not reachable; they go with the same upgrade.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #231.
Eleven commits, each doing one thing.
What changes
fix(importer)fix(monitor)fix(sshx)test(app)main(SA4000, SA4006 ×2, SA1019, ST1005 ×3).staticcheck ./...is clean after them, so the new CI step can be blocking.test(cloudsync)FuzzOpen:Openreads a file another machine wrote. Seeds cover a real envelope, a truncated one, and two with out-of-range KDF parameters, which must be refused before Argon2id allocates anything.test(sshx,monitor)goleakin the two packages that run a goroutine per session.ciciSHA256SUMS, so the checksums cover it too.chore(deps)docsSECURITY.md(what is stored where, every endpoint the app can reach, what is signed) and a READMEPrivacysection.fix(deps)x/net0.62.0,brotli1.2.7 — see below.The part worth reading
govulncheck, added by this branch, found two vulnerabilities the code reaches:GO-2026-6888—github.com/andybalholm/brotli@v1.2.2, reached throughx/netwhile reading an HTTP body (updates, the IP database, Gist/S3 sync). Fixed in v1.2.7.GO-2026-6859—net/http@go1.27.3(MaxBytesReaderheader race, CVE-2026-97054). Fixed in go1.27.4.After the upgrade:
Your code is affected by 0 vulnerabilities.The twox/net/htmladvisories and thex/crypto/openpgpone were in modules but not reachable; they go with the same upgrade.Verification
The three
internal/appfailures (TestBackgroundImage,TestBackgroundReadsOffUIThread,TestCommandBarPage) reproduce onmainat78c2f91in the same headless container — that baseline shows five failures, this branch three, andTestSysInfoPopover/TestSysInfoStaleReadspass 3/3 when run alone. They look environmental (font/image decoding without a display), not a regression.Not done here
ip-api.comfallback: fixing it properly means a paid HTTPS endpoint or dropping batch lookups — a design decision, documented as a trade-off rather than changed.CHANGELOG.md: left alone, the release tooling owns it.Happy to split this into separate PRs if you would rather review them one at a time.