Mintlify GitHub read/write token leak
mintlify.com
Mintlify GitHub read/write token leak
1–10 of 45 posts
Re: Mintlify GitHub read/write token leak
#2I saw this pop up based on this Reddit thread and on Twitter as well:
https://www.reddit.com/r/ExperiencedDevs/comments/1bf7eqa/ni...
This seems serious? Is this really serious?
Why would they need to save these tokens in the first place?
Re: Mintlify GitHub read/write token leak
#3I'd been interested in Mintlify and their documentation platform for a while. I saw this pop up based on this Reddit thread and on Twitter as well: https://www.reddit.com/r/ExperiencedDevs/comments/1bf7eqa/ni... This seems serious? Is this really serious? Why would they need to save these tokens in the first place?
Everyone should audit their GitHub Apps periodically/avoid using them if at all possible IMO. Most of these integrations are just a convenience for adding webhooks, which you can do yourself without compromising security. Always prefer "outbound" integrations.
Re: Mintlify GitHub read/write token leak
#4I'd been interested in Mintlify and their documentation platform for a while. I saw this pop up based on this Reddit thread and on Twitter as well: https://www.reddit.com/r/ExperiencedDevs/comments/1bf7eqa/ni... This seems serious? Is this really serious? Why would they need to save these tokens in the first place?
Re: Mintlify GitHub read/write token leak
#5Re: Mintlify GitHub read/write token leak
#6SOC 2 compliant. Tells you exactly how useful SOC compliance is.
It's surprisingly common for places to be SOC compliant, yet their latest report has half a dozen or more gaps/findings.
Re: Mintlify GitHub read/write token leak
#7Re: Mintlify GitHub read/write token leak
#8For customer OAuth tokens, I believe you should NEVER store the access token in the database. Only store the refresh token in the database. When you need api access, get a new access token with the refresh token and client secret.
This prevents incidents like the above as the attacker would also need your client secret, which is ideally not in your database.
Re: Mintlify GitHub read/write token leak
#9SOC 2 compliant. Tells you exactly how useful SOC compliance is.
Re: Mintlify GitHub read/write token leak
#10I think the best thing I can say about it is this: Mintlify helps us write better docs. Before Mintlify, we had a humongous readme plus a few one-off articles in the wiki. After switching the Mintlify, we started organizing things better, beginning with a less overwhelming readme.
I found out about this hack when they sent me an email yesterday. I looked through the git history (edit: and github activity), but nothing seems awry.
It sucks, but they're a pretty small business, and I think they're handling it reasonably well.