Report a vulnerability
Please report security problems privately, not in a public issue: open the Security tab of the repository and click Report a vulnerability, with the affected version and how to reproduce it. We confirm reports within a few working days, fix confirmed problems in a new release and credit the reporter in the release notes unless they prefer otherwise.
Security fixes are released for the newest version; published advisories are listed under Security advisories on GitHub. Machine-readable contact: security.txt.
How BackupZit protects your data
Backups
AES-256-GCM encryption, keys sealed with a recovery key (Argon2id), every chunk verified by its SHA-256 hash on restore. Immutable storage with S3 Object Lock or the hardened repository; ransomware detection and automatic restore tests.
Console
HttpOnly, SameSite=Strict session cookies, CSRF and clickjacking protection, a strict Content-Security-Policy, rate limits on sign-in, two-factor sign-in, roles, optional four-eyes approval and a hash-chained audit log that can be sent to a syslog server or SIEM.
Agents
Agents connect out to the console — no open ports on protected machines — and pin the console's certificate when they enroll. Each agent has its own secret; secrets on the console are stored encrypted. When the console installs an agent over SSH or WinRM, it shows the machine's host key or certificate fingerprint before it sends a password.
Your network only
No cloud service, no telemetry, no account with us. Update checks fetch signed releases from GitHub; consoles without internet access are updated by uploading the release files.
What to know when you set it up
- The console controls the agents. Whoever controls the console — an administrator account or the console server itself — can run backups, restores that overwrite files and the commands of jobs as root or SYSTEM on every agent. Protect it accordingly: two-factor sign-in, four-eyes approval, web access only from the administrators' network, and a patched console server not shared with other services.
- Machines on one storage target share it. Agents that back up to the same target use its credentials and recovery key, so root or SYSTEM on one of them can read the other machines' backups there and, without immutable storage, delete them. Use immutable storage (the hardened repository or S3 Object Lock), and separate targets with their own account and key for machines that must not trust each other.
- A suspicious backup pauses more than retention. When a backup looks like ransomware or mass deletion, the job removes no older backups, copy jobs and replication after it do not start, and copy jobs remove no older copies until someone has checked the machine.
How releases are protected
- Every release is signed with the BackupZit Ed25519 release key; consoles and agents verify the signature and checksums before installing an update. Agents install only an agent installer named in the signed list and never go back to an older version.
- The images and release files come with signed checksums (
SHA256SUMS.sig,release-files.sha256.sig); the download page shows how to check them. - The install script verifies the signature and checksum of the release it downloads.
- Packages are built from tagged commits; images carry a written source offer (
SOURCE-CODE.txt). - A console update backs up the database first and rolls back automatically if the new version does not start.
How BackupZit is tested
On every change (GitHub Actions)
| Check | What it finds |
|---|---|
| CI | go vet and the full test suite against embedded PostgreSQL and in-process SFTP, S3 and vSphere simulators; Windows build; on macOS the agent is built and tested natively and its installer package is built and checked |
| Race detector | The whole test suite again with -race: data races between backups, schedules and web requests |
| Fuzzing | Every parser of untrusted input (repository files, VMX and VMFS metadata, update manifests, enrollment codes, SSO and MFA tokens, SAML metadata, certificates and more): crashes, memory exhaustion and checks that can be bypassed |
| gosec (Linux, Windows, macOS) | Insecure Go patterns: command execution, file permissions, weak cryptography; every accepted finding carries a written reason in the code |
| CodeQL | Injection, path traversal, unsafe redirects and other data-flow bugs (Go, JavaScript, workflows) |
| govulncheck | Known vulnerabilities in Go and in the dependencies the code actually calls |
| staticcheck (Linux, Windows, macOS) | Bugs and dead code |
| Dependabot | Vulnerable or outdated Go modules and actions |
| Secret scanning | Credentials committed by mistake (with push protection) |
| OpenSSF Scorecard | Supply-chain practices of the repository |
The release branch accepts only commits that pass the build, tests, race detector, fuzzing, gosec, staticcheck and govulncheck.
Before every release (in a test lab, on the exact release candidate)
| Check | What it finds |
|---|---|
| Semgrep | Injection, XSS, insecure cookies, open redirects (Go, JavaScript, secrets, OWASP Top 10 rules) |
| Trivy | Vulnerable dependencies, secrets and misconfigurations |
| Gitleaks | Secrets in the whole git history |
| OWASP ZAP | Full scan signed in as an administrator: XSS, SQL injection, CSRF, path traversal, header problems |
| Role probes | A crawl of every page as administrator, operator, restore operator and viewer: write and admin routes refuse roles that may not use them; forms work in every role and language |
| Appliance image | Trivy over the operating-system packages, a Lynis hardening audit, testssl.sh on the console port and Nuclei: outdated packages, weak OS settings, TLS problems, known exposures |
| OpenVAS and nmap | Network-level vulnerabilities, open ports and TLS settings of the appliance; run when the network side of the appliance changes |
| End-to-end QA | Backups and restores of every supported source to every storage type on real systems; roles, LDAP/SSO, API |
Findings are fixed before the release; accepted risks are documented in the release notes.
This website
backupzit.com is a static site: only a language cookie, no analytics, no trackers, no third-party scripts or fonts, and a Content-Security-Policy that allows no scripts at all. See the privacy policy.