gstack/browse/test
oliursahin 70e8056c8f Fix path traversal in screenshot/pdf/eval commands
screenshot, pdf, and responsive accepted arbitrary output paths,
allowing writes to any location on disk. eval read arbitrary files
without restriction. Add path validation:

- Output paths (screenshot/pdf/responsive): restricted to /tmp or cwd
- Input paths (eval): restricted to cwd only
- Rejects traversal via .. after path resolution

Closes #13

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 00:04:54 +05:30
..
fixtures Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00
commands.test.ts fix: harden browse install and lifecycle checks (#4) 2026-03-12 07:35:20 -07:00
path-validation.test.ts Fix path traversal in screenshot/pdf/eval commands 2026-03-13 00:04:54 +05:30
snapshot.test.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00
test-server.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00