I’ve been poking around looking for something akin to GitHub’s token scanning, but for Discourse, without any luck.
I don’t believe there’s anything in the core functionality or any of the Discourse-supported plugins at any tier that provides this feature and I haven’t found anything external. Did I miss something?
You can do something with watched words here. Just automatically flag posts that have a particular regex that matches canary tokens you have or some interesting password regex.