fased security
Security tools for auditing the runtime and applying a narrow set of
deterministic fixes.
Related:
- Security guide: Security
Audit
- Shared DM inboxes: recommends secure DM mode
session.dmScope="per-channel-peer"orper-account-channel-peerfor multi-account channels. - Shared-user ingress: emits
security.trust_model.multi_user_heuristicwhen open DM/group policy, group targets, or wildcard sender rules suggest that several people may be sharing one runtime. - Shared-user hardening: recommends sandboxed sessions, workspace-scoped file access, and keeping personal identities or credentials off shared runtimes.
- Model/tool risk: warns when small models (
<=300B) can use web/browser tools without sandboxing. - Webhook ingress: checks
hooks.defaultSessionKey, requestsessionKeyoverrides, andhooks.allowedSessionKeyPrefixes. - Sandbox drift: checks Docker settings while sandbox mode is off, unsafe Docker network modes, and browser containers with missing or stale config hash labels.
- Node command policy: reports ineffective
gateway.nodes.denyCommandspatterns and dangerous entries ingateway.nodes.allowCommands. - Tool policy: reports global
tools.profile="minimal"overrides, open groups with runtime/filesystem tools, and extension plugin tools reachable under a permissive policy. - Network exposure: flags
gateway.allowRealIpFallback=true,discovery.mdns.mode="full", and browser Dockerbridgemode withoutsandbox.browser.cdpSourceRange. - Supply-chain records: warns when npm-based plugin or hook install records are unpinned, missing integrity metadata, or drift from installed package versions.
- Channel allowlists: warns when allowlists rely on mutable names, emails, or tags instead of stable IDs.
- Gateway auth: warns when
gateway.auth.mode="none"leaves HTTP APIs reachable without a shared secret.
dangerous or dangerously are explicit break-glass
operator overrides. Enabling one is not, by itself, a vulnerability report.
For the complete dangerous-parameter inventory, see the
“Insecure or dangerous flags summary” section in Security.
JSON output
Use--json for CI/policy checks:
--fix and --json are combined, output includes both fix actions and final report:
What --fix changes
--fix applies conservative, deterministic remediations:
- flips common
groupPolicy="open"togroupPolicy="allowlist"(including account variants in supported channels) - sets
logging.redactSensitivefrom"off"to"tools" - tightens permissions for state/config and common sensitive files such as
credentials/*.json,auth-profiles.json,sessions.json, and session*.jsonl
--fix does not:
- rotate tokens/passwords/API keys
- disable tools (
gateway,cron,exec, etc.) - change gateway bind/auth/network exposure choices
- remove or rewrite plugins/skills