Files
openclaw/docs/cli/security.md

25 lines
713 B
Markdown
Raw Normal View History

2026-01-15 06:12:54 +00:00
---
summary: "CLI reference for `moltbot security` (audit and fix common security footguns)"
2026-01-15 06:12:54 +00:00
read_when:
- You want to run a quick security audit on config/state
- You want to apply safe “fix” suggestions (chmod, tighten defaults)
---
# `moltbot security`
2026-01-15 06:12:54 +00:00
Security tools (audit + optional fixes).
Related:
- Security guide: [Security](/gateway/security)
## Audit
```bash
moltbot security audit
moltbot security audit --deep
moltbot security audit --fix
2026-01-15 06:12:54 +00:00
```
The audit warns when multiple DM senders share the main session and recommends `session.dmScope="per-channel-peer"` for shared inboxes.
2026-01-21 01:24:10 +00:00
It also warns when small models (`<=300B`) are used without sandboxing and with web/browser tools enabled.