You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The screenshot, pdf, responsive, and eval commands accept arbitrary file paths without validation. This allows writing files to any location the user has access to (via screenshot/pdf) and reading any file on disk (via eval).
Details
Arbitrary file write (screenshot/pdf/responsive)
browse screenshot /etc/cron.d/backdoor.png will attempt to write to that path. No validation that the output path is within a safe directory (e.g. /tmp).
Activity
garrytan commentedon Mar 19, 2026
Fixed. Path traversal protection is now in place:
validateOutputPath()restricts screenshot/pdf/responsive output to/tmpandcwd()validateReadPath()restricts eval file reads to safe directoriesresolved === dir || resolved.startsWith(dir + '/')) to prevent/tmpevilbypassescookie-importvalidates paths against traversal sequencesfix(cso): adversarial review fixes — FP filtering, prompt injection, …
fix: community security + stability fixes (wave 1) (#325)
feat: address all visualizer (garrytan#19-garrytan#21) and resolver (g…
fix: community security + stability fixes (wave 1) (garrytan#325)
fix(cso): adversarial review fixes — FP filtering, prompt injection, …
chore: bump version and changelog (v1.1.0.0)
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
fix(plan-eng-review,plan-ceo-review): narrow absolute schema-bias lan…
chore(gate): redeploy review-pr.sh from sovereign-forge 2e49a88 (garr…
test(W7c): shrink autoplan-phase-order to structural and meaning checks
test(W7c): match redact scan-at-sink exact-bytes rule case-insensitively