GuidesSecurity

OpenClaw pairing, allowlists, and dmPolicy, explained

Who can talk to your agent is a setting — and the default is nobody you haven't approved. How pairing codes, allowlists, and group mention-gating work.

July 17, 2026The Everpod team
The short answer

dmPolicy is OpenClaw’s answer to “who can talk to my agent?” — per channel, one of four modes. The default, pairing, challenges unknown senders with a short-lived code that you approve from the CLI; allowlist admits only pre-listed senders; open answers anyone (don’t); disabled ignores DMs entirely. In groups, the companion control is mention-gating — the agent only responds when addressed.

Why inbound access is THE security setting

Most security thinking about agents focuses on outbound powers — what the agent can do. Inbound access is the quieter half: anyone who can message your agent can attempt to steer it. Your bot’s Telegram handle is guessable public namespace; a WhatsApp number gets wrong-number texts; prompt injection is a thing strangers can try by simply talking. So OpenClaw’s design makes “who gets a conversation” an explicit, default-closed gate — and understanding it beats both the failure modes we see: frustration (“my own bot ignores me!”) and the reflexive fix that’s worse (open).

The four DM policies

Groups: mention-gating

In group chats the question inverts — the agent can see everything, so the control is when it’s allowed to speak and act. The standard setting (requireMention: true, per group or as the "*" default) means the agent responds only when addressed. Leave it on: an agent that reacts to every message in a lively group is one prompt-injection-shaped message away from acting on something nobody asked it to.

The mental model

Pairing and allowlists are the front-door lock; they compose with the rest of the posture — a private Gateway, a dedicated machine, and the audit that checks all of it (inbound access policies are one of its named checks). On our pods these defaults arrive intact — pairing on, approval as part of onboarding — because the default-closed door is one of the best decisions OpenClaw made on your behalf.

Don’t want to run it yourself?

Everpod hosts OpenClaw for you: a private, always-on cloud computer of your agent’s own — set up, secured, and backed up, with its software kept up to date and $10 of model usage included every month. Nothing to configure, no surprise bills — just say hello.

Request early access
$29/mo · $10 model usage included · cancel anytime