gstack/browse/src
Jah-yee 39702a90ae fix: path traversal security vulnerability in screenshot/pdf/eval commands
- Add validateOutputPath() to ensure screenshot, pdf, and responsive
  commands only write to /tmp or current working directory
- Add validateReadPath() to prevent eval command from reading
  files outside allowed directories or using path traversal (..)
- Validates both absolute paths and relative paths with .. sequences

Security impact: Prevents arbitrary file write (screenshot/pdf) and
arbitrary file read (eval) attacks via path traversal.

Fixes: #13
2026-03-13 08:19:23 +08:00
..
browser-manager.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00
buffers.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00
cli.ts fix: harden browse install and lifecycle checks (#4) 2026-03-12 07:35:20 -07:00
meta-commands.ts fix: path traversal security vulnerability in screenshot/pdf/eval commands 2026-03-13 08:19:23 +08:00
read-commands.ts fix: path traversal security vulnerability in screenshot/pdf/eval commands 2026-03-13 08:19:23 +08:00
server.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00
snapshot.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00
write-commands.ts Initial release — gstack v0.0.1 2026-03-12 01:32:16 -07:00