Skip to content

feat: server core — config, workspaces, target validation, tool detection - #15

Merged
kx7m2qd merged 1 commit into
mainfrom
feat/server-core
Sep 4, 2026
Merged

feat: server core — config, workspaces, target validation, tool detection#15
kx7m2qd merged 1 commit into
mainfrom
feat/server-core

Conversation

@kx7m2qd

@kx7m2qd kx7m2qd commented Sep 4, 2026

Copy link
Copy Markdown
Owner

What

First slice of the upgraded server architecture (slice 1 of 6):

  • config.js — centralised env-driven config (rate profiles, concurrency limits, access control)
  • db.js — new tables for workspaces, programs, web assets, evidence, exploit results, finding reviews, scope authorizations; idempotent column migrations; dedupe cleanup + unique indexes. Existing tables unchanged (verified by schema diff)
  • workspaces.js — workspace tokens that isolate each browser session's scan data
  • targets.js + tests — target normalization, private/reserved IP blocking, DNS resolution validation
  • scope.js + tests — program scope matching (exact host, wildcard, CIDR)
  • tools.js — runtime version detection for subfinder / nmap / nuclei / sqlmap
  • scanState.js, fingerprints.js, notifications.js

Why

Foundation the upgraded recon pipeline, exploit engine, and programs features build on. Modules land wired-but-unused so main stays green; routes arrive in following slices.

Verification

  • npm test — all pass (scope: 4, targets: 6)
  • npm run lint — clean
  • npm run build — clean

…ol detection

Foundation for the upgraded recon pipeline:
- config.js: centralised env config (rate profiles, scan limits, access control)
- db.js: new tables (workspaces, programs, web_assets, evidence, exploit_results,
  finding_reviews, scope_authorizations, access_sessions) + idempotent column
  migrations and dedupe/unique indexes; existing schema unchanged
- workspaces.js: per-session workspace tokens isolating scan data
- targets.js + tests: target normalization, private-range blocking, DNS resolution guard
- scope.js + tests: program scope matching (exact/wildcard/CIDR)
- tools.js: runtime detection of subfinder/nmap/nuclei/sqlmap versions
- scanState.js, fingerprints.js, notifications.js: supporting modules

No route changes yet — modules land unused so main stays green while the
pipeline slices arrive.
@kx7m2qd
kx7m2qd merged commit 0012dfb into main Sep 4, 2026
1 check passed
@kx7m2qd
kx7m2qd deleted the feat/server-core branch September 4, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant