{"id":20602744,"url":"https://github.com/gruppio/slackwebhooksgithubcrawler","last_synced_at":"2025-04-15T01:54:26.198Z","repository":{"id":44110322,"uuid":"195811297","full_name":"Gruppio/SlackWebhooksGithubCrawler","owner":"Gruppio","description":"Search for Slack Webhooks token publicly exposed on Github","archived":false,"fork":false,"pushed_at":"2022-02-12T09:24:49.000Z","size":1251,"stargazers_count":21,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T01:54:20.768Z","etag":null,"topics":["crawler","crawling","hack","messages","nodejs","puppeteer","slack","slack-bot","slack-webhook","slackbot","webhook"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gruppio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-08T12:51:35.000Z","updated_at":"2021-03-23T20:19:21.000Z","dependencies_parsed_at":"2022-09-03T11:50:28.572Z","dependency_job_id":null,"html_url":"https://github.com/Gruppio/SlackWebhooksGithubCrawler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gruppio%2FSlackWebhooksGithubCrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gruppio%2FSlackWebhooksGithubCrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gruppio%2FSlackWebhooksGithubCrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gruppio%2FSlackWebhooksGithubCrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gruppio","download_url":"https://codeload.github.com/Gruppio/SlackWebhooksGithubCrawler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991540,"owners_count":21194894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crawler","crawling","hack","messages","nodejs","puppeteer","slack","slack-bot","slack-webhook","slackbot","webhook"],"created_at":"2024-11-16T09:14:41.515Z","updated_at":"2025-04-15T01:54:26.174Z","avatar_url":"https://github.com/Gruppio.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/gruppio"],"categories":[],"sub_categories":[],"readme":"# Slack Webhooks Github Crawler\nThis script search for Slack Webhooks token publicly exposed on Github.com\n\nSlack webhooks are easy to search on Github since they have all the same format:\n`https://hooks.slack.com/services/TXXXXXXXX/BXXXXXXXX/xxxxxxxxxxxxxxxxxxxxxxxx`\n\n---\n\n## The Social Experiment\nI've run this script on a cloud function every hour for 6 months and in total I've collected more than **6500 Slack Webhooks**.  \nAfterward I've sent a message to all the #general channels warning that they have an exposed token on Github.  \nThe message received by the people was the following:  \n\u003cimg src=\"https://raw.githubusercontent.com/Gruppio/SlackWebhooksGithubCrawler/images/slackmessage.png\" alt=\"Slack Message\" width=\"350\" border=\"10\" \u003e\n\n\n### Results\nIn total I've sent ~6500 Slack messages and the youtube video that was explaining the experiment had ~3700 views, so we can assume that **roughly 57% of webhooks was still valid.**  \n\\* *Supposing that only one person had watched this video per channel*\n\n### Video Message\nClick on the image for play the video:\n\u003cbr\u003e\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=ybFTGeJICho\n\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/Gruppio/SlackWebhooksGithubCrawler/images/YoutubePreview.png\" \nalt=\"Video\" width=\"480\" height=\"270\" border=\"10\" /\u003e\u003c/a\u003e\n\n### Comments\nMost of the people appreciated that I've sent a message to them and warned them about their security problems.  \nYou can read all the comments under the youtube video that I've sent to them:  \nhttps://www.youtube.com/watch?v=ybFTGeJICho\u0026t=2s\n\n---\n\n## Technical Info\n\nThe script instruments a chromium instance using [puppeteer](https://developers.google.com/web/tools/puppeteer/) and use it to search github the prefix of the slack token.  \nSince the big number of results the script filter for a specific programming language and for a specific sorting option every time it run.\n\n---\n\n## Installation Instructions\n 1) install [nodejs](https://nodejs.org/en/) \n 2) Open your terminal and cd in the repo folder\n 3) Type `npm install`\n 4) Edit `index.js` and insert your Github username and password (needed for perform the search)\n 5) Type `node index.js`\n\nDone! 🎉 \n\n### If you like this project please:\n\n\u003ca href=\"https://www.buymeacoffee.com/gruppio\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/Gruppio/SlackWebhooksGithubCrawler/images/buymeacoffee.png\" alt=\"Buy Me A Coffee\" width=\"300\" \u003e\u003c/a\u003e\n\nGruppio 2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgruppio%2Fslackwebhooksgithubcrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgruppio%2Fslackwebhooksgithubcrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgruppio%2Fslackwebhooksgithubcrawler/lists"}