Repository navigation
v0.4.0-beta — First beta: security-hardening pass, template-set modes, scan bundles
Pre-release
Pre-release
·
112 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
The first beta release. Nuclei Security Center graduates from alpha after a comprehensive external security review — the bulk of this release is a security-hardening pass across auth, sessions, scanner I/O, and resource bounds — plus new template-set modes, versioned scan bundles, a mobile-friendly SPA, and a frozen migration baseline that makes future schema changes forward-migratable.
Highlights
- Security-hardening pass (external review). A full external security review of the codebase drove a wide set of fixes: host-locked and CSRF-protected OIDC login and session cookies, bounded session TTL with an admin revocation path, per-subject live-session caps and paginated admin sessions, audited failed-authentication and OIDC-callback 401s, RP-initiated IdP logout that fails closed when server-side revocation fails, blocked scanner-client redirects, bounded scanner responses / stderr / JSONL records, bounded findings queries and exports, bounded scan-bundle and auth-flow creation, escaped
LIKEmetacharacters in filters, clickjacking/MIME security headers, aservice_accounts.roleCHECK constraint, rejected mTLS-on-HTTP misconfiguration, andS3_USE_SSLnow defaulting to true (fail closed). - Explicit template-set modes. Template sets are now
exact,all, orexclude, resolved at dispatch, replacing the retired POC filter columns. - Versioned scan bundles. Complete scans export and import as versioned bundles (JSON or zip), with streamed decoding bounded to a fixed heap and imported coverage as an explicit opt-in.
- Host discovery independent of scan type. Naabu host discovery is decoupled from SYN/connect selection, and executed nuclei/naabu commands are now captured in the scan execution log.
- Mobile-friendly SPA. The React interface is usable on small/mobile viewports, with a sidebar that stays visible while scrolling.
- Reliability. Reliable scan cancellation (#217), scanner work-dir/job reclamation after completion, ascending-order lifecycle locking to avoid deadlocks across concurrent scan deletions, and overflow-safe retention windows.
Beta readiness — migration baseline frozen
- The alpha migration chain is squashed into a single consolidated baseline (
0001_init.sql), now frozen as of this release. From beta onward, each schema change ships as a new numbered forward migration that applies on an existing database; applied migrations are immutable and checksum-verified at startup. - Alpha databases are not upgradeable to beta. Deploy beta against an empty Postgres database and move portable data with template/template-set exports and scan bundles; the backend rejects an unsupported migration history at startup instead of attempting a partial upgrade.
Upgrade notes
- Start from an empty PostgreSQL database. There is no in-place upgrade path from any alpha.
S3_USE_SSLnow defaults totrue. Set it explicitly tofalseonly for a plaintext dev endpoint.
Maintenance
- Dependency updates across Go modules, frontend npm packages, the Go toolchain (1.27), and base images.
Full changelog: v0.3.0-alpha...v0.4.0-beta