Bug Summary
Hackbrowser is unstable in visible (non-headless) mode. The Chromium browser closes prematurely after capturing only ~8-10 requests, and the agent continues running unaware that the browser has died. Crawling coverage is severely limited as a result.
Symptoms
1. Browser dies prematurely
- In visible mode (not headless), the browser closes after capturing only ~8-10 HTTP requests
- Drag-and-drop interactions or window manipulation can cause immediate crash
- The crawling phase barely starts before the browser exits
2. Agent doesn't detect browser death
- After the browser closes, the agent keeps running as if it's still alive
- No health check or heartbeat mechanism to detect that the browser process is gone
- Agent continues issuing commands to a dead browser — wasting tokens and time
3. Crawling is insufficient
- Only ~8-10 requests captured before browser dies
- Modern SPAs need hundreds of requests to map the full attack surface
- No retry or recovery mechanism when crawling is interrupted
4. Usability friction
- The credential input → Start Scanning → overlay flow is clunky
- Overall hackbrowser UX needs stabilization and simplification
Expected Behavior
- Browser should remain stable throughout the full crawling phase (minutes, not seconds)
- If the browser process dies, the agent should detect it immediately and either:
- Auto-restart the browser and resume crawling, OR
- Report the failure cleanly and stop
- Crawling should capture the full application surface (all routes, forms, API calls) before stopping
- Window interactions (drag, resize, minimize) should not crash the browser
Steps to Reproduce
- Start a web pentest session with hackbrowser in visible mode
- Enter credentials in the overlay
- Click "Start Scanning"
- Observe: crawling starts, captures ~8-10 requests
- Browser window closes unexpectedly
- Agent continues running, unaware browser is dead
Affected Components
packages/hackbrowser/ — browser lifecycle management
packages/cyberstrike/src/tool/hackbrowser.ts — agent-side browser control
- Browser process health monitoring (missing)
- Crawling depth/coverage logic
Priority
High — hackbrowser is the primary recon tool for web pentesting. If it can't reliably crawl a target, the entire vuln testing pipeline receives incomplete data.
Bug Summary
Hackbrowser is unstable in visible (non-headless) mode. The Chromium browser closes prematurely after capturing only ~8-10 requests, and the agent continues running unaware that the browser has died. Crawling coverage is severely limited as a result.
Symptoms
1. Browser dies prematurely
2. Agent doesn't detect browser death
3. Crawling is insufficient
4. Usability friction
Expected Behavior
Steps to Reproduce
Affected Components
packages/hackbrowser/— browser lifecycle managementpackages/cyberstrike/src/tool/hackbrowser.ts— agent-side browser controlPriority
High — hackbrowser is the primary recon tool for web pentesting. If it can't reliably crawl a target, the entire vuln testing pipeline receives incomplete data.