Ports CoreDesktop's security checks (05b13b2, d5925fa, 53c6c8b) as
smoketest/scenarios/80-security.sh:
- The sandbox: a fake opencode, Hermes and Cline Desktop, run through
sandbox/bin's wrappers, can't read secrets or an SMB password through
sudo, write outside their project (home, ~/.bashrc, ~/.local/bin,
systemd units, autostart, the connector, its sandbox config or yours,
the settings srt starts with, their project's git hooks and config),
reach domains, LAN addresses or loopback servers that aren't allowed,
or see other processes or the session's D-Bus. Each check also runs
outside, so a pass means the sandbox blocked it.
- Root: what configure installs for root to run or read is root's alone
and names no home folder, and with a security key and fingerprint set
up, a password user's sudo still takes the password and only it.
- The install path: every hop from federated.sh/pop is HTTPS, and plain
HTTP doesn't serve the script.
CoreDesktop's network exposure checks (ufw, Docker, sshd) don't apply.
Writing it found that sandbox/agent put the settings srt starts with in
/tmp/federated-sandbox when XDG_RUNTIME_DIR wasn't set, and every sandbox
can write /tmp, so an agent could put its own settings, or a link, where
the next one's go. They're now always in /run/user/<uid>, which no
sandbox can write, and it won't start without it.
The smoketest's runner gives each scenario what a login does: USER,
/run/user/<uid>, and the session bus in it, as on Pop!_OS.
PLAN.md: CoreDesktop compared at 4e9b962, everything that applies ported.
Neither lint nor the Docker smoketest has run on these ports yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A port of CoreDesktop's configure to Pop!_OS 24.04 with COSMIC, in the shape
of connector-macos: its own install.sh, update and configure, installed in
~/.local/share/federated-connector/connector.
Every configure item is ported: the Core (email, calendars and contacts
through GNOME Online Accounts and Evolution, as COSMIC has no accounts of its
own; Superpanel; files over davfs2; Element; Tally; the email watcher),
Tailscale, backups, AI agents in the sandbox and their sign-ins, languages
with mise, AI servers, printers, network storage and the agent sandbox.
Folders go in the COSMIC Files sidebar. Each item installs what it needs
from apt, Flathub or the tool's own apt repository when you set it up.
smoketest/run checks it in Ubuntu 24.04 containers with Docker.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>