Skip to content

How downloads and updates are checked

How the desktop app verifies every agent it downloads, and what is checked when an agent updates itself.

Two things reach your computer from outside: the starter images new agents begin from, and the updates each agent installs later. They are checked in different ways.

  • Starter images and the desktop app are built and signed by deputyOS. The app checks the signature before it uses anything.
  • Platform updates (a newer OpenClaw, Hermes Agent and so on) come from each project’s own package registry and are installed by its own package manager inside the agent.

Starter images

The list of starter images (the catalog) is signed with minisign, a small Ed25519 signing tool. The signature covers every image’s name, size and SHA-256 checksum, and each image also carries its own signature. A published image is never overwritten: a rebuild gets a new file name.

The public key the app trusts is built into the desktop app. A release build without a built-in key refuses to verify anything.

When you create an agent, the app:

  1. downloads the catalog and its signature;
  2. checks the signature with the built-in key, and stops if it doesn’t match;
  3. refuses a catalog in a format it doesn’t know;
  4. picks the image for this computer and the platform you chose, and downloads it;
  5. compares the image’s SHA-256 checksum with the catalog, and stops if it doesn’t match;
  6. checks the image’s own signature, and stops if it doesn’t match.

Only then is the image used. Once an agent exists its disk is never replaced, so this happens once per platform download. Later agents of the same platform start from the copy already verified on your computer.

Platform updates

Each agent keeps its platform up to date in place (see Updates):

  • deputyOS asks the platform’s registry (registry.npmjs.org, pypi.org) for the newest version over HTTPS and records it.
  • The platform’s own package manager installs that exact version inside the agent. The registry’s own integrity checks apply.
  • If the new version doesn’t start, the previous one is put back.

So the trust for a platform update rests with the project that publishes it and its registry. To review versions before they reach an agent, set its updates to Ask me first and choose Update now yourself.

The agent’s operating system (Debian) installs its own security updates, verified by Debian’s package signatures as usual.

Plugins are stricter: deputyOS installs only versions it has tested, with every download checked against a checksum that ships with deputyOS.

What this protects against

If…Then…
Someone alters the catalog on its way to youThe signature check fails and nothing is used.
Someone alters an imageThe checksum and the image’s signature fail.
A download is corruptedThe checksum fails.
An older catalog is servedIt is still genuinely signed; the worst case is an older starter image, which updates its platform in place.
A platform project publishes a bad releaseNot covered by deputyOS’s signature. Backups, the automatic roll-back and Ask me first limit the damage.

Search the docs

The search index isn't built yet. Run npm run build to generate it (Pagefind writes to dist/pagefind/).