Repository navigation
v0.14.1
Highlights
- Security fix: a conn's URL settings (Postgres
host=/hostaddr=/service=, Redis sentinels, MongoDB seed hosts, RabbitMQmanagement=) could send its stored password somewhere other than the address komando showed. An AI agent's change of any of them now needs a person. - komando ignores
PG*environment variables and~/.pgpassfor Postgres conns, and a SQLite conn can no longer open komando's own store or a credential database; an agent's SQLite query cannotATTACHorVACUUM INTO.
Security
- A conn's URL settings could send its stored password somewhere other than the address komando showed and guarded. Postgres reads
host=,port=,hostaddr=,service=and fallback hosts from the URL, Redissentinels=, MongoDB more seed hosts and RabbitMQmanagement=, and an AI agent could add them withconn edit --urlwithout the yes that a new address needs. The place a conn's password goes is now every address its driver logs in at, read as the driver reads the URL, plus every URL setting except the few that move nothing (application_name,connect_timeoutand other timeouts). An agent's change of any of it stops withSECRET_DESTINATION, and the window shows the settings. - komando no longer reads
PG*environment variables for a Postgres conn: from its own environment an AI agent could make komando trust its certificate (PGSSLROOTCERT) and get the password.db dumpanddb restorerun their tools withoutPG*andMYSQL*variables. - A Postgres conn with no password of komando's own no longer logs in with the password in
~/.pgpass, which an agent could collect with a conn to a server it controls. A URL that names apassfile=still uses it. - A SQLite conn could open komando's own store or a credential database (gcloud's
credentials.db, anything in~/.ssh,~/.aws,~/.config/gcloud,~/.azure,~/.kube,~/.docker), so an AI agent could read, copy or delete its rows. komando's own folder is now refused as a SQLite conn for everyone, and for an AI agent so are those login folders and every file the agent guard keeps from it, links followed (SENSITIVE_FILE). The check runs when the conn is added or changed and again whenever it is opened, anddb dump --toanddb restore --fromrefuse the same paths for an agent. An AI agent's query on a SQLite conn may not useATTACHorVACUUM INTOeither (they create a file wherever they are told), andload_extensionstays off for everyone.
Update: komando update (sudo komando update when komando is in
/usr/local/bin). From 0.6.0 or older, or to install, run:
curl -fsSL https://raw.githubusercontent.com/sgnd/komando/main/install.sh | shCheck a download: gh attestation verify FILE --repo sgnd/komando