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). Everpod’s OpenClaw pod arrives with these defaults intact, because the default-closed door is one of the best decisions OpenClaw made on your behalf.

Give your AI agents a permanent cloud computer.

We set it up and secure it, so all you do is use them. Run Claude Code, Codex or any agent you use, more at once than your laptop can hold, and keep them working when it’s closed. Or have OpenClaw set up and run for you.

See the developer pod

From $24/mo · your own plan or API key

Get your OpenClaw agent

$29/mo, cancel anytime · model usage included