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
{{ message }}
Repository navigation
🔒 Security: Race condition on temp SARIF upload file #70
upload_sarif_content() in src/main.rs:497-520 writes to a fixed predictable temp path cora-sarif-upload.json. Between create() and read, another process could replace the file contents (TOCTOU race).
Impact
Concurrent cora runs could read each other's SARIF data
Predictable filename in shared temp directory
Suggested Fix
Use random suffix or PID:
let tmp_path = tmp_dir.join(format!("cora-sarif-upload-{}.json", std::process::id()));
Activity
ajianaz commentedon Jun 1, 2026
Fixed in v0.1.5
perf: resolve scan/review pipeline performance bottlenecks (P2) (#338)