Skip to content

fix: restrict Claude slash auth to bot DMs - #165

Open
vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/claude-auth-bot-dm-only
Open

vycdev2 wants to merge 1 commit into
vycdev:mainfrom
vycdev2:fix/claude-auth-bot-dm-only

Conversation

@vycdev2

@vycdev2 vycdev2 commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • register the Claude /auth command only for one-to-one bot DMs
  • reject non-bot-DM interaction contexts at runtime and cover the boundary with a regression test
  • document the security fix in the changelog

Verification

  • npm run build — passed
  • npm test — passed (329 tests)

Risk

  • Low: the change only narrows where the privileged Claude authentication slash command can appear and execute.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant