Live data from Hacker News

Incident Report: Inadvertent Private Repository Disclosure

github.com

11–20 of 43 posts

Re: Incident Report: Inadvertent Private Repository Disclosure

#11
post #5

I approve of the handling, but this just underscores why you want self-hosted instances.

Does it? Except for very sophisticated organizations, I doubt it.

You don't hear about intrusions into self-hosted source repositories. Not because there are fewer, but because they likely don't have the security infrastructure in place to know that they ever happened.

Re: Incident Report: Inadvertent Private Repository Disclosure

#12

We received an email from Github yesterday informing us that one of our repositories had been accessed by a third party due to this issue. While it's not a fun notification to receive, it definitely made our general security paranoia feel justified – we're lucky that from the get-go we've held best practices around keeping secrets out of the codebase. Obviously we still dedicated time as a team to prune through our r…

I'm curious, how did they calculate entropy? My first thought was to do something with Huffman encoding.

Re: Incident Report: Inadvertent Private Repository Disclosure

#13
post #12

We received an email from Github yesterday informing us that one of our repositories had been accessed by a third party due to this issue. While it's not a fun notification to receive, it definitely made our general security paranoia feel justified – we're lucky that from the get-go we've held best practices around keeping secrets out of the codebase. Obviously we still dedicated time as a team to prune through our r…

I'm curious, how did they calculate entropy? My first thought was to do something with Huffman encoding.

I wrote the script in question and actually used a simple shannon entropy value. (http://codereview.stackexchange.com/questions/868/calculatin...). It worked well enough help rule out several problem spaces.

Re: Incident Report: Inadvertent Private Repository Disclosure

#14
post #12

Earlier quoted context omitted.

I'm curious, how did they calculate entropy? My first thought was to do something with Huffman encoding.

I wrote the script in question and actually used a simple shannon entropy value. ( http://codereview.stackexchange.com/questions/868/calculatin... ). It worked well enough help rule out several problem spaces.

Would you mind posting the script? I'd love to run it against our codebase and see what it comes up with.

It might be a fun thing to open source as part of a "I've inherited a project, what now?" toolkit that helps you decide what to fix.

Re: Incident Report: Inadvertent Private Repository Disclosure

#16

Earlier quoted context omitted.

I wrote the script in question and actually used a simple shannon entropy value. ( http://codereview.stackexchange.com/questions/868/calculatin... ). It worked well enough help rule out several problem spaces.

Would you mind posting the script? I'd love to run it against our codebase and see what it comes up with. It might be a fun thing to open source as part of a "I've inherited a project, what now?" toolkit that helps you decide what to fix.

Sure. It's a simple tool but the concept could be augmented toward something like the scenario you described.

https://gist.github.com/jasonmoo/06691c8fea09b62aa35235fc93e...

Re: Incident Report: Inadvertent Private Repository Disclosure

#17
post #11
post #5

I approve of the handling, but this just underscores why you want self-hosted instances.

Does it? Except for very sophisticated organizations, I doubt it. You don't hear about intrusions into self-hosted source repositories. Not because there are fewer, but because they likely don't have the security infrastructure in place to know that they ever happened.

Also, there is very little incentive for them to advertise that they've been compromised. Whereas, Github has a duty to disclose that they've been compromised to their clients.

Re: Incident Report: Inadvertent Private Repository Disclosure

#18
post #9
post #7

Earlier quoted context omitted.

Github Enterprise is on-premise too. I don't know that this would make you necessarily want to make both the change to self-hosting, and the change of platform.

Because there is one critical characteristic in a private repository, and they failed to execute. Moving on-prem doesn't fix that failure, it just mitigates fallout.

It seems highly unlikely this commit made it into a GitHub Enterprise release.

Re: Incident Report: Inadvertent Private Repository Disclosure

#20
post #11
post #5

I approve of the handling, but this just underscores why you want self-hosted instances.

Does it? Except for very sophisticated organizations, I doubt it. You don't hear about intrusions into self-hosted source repositories. Not because there are fewer, but because they likely don't have the security infrastructure in place to know that they ever happened.

You don't hear about intrusions into self-hosted source repositories. Not because there are fewer,

[Edit: Multiple downvotes within moments of each other do not make calling out the above speculation any less justified.]

Post reply on HN