Skip to content

DiffLens v1.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:13

Security hardening release. All 10 secondary findings from the v1.0.0 code review are fixed; no new features, no behavior regressions (282 Rust + 52 frontend tests green).

Hardening highlights

  • API key off the command line — llama-server now receives the loopback session key via the LLAMA_API_KEY environment variable (verified against the pinned llama.cpp b12503 binary); never visible in the process table.
  • Stricter loopback guard — only literal 127.0.0.1 / [::1] accepted; DNS names rejected.
  • Bounded retries & streams — HTTP 416 resume attempt capped; streaming explanation text capped at 256 KiB.
  • Memory & lock hygiene — diff job map pruned (max 50, running jobs never evicted); sidecar spawn no longer holds the status lock; lock poisoning returns errors instead of panicking; pipeline runs via spawn_blocking.
  • Temp file hygiene — OCR rasterizations written owner-only (0600) and deleted on drop.
  • Stronger key entropy — session keys from OS randomness (getrandom).
  • CI supply chain — all GitHub Actions pinned by commit SHA; documented redirect policy (auth stripped on redirects by ureq; downloads verify SHA-256 before rename).

Downloads

Platform File
macOS (Apple Silicon) DiffLens_1.0.1_aarch64.dmg
Windows DiffLens_1.0.1_x64-setup.exe / .msi
Linux .AppImage / .deb / .rpm

Unsigned installers: macOS right-click → Open (first launch); Windows SmartScreen → More info → Run anyway. Verify integrity with checksums.txt (SHA-256 below).

DiffLens processes documents 100% locally — no accounts, no telemetry, no cloud. AI explanations run on your machine via an optional llama.cpp sidecar you install from inside the app.

SHA-256

3432fa0e4b24c01ab8725f00201c2efb52ebd7eea1111ffe06d5dc79b20dab75  DiffLens-1.0.1-1.x86_64.rpm
b420fddab9da6093a5283f4431e42c458ca69a78aab11c4287b54e8f68bf90e6  DiffLens_1.0.1_aarch64.dmg
4a3ceaed0f0fe43669c2c00352723e208645f6a2868254c160ca2d311af40981  DiffLens_1.0.1_amd64.AppImage
80c327d2d23dbf589da5c97171a48e1bcd4eac9e363827261cc0e8be9f2b039b  DiffLens_1.0.1_amd64.deb
c274a74f078ae74ec22f701ed2c986f97a53bc5ede07f63c7c9f104eb850989c  DiffLens_1.0.1_x64-setup.exe
153e1f229f64508ef0f47b4061aa284e6932a3f0a63e54fbb874613b2eb7aab1  DiffLens_1.0.1_x64_en-US.msi
5f35b32a50d76d7ff501e544d3891e0df65912ef9d6c3ee66f4f11d024709aa0  DiffLens_aarch64.app.tar.gz

Full changelog: v1.0.0...v1.0.1 — P1 + P2 hardening from the public code review (report).