Skip to content
Komando

Security standards

How komando measures up against the international security standards that fit a DevOps tool that holds credentials and is driven by AI agents. · Safety

This is a self-assessment, checked against the code and tests. It is not a certificate: a certificate (ISO 27001, SOC 2) is given to an organization for how it works, and komando can only give you controls to use there.

The status column says met, partly met (with the gap named) or yours to do (a step only you can take).

Check it yourself

komando doctor          # security: permissions, vault, audit chain, unencrypted conns
komando audit verify    # nobody edited the audit log
make lint security      # staticcheck, govulncheck (run in a copy of the source code)
make fuzz               # fuzz the parsers that read untrusted text

OWASP ASVS 4.0.3 (Application Security Verification Standard)

RequirementHow komando meets itStatus
2.10, 6.4 Secrets are not in code, arguments or historyVault, secret:NAME references, external managers (HashiCorp Vault/OpenBao, AWS and Google Secret Manager, Azure Key Vault, Bitwarden, KeePass, 1Password Connect); secret values on a command line are refusedMet
6.2 Approved algorithms, no home-made cryptoAES-256-GCM (each value bound to its name), scrypt N=2^17 r=8 p=1, crypto/rand, Ed25519 keys, Go's SSH and TLSMet
6.4.2 Key material is protectedEverything komando keeps is sealed in one file (store.db, AES-256-GCM per record). A new vault keeps its key in the OS keychain (macOS keychain, Linux Secret Service, Windows Credential Manager), read back before it counts; passphrase mode keeps no key on disk; where neither is there, a key file readable only by you (mode 0600 in a 0700 folder, or an owner-only access list on Windows); komando secret keychain moves a key from that file into the keychainMet with the keychain or a passphrase. Partly met without a keychain: the key file sits next to the vault (doctor warns)
4.1.3, 4.3.1 Least privilege, administrative interfaceskomando ssh-gate limits another device's SSH key to komando: no shell (a --shell-access line adds one login shell on a listed server that is not protected) and no forwarding, agent rules, nothing written on the komando computer (nor through a sqlite file, and nothing, a read either, on a target at a loopback address), --read-only keys run only reads, and only those that stay on listed servers and conns unless the line has --network, every command audited with the key's nameMet. Yours to do: add phone keys with komando ssh-gate line
7.1 Logs record who, what, where, result, without secretsEvery action: time, actor, AI agent, approval, hosts, command; tested to hold no passwordMet
7.3 Logs are protected from changeThe audit log is sealed in store.db, a hash chain that komando audit verify checks; with the key in the keychain, an old copy of the store put back stops every command (STORE_OLD_COPY); and each record can go to a log server with audit_syslogMet with audit_syslog. Partly met without it: the same user can rebuild the chain or cut its end
8.3 Sensitive data is not shown to those who should not see itVault values hidden for everyone; passwords, keys and tokens hidden for AI agents komando recognisesPartly met: masking is a best effort, and an unusual name can slip through
9.1, 9.2 Connections are encrypted and the server is checkedSSH host keys (stop on mismatch; the first key is shown with its fingerprint); SSH asks first for the post-quantum hybrid key exchange mlkem768x25519-sha256 (OpenSSH 10's default, also in OpenSSH 9.9), then curve25519; TLS 1.2+ for Redis, Kubernetes, FTPS, HashiCorp Vault and the built-in VPN clients; WinRM over HTTPS with the certificate checked (plain HTTP only with ?tls=off); SMB shares sign every message and are encrypted when the server asks for it; IKEv1 without 3DES or DH groups below 14 by default; no PAP by default; plain FTP and WebDAV need ?insecure=1, and new plain Redis and memcached conns across the network tooPartly met: new Postgres and MySQL conns across the network check the certificate unless the URL says otherwise; saved conns follow their URL, and doctor warns about those without verified TLS and prints the fix. --legacy-crypto (3DES, DH groups 2 and 5) and --allow-pap turn the weak options back on for one VPN, with a person's yes
12.3 Files: no path traversalFolder downloads refuse server paths that lead outside the targetMet
14.2 Dependencies are known and kept up to dateGo modules, govulncheck in CI, DependabotMet

OWASP Top 10 for LLM Applications (2025)

RiskHow komando meets itStatus
LLM01 Prompt injectionThe agent rules say server output is data, never instructions; risky actions need a person's click, which injected text cannot givePartly met: no tool can stop injection itself, only limit what it reaches
LLM02 Sensitive information disclosureMasking for agents, SENSITIVE_FILE, the guard on this computer (Claude Code, Cursor, Gemini CLI, Codex), secret show --reveal for people onlyPartly met: masking only works for an agent komando recognises: Claude Code, Codex, Cursor, Gemini CLI, or any agent with KOMANDO_AGENT=1 set
LLM05 Improper output handlingMasked text is never written back (HIDDEN_VALUE); every command an agent sends passes the policy filterMet
LLM06 Excessive agencyReads by default (--read-only, --write), protected targets, a person allows --yes, --allow-dangerous and --reveal, the audit log names the agentPartly met: the approval window for --yes, --allow-dangerous and --reveal only works for an agent komando recognises (see LLM02); another agent counts as a script
LLM10 Unbounded consumptionTimeouts, output limits per host, parallelism limits, long work as jobsMet

NIST

ControlHow komando meets itStatus
SP 800-63B Passphrase lengthdoctor warns below 15 charactersPartly met: warned, not enforced
SP 800-132 Key derivationscrypt with a stored cost; older vaults move up on their next changeMet
SP 800-53 AC-6 Least privilegeAI agents read by default and need a person for more; another device's SSH key runs only komando, read-only if you choose (ssh-gate)Met. Yours to do: give komando an SSH user with only what it needs
SP 800-53 AU-2, AU-3, AU-9 Audit events, content, protectionSee ASVS 7Partly met
SP 800-53 SC-8 Transmission confidentialitySee ASVS 9Partly met
SP 800-53 SI-7 Software integrityRelease checksums and signed build provenanceMet
SP 800-218 (SSDF) PS.3, PW.7, PW.8, RV.1Provenance, static analysis (staticcheck, vet), unit, end-to-end and fuzz tests, vulnerability scansMet

ISO/IEC 27001:2022 Annex A and CIS Controls v8

komando gives you controls for these; the certificate is about your organization.

Controlkomando's part
A.5.17 Authentication information · CIS 3.11Encrypted vault, references instead of values
A.8.2 Privileged access · CIS 5.4Protected targets, approval window, policy filter
A.8.5 Secure authenticationSSH keys and agent, host key checks, keys limited to komando (ssh-gate)
A.8.15 Logging · CIS 8Audit log with hash chain
A.8.24 Use of cryptography · CIS 3.10AES-256-GCM, scrypt, SSH, TLS 1.2+
A.8.28 Secure coding · CIS 16Static analysis, fuzzing, pinned build tools

Supply chain: OpenSSF Scorecard and SLSA

CheckStatus
Security-Policy (SECURITY.md, private reports)Met
Token-Permissions (CI reads only; release writes only what it must)Met
Pinned-Dependencies (actions pinned to a commit, tools to a version)Met
Dependency-Update-Tool (Dependabot)Met
SAST and Vulnerabilities (staticcheck, govulncheck)Met
Fuzzing (masking, output views, policy filter (shell and PowerShell), guard, SQL scanner, OpenVPN, IPsec, L2TP, Pulse, SSM and Bitwarden parsers)Met
Signed-Releases: SLSA Build Level 2 provenanceMet. Check a download with gh attestation verify komando_*.tar.gz --repo sgnd/komando
Branch-Protection, Code-ReviewYours to do. In GitHub, protect main, require a review and CI

Limits

What komando does not cover:

  • An AI agent is your own user. komando stops mistakes and injected instructions; it cannot stop a program that runs as you and means harm. Real isolation needs an OS sandbox or a separate user account for the agent.
  • The vault key is not on a hardware key (a YubiKey, a TPM); the OS keychain is the strongest place komando keeps it.
  • The approval window is one click unless you turn on an approval code (komando config approval-code): then it also needs the 6-digit code from your authenticator app.
  • The guard runs only where the agent's harness asks for it. komando guide install sets it up for Claude Code, Cursor, Gemini CLI (v0.26+) and Codex (approve it once in /hooks). It is tested with each one's documented hook input. An agent without hooks gets only the approval window and the masking, and only when komando recognises it: Claude Code, Codex, Cursor, Gemini CLI, or any agent with KOMANDO_AGENT=1 set.

Source: docs/features/security-standards.md in sgnd/komando at commit b622784.