feat: add mission execute-next command connecting planner to executor
Njap-png
92f6678
feat: add recon analysis, learning, intelligence, and planner modules
Njap-png
30c00c4
- lib/recon-analysis.mjs: normalize persisted recon results into structured observations (subdomain, dns_record, http_service, tls_certificate, technology, security_metadata)
- lib/recon-learning.mjs: append-only learning storage (.config/phantom/learning/recon.jsonl) with secret filtering
- lib/recon-intelligence.mjs: read-only intelligence layer (observation/tech/http/dns/security summaries, learned summary, passive recommendations)
- lib/recon-planner.mjs: deterministic passive next-action planner with scope guard, dedup, learning-influenced ranking
- lib/tools.mjs: added recon_analyze, recon_intelligence, mission_next CLI tools
- lib/recon.mjs: auto-generates learning on mission completion
- lib/mission.mjs: enhanced isInScope with exclusion handling
- test/core.test.mjs: 188 tests covering all new modules and integrations
All 188 tests pass, build succeeds.
fix: Bugcrowd API endpoint + HTML response handling
Njap-png
bfade51
- Updated base URL to https://bugcrowd.com/h/api/v1 (correct portal endpoint)
- Added content-type checking to detect HTML responses vs JSON
- Clear error message when API returns HTML (OAuth2/Okta auth required)
- All 113 tests pass, build succeeds
feat: Bugcrowd + unified bugbounty tool
Njap-png
a3191f1
- Added @bugcrowd tool with 7 commands: programs, scope, submissions, submission, me, test, help
- Added @bugbounty unified tool supporting hackerone|h1 and bugcrowd|bc platforms
- Config template updated with BUGCROWD_API_TOKEN and BUGCROWD_API_USERNAME placeholders
- Natural language parsing now detects 'bugcrowd', 'bugbounty' keywords
- Help text updated with Bugcrowd commands
- All 113 tests pass, build succeeds
fix: self_evolve path hardcoded to /root/Phantom
Njap-png
24a1e8a
- Changed PHANTOM_DIR from hardcoded ~/Phantom to dynamic resolve(import.meta.dirname, '..')
- Fixed git_push and self_evolve_primary cwd to use project root
- self_evolve now runs without module not found errors
- All 113 tests pass, build succeeds
feat: USB config portability + deep merge + HackerOne config fix
Njap-png
f374885
- Config now loads from project root (config.json) first, then ~/.config/phantom/config.json
- Deep merge preserves nested objects (agents, ui, providers) instead of shallow spread
- HackerOne tool updated to use same dual-location deep merge pattern
- All config writes now target user config (~/.config/phantom/config.json)
- Fixes USB OTG portability for Phantom development
feat: add more monitoring metrics to /api/system and dashboard
Njap-png
5c19491
- Added network interfaces (/proc/net/dev) to /api/system
- Added disk I/O stats (/proc/diskstats) to /api/system
- Added uptime, platform, node version, PID to /api/system
- Updated dashboard System Health card to display:
- Platform, Version, Network interfaces count
- Disk I/O devices count, Raw uptime
- Platform, Version, PID (duplicate for visibility)
- All fields gracefully handle missing data with '—'
feat: add mission detail view to dashboard
Njap-png
eb5ae16
- Click any mission in Monitor tab to open side panel with full details
- Shows: program info, scope (in-scope/exclusions/restrictions), objectives, activity log
- Includes ▶ Run Recon button to start mission_recon directly
- Added /api/missions/:id endpoint for single mission detail
- Side panel slides in from right with close button
feat: add scheduled scan persistence
Njap-png
8e12a33
- Schedules now persisted to ~/.config/phantom/schedules.json
- Survives process restarts (tested: schedule persisted across dashboard restarts)
- Schedules loaded from disk on startup
- Timer objects excluded from persistence (recreated on load)
feat: add WebSocket real-time updates to dashboard
fix: remove duplicate nlResult declaration, remove broken test file
Njap-png
803c574
feat: enhanced dashboard with monitoring tab
Njap-png
4f82a84
- Added monitoring API endpoints: /api/missions, /api/schedules, /api/tasks, /api/health (enhanced), /api/system
- Added Monitor tab (📊) to dashboard with:
- System Health card (uptime, memory, CPU, disk, USB mount)
- Active Missions card (searchable, filterable by status)
- Active Schedules card (next run times)
- All Tasks card (searchable 164 tools by name/category, click-to-run)
- WebSocket support for real-time updates
- Auto-refresh intervals for health/schedules/missions/tasks
- Dashboard now auto-adjusts to any port via PHANTOM_PORT env var
- Relative API paths work on any device/port
Sync from internal Phantom clone: USB config support, HackerOne fixes, test path fixes