Highlights
SSRF: 2 prior fixes. Scrutinize any change in this area.
servers/curated-corpus-api/src/admin/aws/upload.ts: most-fixed (1 issue). Treat as high-risk during review.
3 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.
SSRF: The getUrlMetadata resolver fetches arbitrary URLs without restricting protocols or internal hosts, enabling SSRF to internal network resources.
SSRF: The image upload flow fetches external URLs and stores responses in S3; missing Content-Type validation allowed SSRF to internal endpoints with data exfiltration.
Auth Bypass: The rejectApprovedCorpusItemsForDomain endpoint lacked authorization, allowing unauthorized data modification until the fix added full-access-group enforcement.