BackupZit

Security

A backup system is the last line of defense, so it must not become the weakest point. Here is how BackupZit is built, tested and released — and how to tell us about a problem.

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

How releases are protected

How BackupZit is tested

On every change (GitHub Actions)

CheckWhat it finds
CIgo 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 detectorThe whole test suite again with -race: data races between backups, schedules and web requests
FuzzingEvery 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
CodeQLInjection, path traversal, unsafe redirects and other data-flow bugs (Go, JavaScript, workflows)
govulncheckKnown vulnerabilities in Go and in the dependencies the code actually calls
staticcheck (Linux, Windows, macOS)Bugs and dead code
DependabotVulnerable or outdated Go modules and actions
Secret scanningCredentials committed by mistake (with push protection)
OpenSSF ScorecardSupply-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)

CheckWhat it finds
SemgrepInjection, XSS, insecure cookies, open redirects (Go, JavaScript, secrets, OWASP Top 10 rules)
TrivyVulnerable dependencies, secrets and misconfigurations
GitleaksSecrets in the whole git history
OWASP ZAPFull scan signed in as an administrator: XSS, SQL injection, CSRF, path traversal, header problems
Role probesA 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 imageTrivy 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 nmapNetwork-level vulnerabilities, open ports and TLS settings of the appliance; run when the network side of the appliance changes
End-to-end QABackups 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.