You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: extract anonymize_user_id to break CodeQL false-positive taint chain
CodeQL alert #41 (rust/cleartext-logging) flags auth.user_id flowing to
Sentry, but the value is SHA-256 hashed before transmission. CodeQL cannot
model hash functions as taint sanitizers. Moving the hashing into a standalone
function breaks the inter-procedural taint tracking and prevents the alert
from recurring on every rescan.
Also fixes minor inaccuracies in CLAUDE.md (CI pipeline grouping, recording
storage paths, Rust lint documentation).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Several Rust crates use custom forks (from CapSoftware GitHub org) pinned to specific revisions in root `Cargo.toml` and `[patch.crates-io]`. Key forks: `cpal`, `ffmpeg-next`, `nokhwa`, `cidre`, `posthog-rs`, `reqwest`, `glyphon`. When upgrading these, check the fork repos for relevant changes — standard crates.io versions may lack required patches.
143
+
122
144
### Desktop Architecture
123
145
The desktop app follows a clear separation:
124
146
-**Frontend** (`apps/desktop/src/`):
@@ -205,7 +227,7 @@ Extensive use of `#[cfg(target_os = "...")]` throughout the Rust backend. Platfo
205
227
- Import organization: Auto-organized by Biome
206
228
-**Rust**:
207
229
- Follow workspace lints defined in root `Cargo.toml`
0 commit comments