I noticed while approving a redaction, that suggested edits may retain text which is later redacted.

With a bit of mod collusion with Community ♦ and another helpful moderator, I was able to reproduce the problem and provide screenshots without exposing legitimate credentials.

  1. I asked an outstanding question, but accidentally left credentials in the post:

    Image depicting question with secret key exposed

  2. A helpful user who hasn't yet received editing privileges (including anonymous users) came around to fix the typo in my post and re-worded the question to make it more likely to receive a good answer.

  3. I realized I left my credentials in the post, panicked, and raised a flag asking a moderator to redact the token.

  4. Rob ♦ graciously redacted the token for me, what a great guy!

    Image depicting revision history with revisions marked as redacted

And indeed the token is not visible in the actual question either:

Image depicting question with token redacted

Everything worked out in the end! But, I've got a bad memory - so I went back to check exactly what that helpful user edited for me, and lo:

Image showing suggested edit review containing the redacted token

It looks like I was wrong - that helpful user wasn't so helpful! I guess I didn't forget to hide my credentials after all - someone got a hold of them and is trying to get me in trouble with my boss.

This was mentioned here years ago (emphasis mine):

otherwise, your edit just blocks a more thorough editor and potentially leaves traces in the suggested edit history.

However, I haven't found any bug reports detailing this issue. Though it's a minor thing, it does break redactions quite badly, even though they're admittedly not a good way to fix credentials accidentally being exposed to the public.

  • 20
    You just earned the badge [bug-teller], awarded to users that make their bug reports read like a page-turner ....
    – rene
    May 28, 2019 at 6:36
  • 2
    Rob (ban - 2 prior review bans) ♦ smiles viciously May 28, 2019 at 17:32
  • 3
    @iBug Hmmm, he also approved this edit to a blatantly off-topic question, should I ban him a third time? :)
    – ert
    May 28, 2019 at 18:05


You must log in to answer this question.

Browse other questions tagged .