Files
Yorgos Saslis 3129de3b95 cli/init: Warn about Vulnerability
All released versions of Radicle are affected by vulnerabilities [1] in the
network protocol: traffic is unencrypted and peers are not authenticated.
A network observer can read the contents of private repositories, and an
attacker can impersonate a node that to fetch them. No fix has been released
yet.

Since users may rely on private repositories being confidential, `rad
init` now warns about this before the interactive "Visibility" prompt,
so the warning is printed before the choice is made. The warning is printed
again in the epilogue whenever the created repository is private. This
also covers `--private`, which skips the prompt.

Update the `rad-init-private` and `rad-init-private-no-seed` examples
to match the new output.

[1]: https://radicle.dev/2026/09/23/disclosure-of-vulnerability-in-network-protocol
2026-10-05 16:36:47 +02:00

1.7 KiB

Alice can initialize a private repo using the --private flag.

$ rad init --name heartwood --description "radicle heartwood protocol & stack" --no-confirm --private

Initializing private Radicle 👾 repository in [..]

✓ Repository heartwood created.

Your Repository ID (RID) is rad:z2ug5mwNKZB8KGpBDRTrWHAMbvHCu
You can show it any time by running `rad .` from this directory.

You have created a private repository.
This repository will only be visible to you, and to peers you explicitly allow.

! Warning: There is a severe vulnerability affecting the network protocol that Radicle uses. See https://radicle.dev/2026/09/23/disclosure-of-vulnerability-in-network-protocol for details. Only use private repositories if you understand the risks and want to take them.

To make it public, run `rad publish`.
To push changes, run `git push`.

The repository does not show up in our inventory, since it is not advertised, despite being seeded:

$ rad node inventory
$ rad seed
╭────────────────────────────────────────────────────────────────╮
│ Repository                          Name        Policy   Scope │
├────────────────────────────────────────────────────────────────┤
│ rad:z2ug5mwNKZB8KGpBDRTrWHAMbvHCu   heartwood   allow    all   │
╰────────────────────────────────────────────────────────────────╯