Security context

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

nftstorage/nft.storage
main @ 66f60de
10
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
packages/api/src/utils/auth.js: most-fixed (2 issues). Treat as high-risk during review.
8 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: Incomplete validation of authentication artifacts (such as missing soft-delete checks or signature verification failures) allows invalid or blocked API keys to perform authorized uploads.
Auth Bypass: Database queries failing to filter out logically deleted entities (such as user tags or auth keys) can result in unauthorized API access using revoked credentials.
Auth Bypass: Reference to an undefined global variable instead of configured secrets allows authentication mechanisms to be trivially bypassed or broken.