Security context

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

Pocket/content-monorepo
main @ 0ade598
3
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
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.