Re:GitHub commit search: “remove password”
by libeclipse on Wednesday February 15, 2017 @09:39AM
(#13652266)
Whoa, that's actually amazing. Wonder how they got alerted and reacted so fast.
[ Parent
| on HN ]
Re:GitHub commit search: “remove password”
by dsp1234 on Wednesday February 15, 2017 @10:29AM
(#13652634)
Github provides a public firehose for events[0]. So it's possible to hook a process to read from the firehose, and look for commit events and then match file contents against the list of API keys.
Re:GitHub commit search: “remove password”
by i336_ on Wednesday February 15, 2017 @06:01PM
(#13656295)
Yikes. So this is where the evil crawlers are sitting.
Reminds me of the water pipeline in Finding Nemo with the crabs above it.
Re:GitHub commit search: “remove password”
by ellisv on Wednesday February 15, 2017 @09:43AM
(#13652297)
Alexa probably overhead the developer swearing…
Re:GitHub commit search: “remove password”
by ecnahc515 on Wednesday February 15, 2017 @10:11AM
(#13652480)
It's cheaper for them to give a few engineers a web crawler project that's this specific than it is to refund people. Im just surprised they don't have an "auto revoke access key if found on interwebz" setting in the AWS account settings actually.
Re:GitHub commit search: “remove password”
by ygjb-dupe on Wednesday February 15, 2017 @12:15PM
(#13653544)
It's not surprising, consider the failure modes:
- a key is made public, and we have to call a user or refund them (for retention purposes)
- a key is made public, and we revoked the key, potentially breaking the customers builds/deploys and potentially knocking a customers stuff out (if, for example, a key is disabled during a push to production).