Feat/web dashboard#33
Merged
Merged
Conversation
Migrate web backend from dead Flask stubs to FastAPI. Sessions are read
from disk (config.output_dir/session_<id>.json), the same artifacts the
CLI replay command consumes — no in-memory store to drift.
- /api/sessions: list session summaries, newest first
- /api/sessions/{id}: full session JSON
- /api/sessions/{id}/report: markdown report resolved via kb path,
404 for dry-run sessions without a report (traversal-guarded)
- deps: fastapi, uvicorn
- 8 TestClient tests (CI now covers web, unlike old Flask)
Single-file dashboard served at /. No build step, no React — htmx and alpinejs from CDN. - session table (id, target, state badge, findings, created), newest first - click a row: fetch markdown report + open SSE stream for live phases - New scan button points to the CLI (scans run server-side via cyberai scan) - dark GitHub-style theme, dry-run sessions show a no-report placeholder
Synthesized reflection for days 22-28: OOB exploitation, nuclei engine, Web3 agent, MCP server, LLM-as-Judge, BB scope import, web dashboard. Cross-cutting themes: contract-vs-reality verification, flag-gated novelty, graceful degradation, standalone-vs-pipeline architecture. Process lessons captured (anchors after ruff format, smoke hits happy-path, dead web code).
Week 4 complete: OOB + Web3 + MCP + judge + scope import + dashboard. CHANGELOG section for 0.5.0 summarizes days 22-28.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.