Algolia · Report #212067
An “algobot”-s GitHub access token was leaked
How it was found
An access token of algobot account was first leaked 2015-12-02 in this Travis CI job log of instantsearch.js project due to incorrect handling of output from command git clone (or a ghpages module to be more specific.) Since then, the configuration of that project seems to have been changed not to perform this operation (last build with token found is from 2016-01-06), but the docsearch project still uses it and leaks algobot's token with every build of the master branch, here's for example the latest one.
This token has a public_repo scope, so it gives commit access to any public repositories its owner has access to. So both instantsearch.js and docsearch are affected.
You may want to verify that there were no suspicious changes since the first leak. Unfortunately I didn't find any way to check the token usage history, so cannot help with that.
Note that I did use this token to get its owner info (GET call to endpoint https://api.github.com/user) and repositories that belong to them (GET call to https://api.github.com/user/repos), but I didn't attempt to perform any other operations.
Also, please be sure to avoid disclosing this issue accidentally (e.g. in commit messages), as I'm still working with others that have similar leaks. Revoking/rotating tokens without explanation with simple “updating the token” should be fine though, generally nobody pays attention to them.