One person maintains kumaOS, and it's still young.
Please don't open a public issue for a security problem. Report it privately on GitHub: Report a vulnerability.
Include:
- What
kuma --versionsays - How to make the problem happen
- What someone could do with it
- Your
kuma.toml, if it matters. Remove password hashes and anything else that's private.
You should hear back within days, but we can't promise how long it will take. We don't pay for reports.
We only fix security problems in the newest version. The fix comes in a new release. You can read about problems we've fixed in our security advisories.
Please report problems with kuma, the images we publish, or what kuma does on your computer. If the problem is in another project, such as Fedora, the Linux kernel or an app, report it to them. If you're not sure, report it to us.
To get security fixes from Fedora, run kuma update --yes and restart.
For fixes to kumaOS itself, run kuma upgrade --yes and restart.
Using kumaOS explains the difference.
You can check that a file came from our release process. You'll need
cosign.
The .sha256 file doesn't prove that on its own. Someone who could
replace a download could replace that file too.
Each download has a .bundle file with its signature. Download both into
the same folder, then run the command in that folder.
To check the installer:
$ cosign verify-blob \
--bundle kuma-x86_64.iso.bundle \
--certificate-identity-regexp '^https://github.com/Letdown2491/kumaOS/\.github/workflows/release\.yml@refs/tags/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
kuma-x86_64.isoTo check kuma:
$ cosign verify-blob \
--bundle kuma-x86_64-unknown-linux-musl.bundle \
--certificate-identity-regexp '^https://github.com/Letdown2491/kumaOS/\.github/workflows/release\.yml@refs/tags/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
kuma-x86_64-unknown-linux-muslTo check another program, change both filenames. Verified OK means the
file came from one of our tagged releases. To check for one exact
version, use the command in that version's release notes. If the check
fails, don't use the file.
Our system images are signed with a different key. Its public half is
cosign.pub. To check the niri image, download that file
and run:
$ cosign verify --key cosign.pub ghcr.io/letdown2491/kuma:niriEvery kumaOS system has that public key. With its standard settings,
it only installs an image from ghcr.io/letdown2491/kuma if it's signed
with our key. kuma doctor makes sure this check is set up.
Your own signature settings can replace ours. Podman can use
~/.config/containers/policy.json instead of
/etc/containers/policy.json. If your file doesn't ask for our
signature, kuma upgrade might not check it when it adds your setup to a
new version. kuma doctor warns you and says how to fix it. Root can
have its own file too. To check that one, run sudo kuma doctor.
If you use kuma to install kumaOS from another Linux system, that
system's signature settings are used, and they may not check for our
signature. To check the image first, use the cosign command above.
This doesn't check images from anywhere else, including Fedora's. It also doesn't check images you build, because kuma doesn't sign them.
Before we publish an image, we check its signature with that same public key.
When you use kumaOS, you trust the people who make and publish its
software. Some of it is always included. The rest depends on your
kuma.toml.
- Fedora provides most of the system. Package signatures are checked.
- kumaOS provides
kuma, the Nostr programs, and the settings and scripts in the image. - ngit is included in kuma, so it doesn't need to be downloaded when you build.
- htree is downloaded from its GitHub releases when you build. We set which version to use. The build stops if the file's checksum isn't what we expect.
- RPM Fusion provides a graphics package that helps play some kinds of video. Every package from it is checked with RPM Fusion's signing key. We get that key from a Fedora package, which is checked with Fedora's own key.
- Cisco, through Fedora's
fedora-cisco-openh264repository, can provide a video package. - kumaUI provides the niri desktop. We set which version to use. Our release process builds it from source. If you build an image, kuma checks that your kumaUI programs say they're the right version. That doesn't prove who made them.
- Zen Browser is on live installers that have a desktop. It comes from its GitHub releases, with a set version and checksum. If Zen is in your installed system, it comes from Flathub instead.
kuma also includes its own emoji font. Images without a desktop don't use anything in this list.
| Setting | What you're trusting |
|---|---|
packages.rpm |
Fedora, or the package sources in your own base |
packages.flatpak |
Flathub, and whoever makes each app |
packages.brew |
Homebrew, and whoever makes each tool. Homebrew is downloaded over HTTPS when the computer first starts, without checking a signature. The first account (user ID 1000) owns Homebrew's files and can change its tools, so anyone else who uses them is trusting that account. Terminals run Homebrew when they open, except as root. |
system.base |
whoever publishes that image. Its signature isn't checked unless you've set that up. kuma.lock makes later builds use the same image. |
system.ca_certificates |
whoever runs that certificate authority. They could make your computer trust fake versions of secure websites. |
nostr.relays |
whoever runs those relays. They can't read requests, but they can see some other details. |
Settings in services.enable can only turn on services that are already
in the image.
kuma checks the names in kuma.toml before it uses them in commands.
This stops a package name from being used to run something else. You
should still read someone else's kuma.toml before you use it. It can
add software and accounts to your computer.
Anyone who can read an image can read the kuma.toml it was built
from, even the comments. If that file has a password hash, they can try
to crack it. Never share an image with a password hash in it.
Also remove usernames, server addresses, and anything else that's private. Public SSH keys aren't secret, but the people with the matching private keys could sign in to computers that use your image. Building your own image has a checklist.
With autologin, anyone who can turn on the computer can use that
account. Don't use it on a laptop you carry with you.
SSH is on, but the firewall blocks it from most networks. How kumaOS works explains the one exception.
Building an image uses Podman without root. If a system setting would
stop kuma from building its base, it uses sudo to turn that off, then
turns it back on when it's done.
These commands can use sudo or need to be run with it:
| Command | Why |
|---|---|
switch, update, upgrade, rollback |
to check or change which system starts next |
install |
to erase and set up a disk |
sync |
to start the services that update your apps |
backup |
to use the backup password and files |
snapshot |
to restore files you don't own |
hibernate |
to set up space on the disk and change startup options |
keymap apply |
to change the keyboard layout for the whole system |
vm, iso |
to make a disk or installer. iso --live doesn't need it. |
clean |
to remove images that belong to root |
doctor |
to check parts of the system that only root can read |
Services that install apps, set up accounts and make backups also run as root. The Nostr signer runs as you.
This is about the key we use to sign system images. GitHub stores the private half. The files on our releases page use a different kind of signature, which doesn't need a private key we have to keep.
- If we lose the key, you can still use and check the images we've already published. We can't sign new ones with it. You'd have to choose to trust a new key on each of your computers, because they'd refuse an image signed only with that key.
- If we replace the key before anything goes wrong, we can sign an update with both keys. That update can add the new key for you.
- If someone steals the key, they could sign a fake image, so an update can't safely replace the key. You'd have to choose to trust the new key on each computer.
Our compatibility promises explain what can change in a release. Nostr explains how your own Nostr key is stored.
- Identical builds: building the same
kuma.tomltwice can give you slightly different images. - A full parts list: we don't publish an SBOM (a software bill of
materials).
kuma.locklists package versions, but it isn't an SBOM.