Security context

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

microsoft/playwright
main @ 51fa5ba
26
Fixes
1
CVEs
HIGH
Peak severity
37.5%
Coverage
Highlights
Path Traversal: 3 prior fixes. Scrutinize any change in this area.
packages/playwright-core/src/server/cookieStore.ts: most-fixed (3 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.

Arbitrary File Read: Playwright can be induced to disclose arbitrary server-side files if client and server are not properly collocated and local upload paths are accepted without verification.
Path Traversal: Files originating from web or LLM sources can resolve outside restricted workspace boundaries if path canonicalization checks are absent.
Credential Leakage: Authentication credentials and authorization headers can leak to untrusted third-party domains if destination origins are not strictly validated prior to dispatch.