Safebucket sends files past its own server, and ships a default admin login
On-prem file sharing made simple, fast and safe.
At a glance
- What is it?
- An Apache-2.0 Go and React file sharing platform built around presigned URLs, with every infrastructure component behind a config key. The quick start hands you [email protected] with the password ChangeMePlease, and the Architecture heading in the README is empty.
- Who is it for?
- Safebucket fits a team that wants to self-host file transfer, keep the bytes out of the application tier, and swap storage backends without a rewrite. Read it as a 0.x project with a 0.x tag line, v0.7.5 published on 2026-09-03 after v0.7.4 and v0.7.3 in the same month, so pin a version rather than tracking a branch.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- safebucket/safebucket997 ★ · +42
| Repository | 2026-09-11 | 2026-11-25 |
|---|---|---|
| safebucket/safebucket | 955 | 997 |
42 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The Architecture heading has nothing under it
The README has a section titled Architecture and it is followed immediately by Quick Start. No diagram, no prose, no link. For a project whose central design decision, files bypassing the server through presigned URLs, is easy to state and hard to picture, that gap matters. The information exists elsewhere, just not in the place a reader looks first. `go.mod` names the storage clients the backend talks to: the AWS SDK for S3, the Azure SDK for blob storage, queues and resource management, Google Cloud Storage, and the MinIO client. It also names the event layer, Watermill with adapters for AWS, Google Cloud and NATS, plus the NATS client itself, and the search engine, Bleve. Anyone reconstructing the intended topology has to read the dependency list rather than the page that promises one.
Presigned URLs are why the server can be small
The headline feature is that files bypass the server. An upload becomes a presigned URL handed to the client, and the client talks to storage directly, so the bytes never pass through the Go process. The same holds for downloads. This is the standard object storage pattern and it is what lets the runtime container stay small, but it also decides where your data protection has to live. Whatever the storage provider enforces, bucket policy and expiry rules included, becomes your access control layer, because the application is only minting URLs. The feature list names file expiration as a platform capability, which implies the platform tracks and enforces its own expiry rather than delegating to bucket lifecycle rules. Which of the two is authoritative is not stated, and on a shared bucket that distinction decides who can still reach a file after its expiry date passes.
Five config namespaces, separated by double underscores
Infrastructure is described as swappable, with storage, database, events, cache and notifier each replaceable. The configuration format shows how that is expressed: nested keys become environment variables joined by double underscores. The quick start names four that must change for any host other than localhost, and the first one names the default storage implementation directly:
STORAGE__RUSTFS__EXTERNAL_ENDPOINT
APP__ALLOWED_ORIGINS
APP__API_URL
APP__WEB_URL`STORAGE__RUSTFS__` is storage plus a provider called RustFS plus a setting, which tells you the bundled deployment ships RustFS as its object store. Configuration is managed by Koanf with providers for environment variables, files, raw bytes and confmap, plus a YAML parser, so a deployment can be driven entirely by environment and mounted YAML. The naming convention is worth internalising, because every new backend you plug in adds its own namespace and the docs only cover the four variables above.
The quick start publishes a working admin account
Three commands stand up the local deployment:
git clone https://github.com/safebucket/safebucket.git
cd safebucket/deployments/local/lite
docker compose up -dThen the panel is at http://localhost:8080 and the credentials are given in the same breath: login `[email protected]`, password `ChangeMePlease`. Nothing in that sequence rotates them, and nothing warns you before the port is bound. The second bullet is the more useful half of the note, since it tells you the four variables above are what a host other than localhost needs, and the allowed origins variable is what the browser enforces. A file sharing platform whose security model leans on RBAC at platform and bucket level, SSO through any OIDC provider, TOTP multi-factor authentication and signed webhooks is undermined at the first step by a password printed in public. Rotate it in the same session you create the instance.
The image is UPX compressed and runs distroless as nonroot
The Dockerfile builds a frontend and a backend and ships one binary. The frontend stage uses `node:26-alpine` and copies only `web/package*.json` before `web/`, so the package manifest layer caches separately from the source. The backend stage uses `golang:1.27-bookworm`, downloads UPX version 5.1.1 for the target architecture, and builds with `CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -a -o safebucket .` before running `upx --best --lzma safebucket`. The `-a` flag forces a full rebuild of every package, which is slow by design in exchange for reproducibility. Runtime is `gcr.io/distroless/cc-debian12:nonroot`, which is the C-enabled distroless image rather than the static one, so the cgo dependency is expected, and `CMD ["./safebucket"]` runs the compressed binary directly with no shell in the image and port 8080 exposed.
go.mod asks for 1.27.1 while the builder image floats on 1.27
The module declaration reads `go 1.27.1`, a patch-level pin, while the build stage pulls `golang:1.27-bookworm`, a minor-level tag. The two do not have to agree on any given build, and the pinned number is the one that travels with the repository, so it is the one to reason about when you fork. The rest of the dependency list is where the platform surface shows. Beyond the storage and event clients there is an OIDC client, an LDAP client, a JWT library, a JOSE library, argon2id for password hashing, a TOTP library, Redis through rueidis, Goose for migrations, an ORM named in the acknowledgements as Gorm, an HTTP router in chi, a request validator, a REST client, testcontainers and sqlmock for tests, and a Pyroscope client for profiling. Authentication is therefore multi-path by construction, which is a design choice with a maintenance cost.
Images are signed keyless, and the check is one command
Every published image is signed with cosign using keyless signing through GitHub Actions OIDC, with no manual keys involved. The verification recipe is given in full:
cosign verify \
--certificate-oidc-issuer=https://token.actions.githubusercontent.com \
--certificate-identity-regexp=https://github.com/safebucket/safebucket/ \
ghcr.io/safebucket/safebucket:<tag>Replace `<tag>` with the tag you want, such as `latest` or `v1.0.0`. Keyless means there is no private key to leak or rotate, and the identity is bound to the workflow instead, which is why the identity argument is a regular expression scoped to this repository. The gap worth noticing is that the quick start does not mention the signature at all: it clones the repository and runs compose from source, so the published-image path and the local path are two different routes with different trust properties. If you pull a tag rather than build, run the verify step first. If you build from the clone you just made, the trust question is the clone itself.
Editorial conclusion
Safebucket fits a team that wants to self-host file transfer, keep the bytes out of the application tier, and swap storage backends without a rewrite. Read it as a 0.x project with a 0.x tag line, v0.7.5 published on 2026-09-03 after v0.7.4 and v0.7.3 in the same month, so pin a version rather than tracking a branch. Three things to settle before you expose it. Change the `[email protected]` account and its `ChangeMePlease` password, because the quick start publishes both and nothing in the steps forces a rotation. Set the four variables the note names, `STORAGE__RUSTFS__EXTERNAL_ENDPOINT`, `APP__ALLOWED_ORIGINS`, `APP__API_URL` and `APP__WEB_URL`, or browser requests will be refused from any host other than localhost. Then verify the image with cosign before it reaches a server, since the signing is keyless and the check costs one command. For anyone who needs the architecture diagram, note that the heading exists in the README and the diagram does not, so read `go.mod` and the Dockerfile instead.
Frequently asked questions
How does Safebucket let files bypass the server?
Uploads and downloads use presigned URLs, so the client transfers bytes directly to storage and they never pass through the application. That is the mechanism behind the project's description of itself as a file sharing platform with pluggable infrastructure.
What are the default login credentials for a local Safebucket install?
The quick start gives the login `[email protected]` and the password `ChangeMePlease` for the panel at http://localhost:8080. The steps do not rotate either value, so change them as part of the first session.
Which environment variables must change when Safebucket runs on another host?
The documentation names four: `STORAGE__RUSTFS__EXTERNAL_ENDPOINT`, `APP__ALLOWED_ORIGINS`, `APP__API_URL` and `APP__WEB_URL`. They need the host's IP or domain, otherwise the panel stays bound to localhost behaviour such as its allowed origins.
Can Safebucket use S3, Azure Blob or Google Cloud Storage?
Storage is designed to be swappable, and the module file lists clients for AWS S3, Azure blob storage, Google Cloud Storage and MinIO, while the bundled lite deployment is configured for RustFS. Which backend is active is selected through configuration keys rather than code changes.
How do I verify a Safebucket container image?
Images are signed keyless with cosign through GitHub Actions OIDC, so verification needs no private key. Run `cosign verify` against `ghcr.io/safebucket/safebucket:<tag>` with the OIDC issuer set to `https://token.actions.githubusercontent.com` and a certificate identity regexp scoped to the repository.
What authentication methods does Safebucket support?
SSO through any OIDC provider with local auth for external users, LDAP as the dependency list indicates, role-based access control at both platform and bucket level, and TOTP multifactor authentication. Audit logs and real-time activity tracking sit alongside those controls.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/safebucket-safebucket)Star history chart for your README
[](https://hysenlabs.com/projects/safebucket-safebucket)Was this useful?