Repository navigation
Commit 7da23ac
committed
fix(remote-connect): require pairing before IM bots accept a chat
Feishu, Telegram and WeChat bots created chat state as paired for any chat
that reached the message loop, so an unknown chat could run commands after
the first pairing. Authorization now requires the chat's own paired state,
outbound paths never create state, wrong pairing codes are rate limited, and
legacy persisted paired chats are restored.1 parent 2cbaee5 commit 7da23ac
5 files changed
Lines changed: 2408 additions & 446 deletions
File tree
- src/crates/assembly/core/src/service/remote_connect/bot
0 commit comments