Repository navigation
v0.34.0
Updates that finish themselves
The console can update and restart itself, pull request Agents react to GitHub straight away in server mode, and plugin reviews show which tools changed.
Highlights
- Update and restart in one click: The Update available card downloads, checks and installs the new version, then restarts and reconnects by itself. With Updates set to Automatic it installs in the background once nothing is running.
- Faster pull request Agents: In server mode, GitHub can tell 0 about a new pull request the moment it opens, so an Agent starts reviewing without waiting for the next check.
- See what changed in a plugin: Reviewing a plugin update marks each tool as Changed, New or Removed, and four unused enterprise hooks are gone.
Added
- Update and restart in the console. The Update available card now has an Update and restart button for standalone installs: 0 downloads the release, verifies its checksum, replaces the binary and restarts on the same port and database.
- A running console keeps itself current. With Updates set to Automatic it checks every six hours and installs a verified release in the background when nothing is running, then restarts after 10 idle minutes. Server mode and service-managed consoles show the card instead.
- Server mode accepts GitHub webhooks so pull request Agents react at once.
POST /api/webhooks/githubchecks a signature, accepts onlypull_requestandping, and just asks the poller to check now, so polling stays the default and every review rule is unchanged. - The per-instance webhook secret is generated on first use, stored with mode 0600, shown once, and can be rotated; the old secret keeps working for 5 minutes.
pnpm test:webhook-e2eruns a signed delivery, a replay, a bad signature and an oversize body against a throwaway server-mode console.
Changed
- Reviewing a GitHub plugin update in the web app now marks each tool as Changed, New or Removed against the installed version, using the same per-tool hashes as the install check. Approval is still for the whole plugin.
- The update card reads Update available · 0.34.0 with You have 0.33.0 and a What's new link, instead of repeating the product name. Settings → Updates (Off, Notify me, Automatic) stays the one control, with a plain description.
- Agents is now the main page address:
/agentsis the route and/sentinelsredirects to it, along with the other old addresses. - Surfaces across the console use one corner radius (
rounded-md), and a check keeps new styles from drifting. - Copies older than this release cannot be updated remotely. Run
0 doctor upgrade, or the install one-liner, once. - Internal cleanup only: shared engine types moved to neutral modules, and unreferenced helpers and benchmark tooling were deleted. The Docker publish job now refuses to push any name other than
ghcr.io/0sec-labs/0security.
Removed
- Four unused enterprise hooks that shipped in v0.30.0 are gone: audit event subscriptions for plugins, offline verification of signed licences, support for an external identity provider for team sign-in, and the named-permission policy behind team roles.
Fixed
- A page left open while the console restarts no longer reloads into the browser's error page.
Security
- The GitHub webhook is the only anonymous
/apiroute in server mode, and it is authenticated by its signature. Audit eventswebhook.received,webhook.ignoredandwebhook.rejectedrecord a reason and never the payload, secret or signature.
Install
curl -fsSL https://raw.githubusercontent.com/0sec-labs/0security/main/install.sh | bash
0 --versionWindows (experimental): download 0-windows-x64.exe below. Docker: docker run --rm ghcr.io/0sec-labs/0security:latest --help.
Verify downloads against the attached checksums.txt (SHA-256), for example sha256sum -c checksums.txt --ignore-missing.
Full changelog: https://github.com/0sec-labs/0security/blob/v0.34.0/docs/CHANGELOG.md