GitHub API Key for BrewTestBot is publicly exposed
该报告还没有中文解读。
原文摘录
摘自原文(1524 字符中的一小部分)
While browsing through some old reports, I found that https://jenkins.brew.sh was publicly accessible. I got curious when I saw one of the [brew bottle builds](https://jenkins.brew.sh/job/Homebrew%20Bottles/33255/console) doing a `git push` to BrewTestBot/homebrew-core, and wondered if the …
原文中的代码
$ export GITHUB_API_TOKEN=<github token from above>
$ curl https://api.github.com/repos/BrewTestBot/homebrew-core/git/blobs -u $GITHUB_API_TOKEN:x-oauth-basic -d '{"content":"test"}' -H "Content-Type: application/json"
{
"sha": "30d74d258442c7c65512eafab474568dd706c430",
"url": …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Homebrew 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @ejholmes · 版权归作者与 Homebrew 所有