Repository navigation
v0.5.0 — Goodnight Check
·
40 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Goodnight Check v0.5.0
Goodnight Check is the new name of NSC. v0.5.0 is the first release under the new name and the first without -beta. Every v0.4.x-beta installation upgrades to it in place, with no migration script.
What changed
The new name
- The product is now Goodnight Check, or Check for short. The app, the notification mails, the exports and the documentation use the new name.
- The repository is now goodnightsec/gn-check. GitHub redirects the old URL, but clones should update their remote:
git remote set-url origin https://github.com/goodnightsec/gn-check.git. - The product page is now www.goodnightsec.com/check/. The old host redirects there.
- The images are now
ghcr.io/goodnightsec/gn-check-backendandghcr.io/goodnightsec/gn-check-scanner. Becausev0.5.0has no pre-release suffix, it is published as0.5.0,0.5,latestandsha-<short>. - The sample OIDC client in
.env.exampleand the development Keycloak realm is nowgn-check-backend, and the realm's display name is "Goodnight Check". Installations that configure their own Keycloak or OIDC client keep their client. For the bundled development Compose stack, see step 5 under How to upgrade. - Some identifiers keep the old short name
nscon purpose, because renaming them would break installations, clients or stored data: the/var/lib/nscdata directory, the Keycloak realmnsc, the*.nsc-bundle.*file names, thensc_token prefix, the session cookies, theX-NSC-Export-*headers, the export fields and the browser storage keys. The default bucket staysnuclei-raw. Nothing in an installation needs renaming. - Supported versions:
v0.5.0and newer (SECURITY.md). The beta versions get no more security fixes.
Admins can switch the upstream template source
- Admins can change the repository and ref that the template catalog is synced from, under Templates → Sync → Change source: the Stable channel (
latest, the highest stable release tag), Preview (themainbranch), or a custom ref (a tag, branch or commit). Anotherhttps://repository, such as a private mirror, works too. Credentials in the repository URL are stored but never shown. - Before saving, a dry run shows how many templates would be added, changed, restored and removed, which template sets would lose members, and the scan policies and schedules that use those sets.
- Saving checks the candidate against the fetched repository first. It refuses an unreachable repository, an unknown ref, or a catalog whose template IDs would shadow a custom template. Then it starts a sync right away.
- Switching keeps template IDs, set memberships, exclusions and history. A template that returns upstream is restored. An empty repository disables upstream sync. Custom templates and the distribution to scanner nodes keep working.
- The source is stored in the database (migration
0006).TEMPLATE_SYNC_REPOandTEMPLATE_SYNC_REFonly seed it once, at the first start. After that the stored value wins, and a different environment value only logs a note. Settings → Environment configuration marks both variables as seed-only.TEMPLATE_SYNC_INTERVALandTEMPLATE_SYNC_DIRstay environment settings. See Configuration. - The sync history shows the source each run read, how many templates it restored, and where the source was switched.
- Templates that the current source no longer serves are marked unavailable in the template details and the set editor. Template sets show how many of their members are unavailable. Scans that use such a set are refused until those templates return or the selection is updated.
- API: new admin endpoints
PUT /api/templates/sync/configandPOST /api/templates/sync/preview, both audited. There are new fields onGET /api/templates/sync, on the sync runs and on template sets (unavailable_members). See the API reference.
Other changes
- If a page fails to render, the app shows an error panel for that page instead of failing as a whole. Navigating to another page clears it.
- Dependency updates, among them go-git, minio-go and go-mail. As hardening, go-git 5.19.3 keeps credentials from being sent to another host on a redirect and redacts passwords in URLs from error messages.
- SECURITY.md adds
security@goodnightsec.comas a second way to report a vulnerability privately and states the response times. Code of conduct reports go toinfo@goodnightsec.com. - Contributions are accepted under AGPL-3.0-or-later and need a DCO sign-off on every commit (Contributing).
What users notice
- The look. The app header shows the Goodnight Check lockup. The login screen and the mobile navigation show the GoodnightSec mark, which is also the new favicon. The page title, the login screen and Settings say Goodnight Check.
- Notification mails. The header bar shows the Goodnight Check lockup as an inline image, with "Goodnight Check" as alt text. The mail still loads nothing from the network. The subject now starts with
[Goodnight Check]instead of[NSC], so update any mail filters that match the old prefix. - Scan bundles. New exports carry the format marker
goodnightsec/gn-check/scan-bundle. Bundles exported from av0.4.x-betarelease still import. - What keeps working. Sessions, service-account tokens, export clients and UI settings keep working after the upgrade.
How to upgrade
From v0.4.x-beta, in place, as described in Upgrading from NSC:
- Point both services at the new images,
ghcr.io/goodnightsec/gn-check-backend:0.5.0andghcr.io/goodnightsec/gn-check-scanner:0.5.0. - Upgrade the backend and the scanner together.
- Keep the database, the bucket and the environment as they are. At its first start, the backend applies migration
0006and seeds the template source fromTEMPLATE_SYNC_REPOandTEMPLATE_SYNC_REF. After that, change the source under Templates → Sync, not in the environment. - With the Docker Compose stack from this repository, keep your Compose project name. The project is now named
gn-check, and Compose names volumes after the project. Without this step, Postgres, Garage and the template cache start with new, empty volumes.docker volume lsshows your current name as the prefix of<name>_pgdata. Before upgrading, setCOMPOSE_PROJECT_NAME=<name>in.env, which every later command picks up.docker compose -p <name>works too, but only if you pass it on every command. Alternatively, with the stack down, copy each volume (pgdata,garagemeta,garagedata,templatecache) into its newgn-check_*volume, for exampledocker run --rm -v <name>_pgdata:/from -v gn-check_pgdata:/to alpine cp -a /from/. /to/. See Deployment. - With the bundled development Compose stack, recreate Keycloak:
docker compose up -d --force-recreate keycloak. The backend there now uses the clientgn-check-backend, and the existing Keycloak container still holds the old client. Recreating it re-imports the development realm with the clientgn-check-backend, demo users included; other changes made in that development Keycloak are reset. Installations that configure their own Keycloak or OIDC client keep their client and need no change. - Update the remote of your clones to
https://github.com/goodnightsec/gn-check.git.
On a deployment with a read-only root file system, keep the system temp directory (/tmp) writable. A dry run against a different template repository clones that repository there.
After v0.5.0 has migrated the database, a v0.4.x-beta backend refuses to start on it, as with any database migrated by a newer release.
Known limitations
- Databases from the alpha versions (before
v0.4.0-beta) still can't be upgraded, as sincev0.4.0-beta. The upgrade path is fromv0.4.x-beta.v0.5.0still refuses to start on an alpha database, but it no longer has a message of its own for one: it reports unsupported migration versions. - A
v0.4.x-betarelease can't import a scan bundle exported byv0.5.0, because it doesn't know the new format marker. - Templates on the Preview channel may need a newer Nuclei engine than the one pinned in the scanner image.
- Switching to a different repository replaces the backend's clone cache, so the first sync after the switch does a full clone again.
- The scanner image bundles Nuclei 3.11.1 and naabu 2.6.1, the newest upstream releases;
v0.4.7-betashipped the same versions. Image scanners such as Trivy report known vulnerabilities in them whose fixes are not yet in a Nuclei or naabu release:- naabu, built with Go 1.24.0: one critical, CVE-2025-68121 in the Go standard library, and 45 high, in the Go standard library and in
golang.org/x/crypto,golang.org/x/net,golang.org/x/textandgithub.com/klauspost/compress. - Nuclei, built with Go 1.26.5: 25 high, in the Go standard library and in
github.com/getkin/kin-openapi,github.com/go-git/go-git/v5,google.golang.org/grpc,golang.org/x/crypto,golang.org/x/net,golang.org/x/modandgolang.org/x/text.
- naabu, built with Go 1.24.0: one critical, CVE-2025-68121 in the Go standard library, and 45 high, in the Go standard library and in
Security fixes
- golang.org/x/crypto 0.57.0 fixes CVE-2026-56855 and CVE-2026-78662, a denial of service in the SSH client. Check was affected only when
TEMPLATE_SYNC_REPOused anssh://URL. v0.5.0is built with Go 1.27.3, which fixes these vulnerabilities in the Go standard library. The build ofv0.4.7-beta, made with an earlier Go, was affected by them:- GO-2026-6603 / CVE-2026-78659: HTTP/2 server in
net/http, memory exhaustion through aTrailerheader that declares many fields. - GO-2026-6610 / CVE-2026-78660: HTTP/2 client in
net/httpaccepts responses with malformed framing headers, which a reverse proxy can pass on to HTTP/1 clients. - GO-2026-6611 / CVE-2026-78669: HTTP/2 in
net/http, excessive CPU use through many small SETTINGS frames. - GO-2026-6612 / CVE-2026-78663: HTTP/2 server in
net/http, bypass of the connection-level flow control limit. - GO-2026-6617 / CVE-2026-97032: HTTP/2 server in
net/http, crash through concurrent changes to the header table size. - GO-2026-6809 / CVE-2026-111943:
crypto/x509,Certificate.Verifyaccepts known intermediate certificates that are no longer trusted.
- GO-2026-6603 / CVE-2026-78659: HTTP/2 server in