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

Your own cloud agent, set up for you.

Everpod runs OpenClaw on a private, always-on computer of its own: set up, secured and backed up, with model usage included. You name your agent, and say hello about fifteen minutes later.

Create your agent

First month half price, then $29/mo · model usage included · cancel anytime

Wondering what you’d do with one? See what a cloud agent can do