Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

skyfay/skysend
main @ 92fa0df
19
Fixes
0
CVEs
HIGH
Peak severity
43.8%
Coverage
Highlights
Denial of Service: 5 prior fixes. Scrutinize any change in this area.
apps/server: most-fixed (2 issues). Treat as high-risk during review.
7 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: The application allowed unauthorized or permanent access to uploaded assets by failing to enforce server-side expiration and download limits, resolving this by mandating presigned S3 URLs. Failure to maintain strict server-side validation here completely bypasses the core sharing restrictions of the platform.
Cryptographic Weakness: A silent fallback mechanism downgraded password derivation from Argon2id to PBKDF2 when WebAssembly was unavailable, weakening the security of encrypted note content. Enforcing cryptographic invariants without silent rollbacks is critical for data confidentiality.
Denial of Service: WebSocket upload handlers did not implement backpressure control, leaving the server vulnerable to resource and memory exhaustion from uncontrolled client payloads. Introducing manual socket pause/resume states was required to prevent crashes.