Slack Token exposed over internet (Github)
A Slack token was committed in a public GitHub repository's Travis CI configuration file. An attacker could use the token to access the Slack account and read internal communications.
Originally disclosed on HackerOne
- Fixed in 8 days
- Disclosed after 12 months
NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to verify and then potentially issue a bounty, so be sure to take your time filling out the report!
Summary: Slack token is exposed in public github repositoty
Description: This file on one of your github repos contains a Slack token for the RocketChat account.
As noted in the official documentation, if this is to be published, it should be encrypted, which isn't the case here.
Releases Affected:
RCMarkdownParser file on the latest github master branch
Steps To Reproduce (from initial installation to vulnerability):
(Add details for how we can reproduce the issue)
- Go to https://github.com/RocketChat/RCMarkdownParser/blob/1b8a052bcd38bcf459ecb6bb644daa7d70769434/.travis.yml
- Notice the slack token present which can be used to access the account and communications.
Supporting Material/References:
Screenshot attached.
Suggested mitigation
Remove the slack token from the repo and also from the history
Impact
The token can be used to control the account and read internal communications.
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
The token could be used to control the Slack account and read internal communications.
What the attacker needed
Public GitHub repository; no authentication needed
The fix
The token should be removed from the repository and its history.
How it was found
- Open the linked Travis CI configuration file in the public GitHub repository.
- Observe the Slack token present in the file.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A secret token is like a password that lets a program talk to a service. Here, that token was left in a public code repository, so anyone could see it and use it to access the company's Slack workspace.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.