Skip to content

Security: pamfilico/operationsdo-cli

Security

SECURITY.md

Security

Please report vulnerabilities privately, not in a public issue: use GitHub's Report a vulnerability (Security → Advisories) on this repository, with what you found, how to reproduce it, and the CLI version (pip show operationsdo-cli). You will get an answer within a few working days.

What this tool handles, and how:

  • Your rc file (.operationsdorc) holds deploy credentials: droplet SSH keys, the operations.do API key, app secrets. The CLI never prints secret values (they are masked in every listing), and uploads only the keys a container needs to the droplet; the operator-only keys stay on your machine. Keep the rc out of git (*.operationsdorc in .gitignore).
  • SSH host keys are trusted on first use and pinned in ~/.config/operationsdo/known_hosts (OPERATIONSDO_KNOWN_HOSTS overrides): a changed key stops the connection.
  • TLS: every HTTPS call verifies certificates. The managed-database metrics scrape verifies against the cluster's own CA; OPERATIONSDO_DB_METRICS_INSECURE=1 is the only opt-out.
  • API keys are scoped on the operations.do side. Give each app's rc the narrowest key it needs (its own client; DNS by a per-zone grant), never an account-wide one.

There aren't any published security advisories