Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
wavehassman
left a comment
There was a problem hiding this comment.
Right now any admin's token can impersonate anyone just by setting the header, and the bot ends up tied to whichever admin made its token. What if the bot got its own org-level token instead, and that's the only thing allowed to send the slack header? We'd still be trusting the bot to send the right slack ID, but at least it's one secret living in the bot instead of every admin's personal token. Logging who's being impersonated would be nice too for traceability
Yeah this is an approach I considered. I didn't because I was avoiding a schema change, but you right so I will do this |
Custom MCP Slack bot Authentication that can act as a single user: