mirror of https://github.com/garrytan/gstack.git
Add url-validation.ts that blocks file:// URLs, private/internal IPs (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16, ::1, fc00::/7), and non-HTTP schemes before any page.goto() call. Applied in all three navigation points: goto command, newTab(), and diff. Bypass with BROWSE_ALLOW_PRIVATE=1 for local development. Fixes #17 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| SKILL.md | ||