# SneakyScope — Roadmap (Updated 8-20-25) ## Priority 1 – Core Analysis / Stability * Opt-in “fetch external scripts” mode (off by default): on submission, download external script content (size/time limits) and run rules on fetched content. * Remove remaining legacy form “flagged\_reasons” plumbing once all equivalent function rules are in place. * Unit tests: YAML compilation, function-rule adapters, and per-script/per-form rule cases. ## Priority 2 – API Layer * API endpoints: `/screenshot`, `/source`, `/analyse`. * OpenAPI spec: create `openapi/openapi.yaml` and serve at `/api/openapi.yaml`. * Docs UI: Swagger UI or Redoc at `/docs`. ## Priority 3 – UI / UX * Front page/input handling: auto-prepend `http://`/`https://`/`www.` for bare domains. * Source code viewer: embed page source in an editor view for readability. * Scripts table: toggle between “Only suspicious” and “All scripts”. * Rules Lab (WYSIWYG tester): paste a rule, validate/compile, run against sample text; lightweight nav entry. ## Priority 4 – Artifact Management & Ops * Retention/cleanup policy for old artifacts (age/size thresholds). * Make periodic maintenance scripts for storage; cleanup options set in `settings.yaml`. * Results caching UX: add “Re-run analysis” vs. “Load from cache” controls in the results UI. ## Priority 5 – Extras / Integrations * Bulk URL analysis (batch/queue). * Alerting & integrations (webhooks, Slack, email). * Optional: analyst verdict tags and export (CSV/JSON).