Repository navigation
v0.15.0
Highlights
- Passwords komando never stores.
--login askonhost add,host edit,conn addandconn edit: a person types the password when it is
needed, and an AI agent cannot move where it goes. - Strict read-only.
exec --read-only(andjob start,docker exec,
cluster exec, read-only recipes) runs a command only when komando knows
it cannot change anything, on every server. - Riskier changes need a person.
db grant,db user add,cluster applyof a file that gives out rights, and aDELETEorUPDATEthat
keeps every row now need--allow-dangerous. - Output contract 2. Every error code means one thing and has one exit
code;meta.contractis 2. Scripts that read error codes should check
"Changed for scripts and agents". - New commands.
import securecrt,storage mkdir,storage mv,
storage chmod,cpbetween two remote places,--continuefor a cut-off
transfer,db killon MongoDB,svc --user-units, andfacts --only. - Releases name their version. The signature of
checksums.txtnow
covers the version, so an older release cannot pass as a newer one. - Many security fixes for AI agents, VPNs, file transfers and approval
windows; see Security.
Added
-
komando import securecrt FILE|FOLDERadds SecureCRT's SSH2 sessions,
from its exported settings (File > Export Settings, an.xmlfile) or
itsSessionsfolder: host, port, user and key file, with each
session's folder as a group. Other session types, a firewall and a
.ppkkey are listed with what to do. Stored passwords and key
passphrases are never read. -
komando pkg securityworks on zypper (security patches;pkg upgrade --securityrunszypper patch --category security), and on pacman
witharch-audit. Where the repositories publish no security notices
(apk, pacman withoutarch-audit, dnf/yum repositories such as
CentOS's) the list is no longer silently empty: the new
security_noticesfield is false,unclassified_updateslists every
pending update, and a warning says why.pkg upgrade --securitystops
there withSECURITY_UNSUPPORTED(exit 3) and changes nothing; apk,
zypper and pacman servers are no longer inmeta.skipped. -
--user-unitsonkomando svc status,list,start,stop,restart,
reload,enable,disableanddaemon-reloadmanages the login
user's own units (systemctl --user), without sudo. A user with no
systemd manager running stops with the new codeNO_USER_MANAGER
(exit 3); the hint namesloginctl enable-linger USER. -
komando docker prune --volumestakes--older-than. Docker has no age
filter for volumes, so komando prunes with the age filter, then removes
only the unused anonymous volumes made before the cut-off, by name; the
dry run lists exactly those, and the answer lists them in
volumes_removed. A volume whose age komando cannot read stays. A dry
run with--volumesnow always hasvolumes, empty when none would go. -
MongoDB conns take
komando db kill CONN OPID(stops the operation
db activityshows, withkillOp;--dry-runshows it first; no
--session),komando db user list(the users of every database, with
their roles, never their stored credentials) andkomando db user show CONN USER(roles, and the actions they give). The JSON has the same
shape as for SQL databases.db user add,passwd,rm,db grantand
db revokestop withNOT_SUPPORTED, whose hint says to send the
command withdb query --write(it needs--allow-dangerous). -
komando host trust NAME --fingerprint SHA256:...pins a server's key
only when the server shows the key with that fingerprint: compare and
pin in one step. Any other key stops withHOSTKEY_MISMATCHand
nothing is pinned. The answer hasexpected_fingerprintnext to
fingerprint; the approval rules for AI agents and--resetare as
before. -
komando secret set NAME --newstores a secret only when NAME is not in
the vault yet. A taken name stops withSECRET_EXISTS(exit 8) and
keeps its value,--dry-runincluded. The check and the write are one
step of the store, so of several komando commands creating one name at
once exactly one wins. -
komando host add NAME ADDRESS --login askandkomando host edit NAME --login ask: a server whose password komando never stores. A person types it whenever komando connects (every command, fleet run, jump host,shell,cp,sync, job and tunnel), and it is used for that command only: at a terminal komando asksNAME: Password:(hidden); for an AI agent's command komando opens its own window on the person's screen, which names the agent, the server asuser@address:portand the command (or says it is hidden), and where they type it; the agent never sees it. Apps get the same question through the newengine.Call.AskPasswordhook. A script, an agent with no screen andssh-gategetNEEDS_PERSON(exit 6), and a cancelled window givesDECLINED(exit 6) whose hint iskomando login SERVER; after a cancel the window stays shut for that server for a minute (DECLINEDat once). These are new exit paths for every command that connects to such a server, includingtunnel start, which asks before it starts the tunnel and hands the password to the tunnel's process on its input (that process keeps it in memory for the tunnel's life). Only a person sets where the password goes: an AI agent that adds a--login askserver, turns one to--login ask, changes its address, port, user,--via, proxy command or transport, or changes a server or VPN on its way (edit,vpn add --overwrite, import, or replacing the vault secret that holds an OpenVPN profile) getsNEEDS_PERSON(exit 6), which no flag lifts; a dry run names it inmeta.would_be_blocked. The window names the way komando dials (VPN, each jump host with its address, proxy command). The first connection to such a server (a host key nobody has seen,host_key_policy off, or WinRMtls=off/skip-verify) needs a person at a terminal, and so does a key that is pinned but that nobody has logged in to this server with (pins are by address, and any server added at that address can pin one): an agent getsNEEDS_PERSONand nothing is pinned. Each pin now keeps the login-ask servers a person logged in to with it (a new optionalloginslist in the pin record;host trust --resetclears it). An AI agent that startskomando login's background process (login-holder) itself getsNEEDS_PERSON. One command asks once per server; a refused password is asked again on the next connection. The typed password is hidden in all output and never written to disk, the audit log or a program's environment; komando zeroes its own copy when the command ends. Akomando login NAMEthat is still live is used without asking. -
komando conn add NAME URL --login askandkomando conn edit NAME --login ask(alsokomando db addand the otherKIND add): a conn whose password komando never stores, typed by a person at every connect through the same questions as a--login askserver (terminal, app window, komando's window for an AI agent with the same cool-down;NEEDS_PERSONfor a script or an agent with no screen;DECLINEDafter a cancel).--loginon conns takesask,passwordornone, the words of the newloginfield ofconn showandlist. Only a person sets where the password goes (NEEDS_PERSONfor an agent's add,--url,--via, turn to ask, or change to a server or VPN on its way). An agent'sdb dump/db restoreof such a conn getsNEEDS_PERSON(the dump tool would get the password in its environment). SQLite files and clusters refuse--login ask(USAGE). The guided database forms offer "Yes, and I type it each time". -
--login ask|password|key|agentonhost addandhost edit: the same words as the newloginfield ofhost show,host list(andlist),host addandhost edit, so what you read back is what you can write.passwordis a stored password (with--ask-passwordor--password-ref) and drops a key;keyneeds--keyor--identity;agentis ssh-agent and~/.sshonly and drops the key and the stored password. A flag that contradicts the word is aUSAGEerror. Switching toaskoragentunlinks the stored password but never deletes the secret:host editnames an unused one in the newsecrets_unusedfield.komando schema host addandhost editlist the new--loginflag (type string, no default). -
komando storage mkdir CONN PATHmakes a folder (and any missing parents) in a bucket or on a file server. On S3, Google Cloud and Azure, which have no real folders, it stores an empty folder marker, as their consoles do, andstorage listnow shows such an empty folder instead ofFOLDER_NOT_FOUND. -
komando storage mv CONN SRC DST [--overwrite]moves or renames inside one conn. File servers (SFTP, FTP, FTPS, WebDAV, SMB) rename on the server, folders too. S3, Google Cloud and Azure cannot rename: theremvcopies the object on the server, checks the copy's size and checksum, and deletes the original only after that check (method: copy_then_delete). Where a file server cannot rename over a file,--overwritemoves the old one aside first and puts it back if the rename fails. A file or folder already at DST stops it withFILE_EXISTS(exit 8). New error codes:MOVE_FAILED(exit 5: the copy did not check out, so the original was kept, or the original could not be deleted after a good copy) andSTORAGE_UNSUPPORTED(exit 2). For an AI agent, a file that is secret by its name (.env, a private key, a key store) keeps such a name: renaming it to another kind of name stops withSENSITIVE_FILE. An FTP server whose listing hides dot files is asked for the file itself, so a hidden file at DST is not replaced without--overwrite. -
komando storage chmod CONN MODE PATHsets the Unix mode of a file or folder on an SFTP conn and says the old one; other kinds stop withSTORAGE_UNSUPPORTEDbefore anything is contacted. -
All three are changes like
storage upload:--dry-runshows what would happen and is never blocked (meta.would_need), a protected conn needs a person's yes, and every run is in the audit log. New JSON:storage.mkdir{conn, path, created, dry_run},storage.mv{conn, src, dst, folder, replaced, method, size_bytes, dry_run},storage.chmod{conn, path, mode, old_mode, dry_run}. -
komando cp SRC_TARGET:PATH DST_TARGET:PATHcopies between two remote places: server to server, storage to storage, or a server and a storage conn. The data streams through this computer and is never saved on its disk; folders go with-r. A single file reports itssha256, the result names itssource, a protected destination asks once,--progresswrites the same lines as an upload, and the audit log has one record for the whole copy (source, destination, size,sha256). For an AI agent the copy is read on its way: a file holding anything komando hides from an agent (a vault value, a secret by its shape, or personal data where the source hides it) stops withSENSITIVE_FILEbefore it is put in place (in a folder copy it is listed inerrorsand the rest go), as a file that is secret by its name does. A folder without-rstops withIS_A_DIRECTORY(exit 2). -
--continueonupload,download,cpandstorage upload/downloadgoes on with one file that was cut off: the part already at the destination is checked against the source (sha256), only the rest is sent, and the whole file is checked before komando says it worked. The result hascontinued_from_bytesandsha256. A destination that is longer or differs, before the copy or by its sum after it, stops withRESUME_CONFLICT(exit 8: copy the whole file again without--continue); one that changed while komando copied stops withFILE_CHANGED(exit 8: run the same command again); S3, Google Cloud Storage, Azure Blob and WebDAV, which store a file whole, stop withRESUME_UNSUPPORTED(SFTP, FTP, FTPS and SMB conns can go on). Servers work out the sums themselves (sha256sumorshasum). -
komando ssh-gate statussays which ssh-gate key runs it, and whether it
may change things or reach the network (gate,name,read_only,
network,komando). ssh-gate answers it itself; typed on the komando
computer it saysgate: false. -
komando factslists every real file system asdisks: mount point,
device, size, used and free in MiB, and use %. -
komando facts SERVER --only load,mem,disksruns just those probes, in
about a second, for an app that polls: the same keys, the other sections
left out.--only systemgives the OS name and the time the server has
been up (os,os_version,os_pretty,uptime_sec). A read-only
ssh-gate key without--networkruns it. -
A
--login askconn follows the same rule as a stored password for where its password goes (every URL setting except the few that move nothing): an AI agent's other change of its URL getsNEEDS_PERSON. A WinRM server'sca=andauth=count as where its password goes too. -
An AI agent's
config set default_usergetsNEEDS_PERSONwhile a--login askserver has no user of its own; replacing a secret on the way to a login-ask server or conn (a VPN's key or profile, a WinRM or conn CA) does too. The same holds fordefault_userwhile a jump server on the way to a login-ask server or conn has no user of its own, and for animport --overwritethat would replace such a secret (a conn's password in the file is stored asNAME-pass); a secret a protected entry uses needs a person's yes there, as insecret set. -
An AI agent that changes the user or the transport (WinRM, its
tls=) of a server with a stored password now needs a person's yes (SECRET_DESTINATION), as it did for the address, port and--via: the password goes there.
Changed
-
Windows: a program under Program Files or the system folder counts as one only an administrator can change (so an AI agent's command may hand it a password, or run a kubeconfig's login program without asking again) only when the file and each folder up to Program Files belong to the system or the administrators and no one else may write them (C116). An installer that let every user write its folder no longer makes its programs count. A ProxyCommand runs with Windows' own
cmd.exe, never the oneComSpecorSystemRootin the environment names. -
An old copy of
runtime.jsonput back no longer opens (C115). store.db keeps a mark that changes whenever a VPN session or a held server login starts, ends or changes, andruntime.jsonmust carry the same mark; one that does not is read as empty, like a plain one, so its sessions are found or made again. Marking a VPN used does not change the mark. Folders from before keep working: neither file has a mark until the first session change. -
The release signature covers the version (C114). From 0.15.0 on, the first line of
checksums.txtiskomando-release vX.Y.Z YYYY-MM-DD, signed with the rest.komando updateandinstall.shinstall a release only as the version that line names, so the signed files of an older release put under a newer tag, or served as the newest, stop withRELEASE_SIGNATURE_INVALID(exit 2) and nothing is changed; a release after 0.14.1 without the line stops the same way. 0.14.0 and 0.14.1, signed before the line, still install when asked for by version.install.shprints the version and day it installs. Known limit: a real, older release served as the newest is not detected (updatenever goes back on its own). For releases:releasesig signtakes the tag and refuses achecksums.txtthat does not name it. -
exec --read-only(andjob start,docker exec,cluster exec,
read-only recipes) is now a strict allowlist on every server: the
command runs only when komando knows every part of it only reads, and
anything else isREAD_ONLY_VIOLATION. Before, an unknown command ran
on an unprotected server and through a read-only ssh-gate key. No longer
accepted under--read-only: a program komando does not know (curl,
wget,nc, your own tool),git(a repository's config can run a
program),less,patch --dry-run,lz4,ldd,nm,chrt,
taskset,nohup,busybox,sudo -i/-s/-E,set -xand any
setbut-e,-uand-o pipefail,let,unset,declare,
shopt,kubectl --kubeconfig/--server/--token/--as,psql
andmysql(usekomando db query, which runs in a read-only
transaction), setting a variable with an upper-case name (PATH,
PS4,TAR_OPTIONS...;LANG,LC_*,TZ,TERMandCOLUMNS
still pass) byNAME=,export,read,foror-e, an-evalue
in a command with double quotes or with*,?,[,{,~or a
backslash in it,kubectl config view --raw, a long
option not written in full or not on komando's
list, a subcommand it does not know, unquoted{a,b}, and
${x@P}-style expansions. For a server's state usekomando facts,
logs,svc statusorfs read. See
Commands. -
komando export --for-phonenow seals the file with post-quantum encryption: HPKE with X-Wing (ML-KEM-768 and X25519), HKDF-SHA256 and AES-256-GCM, the suite komando's sync uses, so a copied export file stays closed even to a future quantum computer. The phone's key is now a 1216-byte X-Wing public key; a 32-byte X25519 key from an older iPhone app is refused withPHONE_KEY_INVALIDand a message to update the app. The file's recipient header is version 2; a file for the phone made by komando 0.14.0 (X25519 only) is refused as outdated and never opened: make it again. It needs the iPhone app for iOS 26 or later. Passphrase files (--sealed) are unchanged.internal/sealfile/testdata/vectors.jsonnow pins every byte of both modes, with files that must be refused;docs/design/sealed-file.mdhas the layout. -
A read key stays off the network. An SSH key added with
komando ssh-gate line --read-onlynow runs only komando's own reads of
the servers and conns in your list. Everynetcommand,cert checkof
a website, andexec,job start,docker exec,cluster execand
recipe runare refused for it (SSH_GATE_NETWORK_REQUIRED, exit 6): they can
reach any host and carry what the key reads in a URL or a DNS name. A
read komando adds later is refused until it is known to stay on listed
targets. Add--networkto the line for a read key that may run them
(komando ssh-gate line --name NAME --read-only --network KEY); the line
JSON hasnetwork. -
--read-onlyno longer lets through the forms of read tools that write
or kill:xxd IN OUT,yq -iand--split-exp,xmllint --outputand
--shell,fuser -k,ss -Kand-D,arp -d,-sand-f, and
sar -o. Their plain reads still pass. -
db queryon SQL Server: a linked-server name (lnk.db.dbo.t) and the
functions that read a file path (fn_xe_file_target_read_file,
fn_get_audit_file,fn_trace_gettable,fn_dump_dblog) need
--write, asOPENQUERYandOPENROWSETdid: a path can be
\\HOST\share, a connection to any host. -
db queryon Oracle:xmltype(),XMLPARSEandcreatexml()of text
the query builds need--write: a DTD in it can name a URL the parser
fetches.xmltype(column)stays a read. -
No ssh-gate key, read, network or full, makes komando read a file on the
komando computer any more:--script FILE,--stdin-file FILE,
db query --file,db restore --from,cluster apply --file,
fs write --from,upload,storage upload,cpandsyncfrom a path
there, andcluster run -- apply -f,--from-fileorcpto a pod are
refused (SSH_GATE_REFUSED). A private key sent to a server could come
back in its answer.-(the key's own input) still works. -
--read-onlyreads tool options as the tools do: a start of a writing
long option (ss --kil,arp --del,yq --in-pl), xmllint's
-outputand-shell, and xxd's second file even when it starts with a
dash. -
db queryneeds--writefor more ways out: SQL Server
dm_os_file_exists,dm_os_enumerate_filesystemand any\\HOST\share
path; Oracle XML parsed from anything but a bare column (a bind value,
CONCAT,XMLTRANSFORM); Postgreshttp_*(pgsql-http, pg_net),
aws_s3.*,aws_lambda.*,aws_commons.*andpg_background_*; a
BigQuery routine or model named with a project (proj.ds.fn), which may be
another project's remote function.
Changed for scripts and agents
- A
DELETEorUPDATEwhoseWHEREkeeps every row (WHERE true,
WHERE 1,WHERE 1=1,x OR true), and aMERGE ... ON TRUE, are
rated like noWHERE: they need--allow-dangerous
(sql-delete-no-where,sql-update-no-where) on every SQL kind. db grant,db revoke,db user addanddb user passwdnow need
--allow-dangerous(at a terminal: type the user's name). They send
the statementsdb queryalready rates as privilege changes
(sql-privileges); without the flag they stop withPOLICY_BLOCKED.cluster applyandcluster run -- apply|create -fneed
--allow-dangerousfor a file that gives out rights (roles, bindings,
webhook configurations, service account token Secrets) or opens a node
to a pod (host namespaces, privileged, added capabilities,hostPath),
and for a Swarm stack file that hands a service the server.cluster run -- create roleneeds it too.db restorehas a new stop,FILE_CHANGED(exit 8): the file
changed after komando checked it.komando doctor -o json: a check that one komando command puts right,
asking nothing, hasfix, the words to run as a list.error.message,
error.hint,error.suggestion(also in per-server error objects),
meta.warnings,meta.skippedand doctor'snameanddetailare
made safe to show in JSON as they are on the terminal: escape
sequences, text-direction marks and invisible format characters show
as\e,\xNN,\uNNNN. The rest ofdatais unchanged.- One error code each (output contract 2).
meta.contractis now 2.
Every error code means one thing and has one exit code; there are no old
names to fall back on. Scripts and apps that readerror.codechange
these (old -> new):PROTECTED_HOST->PROTECTED_TARGET(any protected server, conn, VPN
or secret).CONNECT_FAILED,K8S_UNREACHABLE,REGISTRY_UNREACHABLE,
WINRM_UNREACHABLE,RELEASES_UNREACHABLE->CONN_UNREACHABLE(the
message still names what could not be reached).HOST_NOT_FOUND,CONN_NOT_FOUND,VPN_NOT_FOUND->TARGET_NOT_FOUND
for an unknown name, whatever the command; a group, tag or pattern that
picks nothing ->TARGET_EMPTY.KEY_NOT_FOUND->SSH_KEY_NOT_FOUNDorCACHE_KEY_NOT_FOUND;
NOT_FOUND->SWARM_SERVICE_NOT_FOUND,SWARM_STACK_NOT_FOUND,
SWARM_OBJECT_NOT_FOUND,DOCKER_OBJECT_NOT_FOUNDor
CACHE_SECTION_NOT_FOUND;REGISTRY_NOT_FOUND->
REPOSITORY_NOT_FOUNDorIMAGE_TAG_NOT_FOUND;K8S_NOT_FOUNDfor a
pod ->K8S_POD_NOT_FOUND, for a container (andCONTAINER_NOT_FOUND
ofcluster deploy) ->K8S_CONTAINER_NOT_FOUND.FAILED->COMMAND_FAILED(exit 5) when one server's command exited
non-zero; any other one-server failure gives that server's own code
(CONNECTION_REFUSED,TIMEOUT...); kubectl failing incluster run
->TOOL_FAILED.REVEAL_NEEDS_HUMAN->REVEAL_NEEDS_TERMINAL.- A statement that ended komando's transaction while running ->
SQL_TX_CHECK_REQUIRED(exit 6); a conn whose settings change how SQL
is read ->SQL_SAFE_SETTINGS_REQUIRED(exit 6).SQL_TX_CONTROLand
SQL_STRING_RULESare now only for SQL you wrote (exit 2). - A file komando cannot write on a server ->
REMOTE_WRITE_FAILED
(exit 5);WRITE_FAILED(exit 1) is a file on this computer. storage downloadof a folder without-randstorage rmof a
folder key ->IS_A_DIRECTORY(wasUSAGE).error.thingis gone from the JSON: the code says it.
- Breaking for scripts: a script (no terminal, not an AI agent) that runs
komando login,komando login awsor--ask-password/--ask-psknow
getsNEEDS_PERSON(exit 6), as an agent does; it wasNEEDS_TERMINAL
(exit 2).NEEDS_TERMINALis only for interactive commands (shell,
db shell,cluster shell).VIA_CYCLEis exit 2 everywhere (it was 1
when found while connecting). SECRET_INPUT_INVALIDis gone. An AI agent's arguments, script or
file that hold a vault value now get the answer any other value gets,
and the value it typed is not hidden as[secret:NAME]in that
command's output: the refusal told it which guess was a secret as
surely as the mask did. The audit log still records it.- komando takes no proxy from an AI agent's environment (
HTTPS_PROXY,
HTTP_PROXY,NO_PROXY): an agent that needs the company proxy uses
it as a VPN with--via, or a kubeconfig'sproxy-url. A person's
proxy works as before.SSL_CERT_FILEandSSL_CERT_DIRare ignored
for everyone, on every system: komando trusts the system's CAs and the
CAs a conn, VPN or kubeconfig names. On Linux, and on macOS with Go
1.27, an agent's own CA plus its proxy read stored VPN passwords,
cluster tokens and registry and storage logins.
The AWS SDK, minio and the Google token clients get komando's transport
too, and an agent'sAWS_CA_BUNDLEandVAULT_CACERTare ignored. - A Kubernetes Secret's values in
cluster get, the hidden arguments in
cluster run's audit and dry run, and thecluster apply --dry-run
diff now read[hidden],[hidden, changed]and[hidden, new], the
marker the rest of komando uses, not(hidden). A file holding either
marker is still refused withHIDDEN_VALUE. cluster run's own errors keep kubectl'serror:line and exit code 1,
but say what is wrong in komando's words (name the type of resource to get,--timeout "x" is not a duration), not kubectl's.- Hints no longer say "nothing was changed/imported/lost/run": that state
is now at the end of the message.
Removed
-
The refusal for an OpenVPN saved with the old OS mode (
--os-mode,
removed earlier):VPN_OS_MODE_REMOVEDis gone, andvpn showno
longer has arunsline for it. Re-add such a VPN withvpn add ... --overwritebefore updating. -
The reader for sealed stores from before the record index (a change
count with no index beside it). No released komando wrote that form,
only development builds in the hours before 0.12.0. A store in that
form now stops with "changed outside komando". -
The reader for audit entries from before the audit chain (an entry
that does not hold the sum of the one before it). Only the same
development builds wrote them.komando auditstops at such an entry
with "changed outside komando", after the entries before it. -
komando download TARGET PATH --to -streams one file to stdout, from a server too now (andkomando cp TARGET:PATH -);komando upload TARGET - DEST,komando storage upload CONN - KEYandkomando cp - TARGET:PATHread it from stdin, for the phone apps' Files view. With--to -, stdout carries the file's bytes and nothing else, whatever-osays; komando's own answer goes to stderr (with-o jsonone envelope at the end:{host|conn, path|key, to: "stdout", bytes, sha256, masked}, or the error), and the exit code says which. Storage downloads to stdout no longer need-o text. An upload from stdin goes to one server or conn through a temporary file (an object store finishes it only at the end);--size Nmakes a stream of another length fail withSIZE_CONFLICT(exit 8) and replace nothing, and a stream holding a[hidden]value is refused (HIDDEN_VALUE).--continue,-rand several servers are refused with-; a dry run reads nothing. For an AI agent a stream keeps what a download to a file keeps, before a byte is written: text with secret values as[hidden], a binary file holding a vault value, a secret or personal data komando hides refused (SENSITIVE_FILE), anything over 16 MiB refused (FILE_TOO_LARGE). Through ssh-gate,download --to -is a read (allowed for a read-only key), and uploads from stdin need a key that may change things.
Security
-
cluster runanddocker raw|composeread a compose or stack file
that is already on the server before they rate the command: a
privileged service or a bind of/there now needs--allow-dangerous,
as in a local file, and so does a file komando cannot read or one that
pulls in files it does not check (include:,extends: file:, a
COMPOSE_FILEin.env,privilegedleft to a variable). Manifests
that install through a controller (k3sHelmChart, Argo CD, Flux), EKS's
aws-authConfigMap, akube-systempod with one of its service
accounts,label ... pod-security.kubernetes.io/enforce=privileged(or
removing it),set serviceaccount,create configmap aws-authand
Argo Workflows need it too. (C113) -
An AI agent's
import kubeconfigno longer copies a file from~/.ssh
or another credential store (other than~/.kube) into the vault when
the kubeconfig names it as a client key, certificate or token file
(SENSITIVE_FILE). (C113) -
db restoreof a PostgreSQL archive now checks the SQL inside it, as
for a plain SQL file: what it does beyond writing data (COPY ... PROGRAM,GRANT, ...) is named in the approval; before, an archive
went to pg_restore unread. (C113) -
Four more ways an AI agent could move where a person's typed password
(--login ask) goes now stop withNEEDS_PERSON. A server with no
user logs in as the account komando runs as, from the system, no
longer as$USER, which an agent sets. Acert check --viapath that
reaches a login-ask server another way than its own stops. A login-ask
conn's URL user is part of where its password goes. And an agent's
vpn add --overwriteor import of a VPN on such a way stops even with
the same flags: its profile or key secret may be new. -
cluster run -- cp POD:SRC DSTby an AI agent, with SRC named like a
secret (.env, a private key), now stops withSENSITIVE_FILEbefore
komando reads the pod, asdownloaddoes; before, the pod's files were
read first and refused afterwards. (C04) -
Moving a VPN now counts for the stored passwords behind it (C111). An AI agent's
vpn editthat changes how a VPN connects,vpn add --overwrite, an import that replaces a VPN, or a new OpenVPN profile in the vault, getsSECRET_DESTINATION(exit 6) when servers or conns with a stored password reach their server through that VPN, and the window names each one, as for a moved jump server. Login-ask servers and conns behind it still need a person (NEEDS_PERSON). A person's own commands are unchanged. -
An AI agent's approval window now shows what an upload, a restore or a kubectl
-fsends from this computer (C111).cp,uploadandstorage uploadof a file show it, or name its size and SHA-256 when it is too long or not text;cp -randsynclist each file with its size and SHA-256 (more than 40 files: no window);cluster run -- apply -f FILEand--from-fileshow the files;db restoreshows plain SQL whole or opens no window (a 60-line SQL file is no longer a way past that rule) and names a pg_dump archive by its SHA-256. Indentation past 16 spaces shows as(+N), so deep YAML keeps its nesting. A person's own commands are unchanged. -
An approval code works once (C10). komando keeps the last accepted
30-second step in its sealed store and refuses that code, or an older
one, a second time: two windows in the same 30 seconds need two codes.
The agent's hint says so (code-used). -
An AI agent that set both
HOME=/xandKOMANDO_HOME=/x/.komandoin
front of komando moved komando's data folder: komando counted
~/.komandoof the changedHOMEas the usual folder, so only the
guard hook refused the line. For an agent the usual folder is now only
~/.komandoof the account's home in the computer's user database (or
a link to that folder); any otherKOMANDO_HOMEstops (see the next
entry), whateverHOMEsays. The e2e lab,
which leaned on the old rule, now builds a komando of its own with the
build tage2elab, which takes the agent's account home from
KOMANDO_E2E_ACCOUNT_HOME. It is built outside the checkout and
removed after the run; a released komando has no such variable, and
make binsandmake distrefuse a binary that has it. -
An AI agent's command with
KOMANDO_HOMEset to another folder than
~/.komandonow stops for good (NEEDS_PERSON, wasSAFETY_SETTING): no flag and no
window lets it through, and a dry run stops too. Before,--dry-run
went on and still connected to servers from a folder without the
person's pinned host keys, protection and deny rules, and--yes
opened a window that could not ask for the approval code, which lives
in the usual folder.komando guide uninstallstops the same way; it
used to skip the check, and--revealopened its window before it.
komando makes nothing in the other folder (a stopped command used to
leave a new store there). The hint tells the agent to take
KOMANDO_HOMEout and run the command again. This is the one case
where a dry run is blocked. -
The agent guard keeps all of
~/.awsfrom an AI agent, like~/.kube
and~/.azure: the SSO token cache and the CLI's cached credentials
too, not only thecredentialsfile. An AWS profile whose web identity
token file lies under~/.awsnow needs a person for an agent's
command (NEEDS_PERSON), as a token file elsewhere already did. -
On Windows, komando takes the Windows and Program Files folders from
Windows itself when it decides that a program there is safe to run
with a password, and only System32 and SysWOW64 count of the Windows
folder (every user can write to its Temp and Tasks folders). It used
to readSystemRootandProgramFilesfrom the environment, which an
AI agent sets. A login program's PATH (kubeconfig) takes the Windows
folder from Windows too. -
The audit log no longer keeps a password, key or token that a command
line carried (PGPASSWORD=... psql,--password=...): the command
ofexec,job startandcluster execis recorded with those
values as[hidden], in the sealed log and in the copy sent to a
syslog server (audit_syslog), which travels in clear text. -
One approval window no longer answers for what it did not show. An AI
agent's--reveal(or--host-key-policy off) opened its window
before the command had read its script, and that yes then covered the
script, the matched rules and the protected server, even a script no
window can show. A yes now covers the script and the reasons its
window showed, and a--revealyes no longer answers a--yesor
--allow-dangerouscheck (nor the other way round); anything new asks
again. A destructive
change on a protected server or conn asks once, in a window that names
both flags. -
The approval window for
recipe runshows the command the recipe
fills in, and says when it runs with sudo. An agent could replace a
saved recipe and have a person allow it by its trusted name. -
The approval window of
db query --file,fs write --from,
cluster apply --fileandqueue send --fromshows what the command
sends: the SQL whole, or no window, like a script; other content whole
when it fits, a named file that is only too long by its size and
SHA-256, and anything else (stdin, invisible characters, what looks
like a secret) gets no window. -
import envandimport csv --overwritealso runsecret set's
check of whom komando trusts on the secrets they store: an OpenVPN
profile or a CA certificate an agent replaces this way needs a
person's yes. -
Replacing a protected VPN's key, pre-shared key or profile in the vault
(secret set,secret cp --overwrite,secret rename --overwrite)
needs a yes (PROTECTED_TARGET), like a protected server's password. -
An AI agent that replaces a secret deciding whom komando trusts needs
a person's yes: an OpenVPN VPN's profile (SECRET_DESTINATION; the
window names the new servers), and the CA certificate a WinRM server
or a conn is checked against (SAFETY_SETTING), also when the secret
did not exist yet. Pointing a WinRM server at another CA certificate
withhost editasks the same way. -
An AI agent that moves a jump server (address, port,
--via, proxy
command) is asked about every password other servers and conns send
through it, also through a second hop (SECRET_DESTINATION). Only the
moved server's own secrets were checked. -
A protected
sftp://conn protects the SSH server at its address: a
host entry oruser@addressfor the same server needs a yes too. -
pkg upgradable --refreshandpkg security --refreshcount as a
change (they rewrite the package index as root): a protected server
needs a yes, and--dry-runno longer refreshes. -
db queryandexec --read-onlyrate more statements by what they
do: MariaDB'sSET STATEMENT ... FOR <statement>as the statement
afterFOR; the Postgres functionspg_replication_slot_advance,
pg_logical_slot_get_changes,pg_copy_*_replication_slot,
pg_logical_emit_message,pg_backup_start/stop,
pg_sync_replication_slots,pg_truncate_visibility_mapand
pg_*_resetas destructive (and a wrapped DDL no longer runs inside
the transaction a dry run rolls back); MongoDBprofile(any level but -1),validatewith
repairorfixMetadataandkillCursorsas writes,bulkWrite
that deletes or updates every document likedeleteandupdate
do, andaggregatewith$outas replacing a collection. -
--read-onlycould be talked into a change on a protected server, or
through a read-only ssh-gate key, with no person's yes: a shortened long
option (sed --in,sort --o=FILE,tar --checkpoint-act=exec=...),
text bash evaluates inside an argument (let 'a[$(cmd)]=1',${x@P}),
brace expansion (systemctl {restart,status} nginx), a wrapper komando
did not follow (timeout 1d rm,coproc), subcommands it did not list
as writes (systemctl soft-reboot,ip netns exec,npm explore,
sysctl name=value), read tools with a writing option (rg --pre,
file -C),\gexec,\setor a backquote in SQL fed topsql, an
-evalue inside double quotes (find /tmp "$x"withx=-delete),
variables programs read as code (read PS4,PATH=...,
TAR_OPTIONS=...),gitin a repository whose config runs a program,
andkubectl --kubeconfig FILE.--read-onlynow runs only what
komando knows only reads (see Changed). -
An ssh-gate key could run the shell-completion helper with
-o -- __complete, which the gate recorded as an empty command. The
gate now finds the helper the way komando does and refuses it. -
The install line (
install.sh) installs a release only when itschecksums.txtis signed with the komando project's key, the checkkomando updatealready made; before, it checked only the checksum, which someone able to replace a release's files could replace too. It needs OpenSSL 3 or perl for the check (macOS and most Linux systems have one), installs nothing on a computer with neither, and downloads over HTTPS only. Releases up to 0.13.0, which have no signature, still install withKOMANDO_VERSION: the installer knows the checksums each was released with and takes no other files for them. The install line itself is nowcurl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/komando/main/install.sh | sh. -
Releases: the jobs that build and sign a release no longer use a build cache other jobs can write, and
make dist SIGNED=DIRstops when a signed macOS binary is missing instead of building an unsigned one in its place. -
A cloud login of this computer no longer goes to an address an AI agent
picked.- Kubernetes: a kubeconfig that logs in with
aws eks get-token,
aws-iam-authenticatororgke-gcloud-auth-pluginneeds a person's
yes for an agent to import, or to use after its cluster block changed
(SAFETY_SETTING). For everyone, people too, that login no longer
travels overhttp://or with the certificate unchecked
(insecure-skip-tls-verifywith no CA): a usage error. - Kubernetes: a login program a person trusted is now one file. An
agent's command runs the file the person's import found, with that
import'sPATH, the user's real home and only a few plain variables
of its own environment, soPATH=dir:$PATH komando ...(or
LD_PRELOAD,KUBECONFIG, a proxy) no longer hands the kubeconfig's
arguments to another program. The trust covers the file's contents,
each argument, and the CA,tls-server-nameandproxy-url. An
import an agent made with a person's yes trusts nothing for later. - A Pub/Sub conn with an
endpoint=that is not Google's gets no gcloud
login. An Amazon ECR login goes only over https with the certificate
checked. No cloud registry login (ECR, Google, Azure), and no gcloud
login for Cloud Storage, BigQuery or Pub/Sub, goes to a conn with a CA
of its own (?ca=) or?resolve=. AZURE_AUTHORITY_HOSThas to be one of Azure's sign-in hosts. A Google
login file sends only to Google's token services
(sts.googleapis.com,iamcredentials.googleapis.com), also inside
source_credentials.- For an AI agent: only a gcloud login or a service account key is used
as Google login file;AWS_ENDPOINT_URL,AWS_ENDPOINT_URL_*, a
profile'sendpoint_urland a container credentials address that is
not ECS's or EKS's are not followed (a conn's ownendpoint=still
is); and the token file a cloud variable or AWS profile names
(AZURE_FEDERATED_TOKEN_FILE,AWS_WEB_IDENTITY_TOKEN_FILE) may not
be a private key, komando's own data or a file that holds secrets.
These stops areNEEDS_PERSON(no flag lifts them: the user sets the
login up in their own terminal), as is a login program that changed
while komando was connecting. - After updating, import each kubeconfig that uses a login program, EKS
or GKE once more yourself (komando import kubeconfig FILE --overwrite), or agents are asked on every cluster command. For an
agent, such a login program gets only the environment the kubeconfig
gives it (env), not the shell's proxy,AWS_PROFILEorKUBECONFIG.
- Kubernetes: a kubeconfig that logs in with
-
A running VPN session, a kept server login and a tunnel are now known by when their process started, not only by its process number and program. When that process ended (a crash, or an old copy of komando's runtime file put back), a later process given the same number, even another komando or openconnect, is no longer taken for it: it gets neither the session's SOCKS login nor the addresses it connects to, and is never stopped by komando. After updating, VPN sessions, logins and tunnels started by an older komando count as ended: run
komando vpn down --all,komando logout SERVERandkomando tunnel stop --allbefore you update, or end those processes yourself; komando starts new ones when needed. -
komando secret keychainnow gives the vault a new key as it moves the key into the keychain. Before, it moved the same key, so a copy ofstore.keyfrom before the move (a backup, a synced folder's history) still opened every later copy of the store, secrets added after the move included. A move that stops part way finishes the next time it runs. -
Ways around hiding data from an AI agent are closed. A value that is
not text (shown as base64) is now checked for what it holds and reads
[hidden]when that is a secret or personal data, indb query,cache
andqueue peek. Stored credentials are hidden whatever their shape
(MongoDB's SCRAM verifiers undercredentials, a list underapiKeys).
mask_columnsnow also hides MongoDB fields, and an agent's query that
names a hidden column (name AS customer,upper(name),WHERE name ...) stops withREVEAL_NEEDS_PERSON(exit 6: a person allows it with--reveal);SELECT *still shows
it as[hidden: column].cp,syncandfs replacehide personal
data asdownloadandfs catdo. For an agent,db dumpof a
database whose personal data is hidden,storage link, and a binary
object onstorage download --to -that holds a hidden value stop with
SENSITIVE_FILEunless a person allows--reveal. An agent'sconn editthat takes a column out ofmask_columnsor turnsmask_personal
off needs a person's yes (SAFETY_SETTING). -
fs rm,fs mvandfs mkdirwith--sudono longer follow, as root,
a link another server user made. A link that user planted in a folder of
theirs (cache/x -> /etc) could have root remove, move or create files
in the folder it names; now it stops withIS_A_SYMLINK(exit 92), as
fs chmod --sudoand writes and reads as root already did.fs rm
removes a link at the end of the path, never what it names, and works
from inside the real folder, so a folder swapped for a link meanwhile is
not followed either.fs mv --sudomoves only into a folder no other
user can change (SHARED_FOLDER_CONFLICTotherwise, as for a write as
root), from inside that folder. -
A file komando sends to a server (
fs write,upload,fs replace,
fs restore,--backupcopies,sync, and the--sudostaging file)
is no longer readable by other users of that server while it is written.
SFTP makes a new file at the server's default mode (often 0644) and
komando narrowed it only afterwards, forsyncandupload -ronly
once the whole file was there: another user who opened it in between
could read it all. Each file is now made inside a folder only the SSH
user can enter (0700) and gets its final mode before it moves into
place. A server that cannot make that folder private stops with
CHMOD_FAILED, as before for a file it could not make private. -
import komando FILEno longer turns on, without a person's yes, what
host editandvpn editask for: lending the ssh-agent to a server
(forward_agent), old IKEv1 ciphers (legacy_crypto) or PAP
(allow_pap) for a VPN, and, for a VPN it replaces with--overwrite,
dropping the CA the VPN checks its server against or turningmfaor
protection off. Each stops withSAFETY_SETTING, as the edit commands
do; an AI agent could write such a file and import it to get around
them. A protected VPN left out of--overwritewithout--yesnow
gives the same reason as a protected server or conn. -
--host-key-policyno longer loosens the settinghost_key_policy
without a yes, and no longer fails open. With the settingstrict, an
AI agent (or an ssh-gate key) could add--host-key-policy accept-new
and pin a new server's key thatstrictsays a person must trust; and
any value but the exactstrict(Strict, a typo) pinned like
accept-new. The flag now takesaccept-new,strictoroffin any
case (anything else isUSAGE), a value looser than the setting needs
the same yes asconfig set(SAFETY_SETTING), and a stored policy
komando does not know refuses to connect. -
A folder's name can no longer forge who owns it in the
SHARED_FOLDER_CONFLICThint of a--sudowrite. A name with a line
break and komando's marker made the hint suggest--sudo-user root(or
shell text such asroot;id;#). The name is now printed on one line,
only root's own line counts, an owner that is no user name is never
put in the hint, and the path is quoted. -
An ssh-gate key can no longer reach this computer's own ports through
cert checkwith a name that resolves to it (ip6-localhost, or a
public name pointing at 127.0.0.1). The gate compared names as text; it
now resolves a name and refuses it when any address is loopback,
unspecified or one of this computer's, and a gatedcert checkchecks
the address again when it connects, so a DNS answer that changes in
between is refused too. -
storage uploadto an SFTP conn no longer writes through a link another
user of that server planted. The upload went to a fixed temporary name
(.komando-upload-NAME), opened without refusing an existing file, so a
link there had komando write and chmod the file it named. It now writes
in a folder of its own under a random name, made exclusively and
entered only by the SSH user; a server that cannot make that folder
private stops withCHMOD_FAILED. -
An AI agent can no longer set a WinRM server's
tls=skip-verify,
tls=offorauth=basicwithout a person's yes. Throughhost add,
host edit --addressorimport, a stored password could go to a
server komando does not check, or travel unencrypted, with only a
warning; now it stops withSAFETY_SETTING, as a conn's weak TLS does. -
A registry's token service can no longer make komando read a reply of
any size: komando reads at most 1 MiB of it. (Every SSH, Kubernetes,
database, queue, VPN and cloud reply was checked for a size limit; the
memcached and pod-copy gaps are fixed with the cluster tier changes.) -
db restorerestores the bytes it checked. It used to open the backup
again by path after the approval, so a file swapped in between was
restored unchecked. A MySQLDELIMITERafter a statement on the same
line, which the check and the restore read differently, is refused. -
A memcached server can no longer crash komando, or make it reserve
memory, with a bad value length;cluster cprefuses a sparse tar
entry and holds the files of a copy to 512 MiB together;net http
reads the redirect address as text, so a server cannot forge the
status;db explain --analyzeon MariaDB refusesTABLE(it became
ANALYZE TABLE); SnowflakeINSERT OVERWRITE,CREATE OR ALTERand
COPY ... PURGEneed--allow-dangerous. -
import kubeconfigreads the certificate, key and token files a
kubeconfig names under the same rule as the kubeconfig: for an AI
agent, never komando's own folder.cluster deployrefuses an
--imagewith spaces or unprintable characters.
Fixed
-
komando import filezillanow stores the password FileZilla keeps for
an SFTP server in the vault: the server pointed atsecret:NAME-pass,
but nothing was stored there. -
login-holderstarted by hand answers every broken input with
NEEDS_PERSON, not with a parse error. -
key gen --dry-runshows where the real run keeps the key (path
sealed:; the record's ID is made only when the key is written) and
the key's SSH type (ssh-ed25519, noted25519), as the real run does.
No key is made (C08). -
An upload to a WebDAV conn that is cut off partway (a dropped link,
Ctrl-C, or a copy komando refuses) no longer replaces the file there with
the part that arrived, or leaves a part under a new name: it goes to a
temporary name and is moved into place (WebDAV MOVE) only when it arrived
whole, as on SFTP, FTP and SMB conns. The server must allowMOVE; a server that refuses it says so in the hint, and one that removes the old file and then fails the move keeps the new content under its temporary name (UPLOAD_NOT_RENAMED). -
An AI agent's
storage downloadfrom an FTP or FTPS conn that komando
stops before the end (a file too large to read for personal data) now
waits for the download to end, so the next command on that connection
reads its own reply instead of the download's. -
sync --deletestops before it empties a folder that the source lists
as empty while the destination still has files in it
(EMPTY_FOLDER_CONFIRM_REQUIRED, exit 6, with the folders and counts in
error.details.folders): a listing cut short, as on plain FTP, looks
just like that. A person types the folder; an AI agent needs a person's
yes in the window (--allow-dangerous); a script names each folder it
empties on purpose with the new--emptied FOLDER, since
--allow-dangerousalone no longer does for it. -
An FTP or FTPS conn reached through
--viacould report a transfer that
had worked as failed, withthe server: EOF: an upload, a download, a
listing,--continue, or the checkstorage mvmakes. When the server
behind the jump host closed its side first, komando took closing its own
side as an error. It no longer does, for FTP and FTPS, and the same
close no longer fails for any conn through--via. -
An FTPS listing whose data connection closed before TLS was set up was
read as an empty folder with no error.sync --deletefrom such a
source could then remove that folder's files on the destination, and
mv,cpandstorage statcould miss a folder that is there. It now
stops withSTORAGE_CONNECT. Every FTP connection error also names the
FTP command it came from ("EOF (during APPE)"). -
A Google Cloud Storage conn reads at most 32 MiB of one listing page or
one object's details: a broken or hostile endpoint that answers without
end now stops withSTORAGE_ERROR("the answer is larger than 32 MiB")
instead of being read, and kept in memory, whole. -
An FTP or FTPS conn whose connection drops, and whose one new session
cannot be opened either, now says both inSTORAGE_CONNECT: the drop
and why logging in again failed ("...: EOF; logging in again failed:
..."). The second error used to be thrown away. -
A Tailscale VPN logs in only at its
--serveror Tailscale's own
server:TS_CONTROL_URL,TS_AUTHKEY,TSNET_FORCE_LOGINand the
other tsnet variables are ignored. A Tailscale VPN replaced byvpn add --overwriteor an import starts as a new node, as aftervpn rm. -
An AI agent may no longer move a VPN whose login a person types at
vpn up(--portal,--server, a new OpenVPN profile): it gets
NEEDS_PERSON. -
vpn add --confignever quotes the file's text in an error (it named
the first word of the line it refused, which for a.pgpassor a
token file is the secret), and refuses komando's own folder for an AI
agent.--cais read as any local file (SENSITIVE_FILEfor an agent
on a secret file) and keeps only the file's certificates. -
vpn add --dry-runno longer tells an AI agent whether a WireGuard key
it guessed is the one in an unused vault secret NAME-key; WireGuard
keys must be 32 bytes in base64. -
vpn serve,tunnel serveandlogin-holder, the background
processesvpn up,tunnel startandloginstart, now run only
when one of those commands started them. Run by hand, an AI agent got a
SOCKS port into an--mfaVPN thatvpn uprefuses it, a tunnel or a
held login without its checks, and no audit record. They now stop with
NEEDS_PERSONunless their parent's ticket comes first on stdin: an
HMAC of their whole command line (flags too) under a key made from the
store's master key, good once and for five minutes, so a file written
by hand is not one. An AI agent'sKOMANDO_HOMEset to another folder
needs a person's yes for them too (SAFETY_SETTING). -
IKEv2 VPNs read only the IKE_SA_INIT response unencrypted. A forged
plaintext Delete or CREATE_CHILD_SA from anyone on the path could end
the tunnel or move its traffic to an SA of their choosing. -
IKEv1 (L2TP/IPsec, Cisco IPsec) moves an exchange on only after the
server's hash checks out, so a forged message no longer breaks the
real one after it, and an error in a quick mode answer counts only
with the server's hash. Hash checks are constant-time. Cisco IPsec's
mode config fails on an answer without the server's hash, or one that
is not a REPLY or SET, instead of going on with no address and
crashing in quick mode. -
An IPsec server given as an IPv6 address now gets a clear error
(komando's IPsec client speaks IPv4) instead of a crash. -
Three crashes on what an SSL VPN server sends: Pulse ESP keys cut
short, a DPD interval or GlobalProtect timeout too large for a
duration, and an IPv6 address for PPP (F5, Fortinet), which carries
only IPv4. -
An OpenVPN server that pushes a huge
pingorping-restartno longer
makes the client spin without waiting: both are kept to at most a day. -
L2TP's PPP link no longer comes up before the login. An IPCP answer, a
CHAP Success before komando answered the challenge, a PAP ack nobody
asked for, or a server dropping the login it asked for could bring it
up without the MS-CHAPv2 server proof; now IPCP waits for the login,
and a dropped login ends the link with an authentication error. A
server that asks for CHAP-MD5 or no login, which prove nothing about
it, is now asked for MS-CHAPv2 like one asking for PAP;--allow-pap
allows all three weak logins for one VPN. -
--ask-passwordand--ask-pskno longer replace a secret made while
the person was typing (in another terminal tab, or by an app's
secret set --new). A name that was free when komando asked is stored
only if it is still free, in one store write; otherwise the command
stops withSECRET_EXISTS(exit 8) and nothing is replaced. A new
password for a server's own secret still replaces it, as before. -
A
dockercommand on a server without Docker now stops withDOCKER_MISSINGand its hint whatever the shell prints (docker: command not foundfrom bash or sudo,command not found: dockerfrom zsh,docker: not foundfrom dash), not with a genericDOCKER_ERROR. -
Three places where commands running side by side in one process (the
apps) could answer for the wrong command. A connection with no command
behind it could pin a new server's host key and report it in another
running command's output and audit log; it now refuses to pin and says
so. A secret one command read could be shown in another command's
output if it was read just as that command started; it now stays
hidden for the whole command. And a login to a jump host that one
command opened could carry another command's servers: an AI agent's
command could use a jump-host login a person's command had opened; now
each command opens its own. -
A command stopped while it followed a server's output (Ctrl-C on
logs --follow) could still print a line after it had ended. Output
now stops when the command does.
Update: komando update (sudo komando update when komando is in
/usr/local/bin). From 0.6.0 or older, or to install, run:
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/komando/main/install.sh | shCheck a download: gh attestation verify FILE --repo sgnd/komando