summaryrefslogtreecommitdiff
path: root/plugins/plugin-dev/skills
diff options
context:
space:
mode:
authorNoah Zweben <noahz@anthropic.com>2026-04-23 12:02:34 -0700
committerGitHub <noreply@github.com>2026-04-23 12:02:34 -0700
commit5a71459c03148c5952923bcdf6d399bc4da8dc70 (patch)
treefddccba151662772b9a3415745e5e2f36849721e /plugins/plugin-dev/skills
parentae54b113c47ebdd47835f6727b9df5a33116b972 (diff)
telegram: gate /start, /help, /status behind dmPolicy (#894)
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 Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'plugins/plugin-dev/skills')
0 files changed, 0 insertions, 0 deletions