Files
claude-plugins-official/external_plugins
Claude 0a0f09866c telegram: gate /start, /help, /status behind dmPolicy
The bot command handlers bypassed access control — they responded to
any DM user regardless of dmPolicy, leaking bot presence and
contradicting ACCESS.md's "Drop silently. No reply." contract for
allowlist mode.

Add dmCommandGate() that applies the same disabled/allowlist checks
as gate() without the pairing side effects, and route all three
handlers through it. Also prune expired pending codes before /status
iterates them.

Fixes #854
2026-03-22 08:07:07 +00:00
..