Skip to content

fix(security): resolve dependency vulns, stream I/O, harden credentials and install script#81

Merged
brandonrc merged 5 commits intomainfrom
fix/security-critical-audit
Mar 23, 2026
Merged

fix(security): resolve dependency vulns, stream I/O, harden credentials and install script#81
brandonrc merged 5 commits intomainfrom
fix/security-critical-audit

Conversation

@brandonrc
Copy link
Contributor

Summary

Addresses 6 security-critical audit findings:

Test Checklist

  • Unit tests added/updated
  • Integration tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)
  • Manually tested locally
  • No regressions in existing tests (1380 passing)

API Changes

  • N/A - no API changes

Resolves CVEs in:
- aws-lc-sys 0.37.1 -> 0.39.0
- quinn-proto 0.11.13 -> 0.11.14
- rustls-webpki 0.103.9 -> 0.103.10

Remaining: time 0.3.45 (RUSTSEC-2026-0009) is pinned by ratatui-widgets
0.3.0 which has no newer release yet. Tracked upstream.
Upload now uses ReaderStream to stream from disk. Download writes
chunks directly to the output file. Cross-instance copy streams
through a temp file instead of holding the full artifact in memory.

Closes #66
Credential files are now written with 0o600 (owner read/write only)
and the config directory with 0o700 on Unix systems. This prevents
other users on a shared machine from reading tokens or config.

Closes #67, closes #79
Previously the installer would skip verification with a warning if
neither sha256sum nor shasum was available. Now it exits with an
error, preventing installation of unverified binaries.

Closes #73
The APT setup command previously printed the full authentication token
to stderr when showing the config preview and manual instructions.
Tokens longer than 8 characters are now displayed as first4...last4.

Closes #80
@sonarqubecloud
Copy link

@brandonrc brandonrc merged commit 27633ea into main Mar 23, 2026
14 checks passed
@brandonrc brandonrc deleted the fix/security-critical-audit branch March 23, 2026 20:37
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