Skip to content

Fix security and correctness issues in SecureHUB - #2

Merged
kimiko88 merged 10 commits into
mainfrom
fix/security-audit-and-bugfixes
Nov 12, 2026
Merged

kimiko88 merged 10 commits into
mainfrom
fix/security-audit-and-bugfixes

Conversation

@kimiko88

@kimiko88 kimiko88 commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Restrict GitHub Actions permissions to read-only by default; grant contents: write only to the release job.
  • Prevent signed overflow in Go and Rust random-access seek operations.
  • Validate FUSE read/write offsets, avoid buffer panics, and serialize buffered reads/flushes against concurrent writes.
  • Validate HTTP methods and byte ranges in the Rust localhost streaming server; reject unsupported/malformed ranges and handle HEAD without a response body.
  • During Go password rotation, verify the unwrapped key matches the active in-memory key and clear temporary key material.
  • In both ECC implementations, distinguish a genuinely missing file/sidecar from permission and I/O failures so repair never treats an unreadable file as empty and overwrites it.

Validation

GitHub Actions is running the repository's configured Go/Rust test and benchmark workflow. The PR remains a draft and main is untouched.

@kimiko88 kimiko88 self-assigned this Nov 12, 2026
@kimiko88
kimiko88 marked this pull request as ready for review November 12, 2026 14:05
@kimiko88
kimiko88 merged commit f24760f into main Nov 12, 2026
9 checks passed
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