This is becoming such a common story that I'm starting to think it's a little irresponsible of both Amazon and GitHub to not react better to it. Clearly Amazon is capable of detecting when this happens as evidenced by their rapid response; when they see AWS keys published to GitHub, they should block the account, or at least prevent it from spinning up any new instances. They can then contact the owner over e-mail to…
How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
11–20 of 110 posts
Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#12Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#13This is becoming such a common story that I'm starting to think it's a little irresponsible of both Amazon and GitHub to not react better to it. Clearly Amazon is capable of detecting when this happens as evidenced by their rapid response; when they see AWS keys published to GitHub, they should block the account, or at least prevent it from spinning up any new instances. They can then contact the owner over e-mail to…
This is the answer I would like to see implemented. If they can detect the key they can put a freeze on the account so that only existing resources are available.
They should also have a timeline of all created instances in every zone so you can see what has happened in the last x hours and kill all instances at once.
Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#14P.S.: never ever put keys into repositories. Except those repos are deployment config only.
Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#15Are we really going to run this story every month? "I posted my private AWS keys by mistake on github, a spider got them, I got a huge bill" Yeah, you don't say
He didn't post it by mistake. He asked Visual Studio to create a private repo and it created a public one. A bug which he reproduced.
Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#16Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#17Are we really going to run this story every month? "I posted my private AWS keys by mistake on github, a spider got them, I got a huge bill" Yeah, you don't say
Don't be so quick to dismiss this one. This is notable for several reasons, including (1) it wasn't his mistake, but rather that of a Visual Studio bug not following his instructions to make a private repo on GitHub; (2) the speed in which this happened (minutes), and (3) it has useful analysis into some sorely lacking functionality in AWS that lets this continue to happen.
Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#18Are we really going to run this story every month? "I posted my private AWS keys by mistake on github, a spider got them, I got a huge bill" Yeah, you don't say
Don't be so quick to dismiss this one. This is notable for several reasons, including (1) it wasn't his mistake, but rather that of a Visual Studio bug not following his instructions to make a private repo on GitHub; (2) the speed in which this happened (minutes), and (3) it has useful analysis into some sorely lacking functionality in AWS that lets this continue to happen.
> I am certainly not innocent here and some mistakes were made on my part. [...] To this end, having encrypted access keys or excluding configuration settings from GitHub would have prevented the AWS charges - and this is certainly the approach I would take from now on.
Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#19Re: How a bug in VS2015 exposed my source code on GitHub and cost me $6,500
#20"As a senior developer with over 12 years of experience in the financial services industry, I didn't think it was possible that I could be the victim of a data breach." We're only one sentence in and I'm already very, very nervous about the author's hubris.