diff options
| author | Claude <noreply@anthropic.com> | 2026-03-22 08:07:07 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-03-22 08:07:07 +0000 |
| commit | 0a0f09866c9275f627c9d2db5c089fdf827639e9 (patch) | |
| tree | 63dafef683a9d2a8f6049a9b94a69292ea1a2f6b /external_plugins/firebase | |
| parent | 61c0597779bd2d670dcd4fbbf37c66aa19eb2ce6 (diff) | |
telegram: gate /start, /help, /status behind dmPolicyclaude/fix-telegram-access-control
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
Diffstat (limited to 'external_plugins/firebase')
0 files changed, 0 insertions, 0 deletions
