Security

How to report a problem, what the registry checks, and what a removal does on a node.

Reporting a problem

If you find a security problem in an ember, in this registry or in its tooling, please report it privately through the repository's Security tab: Report a vulnerability. Please don't open a public issue for it. A problem in Hearthloom itself goes to the Hearthloom repository's Security tab.

What the registry checks

  • Each release is signed by its publisher's own key, over the package's hash, name, version, protocol and the access it asks for.
  • Automated checks read every new package without running it: a safe archive, a manifest that matches the signed release, the access it asks for, and the full text of its recipes and skills, refusing invisible and direction-changing characters.
  • A person reads the result and approves that exact version with the registry's approval key, which never leaves the maintainer's machine.
  • The registry's keys are listed in a file signed by an offline root key, and a snapshot of every file nodes read is signed every day, so a node can tell a stale or altered copy.

What a removal does

Withdrawn (yanked)
Nodes don't install it or update to it. A copy already installed keeps running, and its owner is told.
Blocked
As withdrawn, and an installed copy is switched off, its key revoked, and anything it brought (recipes, skills) stops reaching agents. Its data is kept. On a self-hosted node the owner may switch it back on explicitly; a hosted node doesn't allow that.

Removals are published in a signed list that nodes with this registry configured read at install and update, when their owner checks, and about once a day. Older nodes don't read the list. Every removal and its reason is on the removals page.