Skip to content

Security: CLI app registry is an unsigned code-install supply chain #4885

Description

@hamb1y

Supply-chain security issue

The CLI Apps feature downloads remote registries from hkuds.github.io, then uses registry-controlled package names and install metadata to run pip/npm/uv/brew installation commands.

Relevant code:

  • nanobot/apps/cli/service.py:26-33
  • nanobot/apps/cli/service.py:809-864
  • nanobot/apps/cli/service.py:1060

Impact

A compromised registry, GitHub account, CDN, or package can cause arbitrary code execution when a user installs or updates a CLI app. Registry metadata is not signed and package versions are not hash-pinned.

Suggested fix

Require explicit confirmation showing the exact package and command, pin versions/hashes, verify signed registry metadata, and make updates opt-in rather than silently trusting refreshed catalog data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions