Find Slack token literals (xoxb-/xoxp-/xoxa-/xoxr-/xoxs-)
ProprietarySlack bot/user/app tokens follow the xox[abprs]- pattern. A leaked token lets a third party read channels, post as your bot, and pull workspace metadata.
org. openrewrite. kotlin. security. FindSlackTokenLiteral$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindSlackTokenLiteral$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.