Skip to content

docs: complete the security guidance - #13431

Merged
cv merged 1 commit into
v1from
docs/security-guidance
Oct 18, 2026
Merged

cv merged 1 commit into
v1from
docs/security-guidance

Conversation

@cv

@cv cv commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

Closes #12643.

Failure

The security page left its main procedures undefined and pointed to #12643 for each:

  • a threat model and hardening;
  • corporate CA provisioning;
  • credential rotation;
  • tracing privacy and retention.

Operators couldn't tell which layer trusts which CA, or how to rotate each credential safely.

Decision

  • Threat model (new threat-model.md):
    • what a deployment protects, and where it lives;
    • the threats, from a prompt-injected agent to network and supply-chain risks, each with its mitigation and the component it relies on;
    • the stated assumptions and remaining risks: a trusted host administrator, the sandbox as the boundary within an agent, best-effort Landlock, Hermes running without approval prompts.
  • Credential rotation (new credential-rotation.md), one procedure per credential type:
    • Keys you supply: rotate through a new variable name, which updates the registration in place.
    • Running agents: per OpenShell's documented behavior, a running agent keeps the old key until its sandbox is replaced. So the old key stays valid until then.
    • Generated keys and managed-gateway keys: rotating means a new deployment.
    • Kubernetes development credentials: their certificates are valid for 365 days.
    • OIDC tokens, registry logins, pull Secrets and kubeconfigs: belong to the issuer or the platform.
  • Corporate CA (security.md): one row per layer, stating what's supported and what isn't:
    • Supported: the client and providers (system store or SSL_CERT_FILE), the engine's own registry trust, and the OIDC issuer (caConfigMap).
    • Not configurable by NemoClaw: OpenShell's gateway and sandbox egress (support in progress upstream, feat(network): support additional destination CAs ai-openshell/openshell#3292) and managed model downloads.
    • Not supported: image builds behind TLS-intercepting proxies.
  • Tracing: what traces contain, where local traces live and when they're deleted, collector retention as the operator's policy, and a review before sharing.
  • Hardening: a checklist built from existing controls.

limits.md keeps only what's still missing. Host-specific security qualification moves to #12641, since it needs hardware.

Validation

  • Each procedure was checked against the code and the pinned OpenShell docs:
    • credential references update registrations in place (composite.rs);
    • running processes keep their credential revision (OpenShell's provider profile docs);
    • apply refuses state whose credentials were removed (usage.md);
    • development certificates last 365 days (kubernetes/auth.rs).
  • The docs check reports 0 errors, including links.
  • cargo ci passes locally.

Adds a threat model, a credential rotation runbook for each credential
type, per-layer corporate CA guidance, tracing privacy and retention
guidance, and a hardening checklist, each checked against the code and
OpenShell's documented credential behavior.
@cv
cv enabled auto-merge (squash) October 18, 2026 17:13
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit f775c82 into v1 Oct 18, 2026
@cv
cv deleted the docs/security-guidance branch October 18, 2026 17:23
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch labels Oct 23, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants