CLI Reference
`bot security`
CLI reference for `bot security` (audit and fix common security footguns)
bot security
Security tools (audit + optional fixes).
Related:
- Security guide: Security
Audit
bot security audit
bot security audit --deep
bot security audit --fixThe audit warns when multiple DM senders share the main session and recommends session.dmScope="per-channel-peer" for shared inboxes.
It also warns when small models (<=300B) are used without sandboxing and with web/browser tools enabled.