Live data from Hacker News

Anyone can access deleted and private repository data on GitHub

trufflesecurity.com

391–394 of 394 posts

Re: Anyone can access deleted and private repository data on GitHub

#391
post #259

Earlier quoted context omitted.

Am I the only one who finds this conceptually confusing?

Nope, me too. The whole Repo network thing is not User facing at all. It is an internal thing at GitHub to allow easier pull requests between repo's. But it isn't a concept git knows, and it doesn't affect GitHub users at all except for this one weird thing.

> Nope, me too. The whole Repo network thing is not User facing at all.

There are some user-facing parts: You can find the fork network and some related bits under repo insights. (The UX is not great.)

https://github.com/apache/airflow/forks?include=active&page=...

Re: Anyone can access deleted and private repository data on GitHub

#392

Earlier quoted context omitted.

No large company running a bug bounty cares one iota about stiffing you on a bounty payment. The teams running this programs are internally incentivized to maximize payouts; the payouts are evidence that the system is working. If you're denied a payment --- for a large company, at least --- there's something else going on. The thing to keep in mind is that large-scale bug bounty programs make their own incentive weat…

In my (admittedly limited) experience, whilst payouts for bugs might be seen as a positive internally, payments for bad architecture/configuration choices are less so (perhaps as they're difficult to fix, so it's politically not expedient to raise them internally). To provide one example I reported to a large cloud provider that their managed Kubernetes system exposed the Insecure port to the container network, meani…

> and asked me not to publicly mention it

Sounds sus. If they said it's "best practice" then certainly they'd want you to tell everyone about it.

If a bug bounty is denied I'd assume you're free to talk about it publicly.

Re: Anyone can access deleted and private repository data on GitHub

#393
post #183

Earlier quoted context omitted.

Your laptop breaks in a way that your disk cannot be recovered. Now what? How often are you backing up your disk? Probably much easier to type "git commit" and "git push"

It's much easier to use an automated backup system/service than to manually run commands.

Thanks. That’s what I was too (flabbergasted?) to express myself in such a succinct way.

Re: Anyone can access deleted and private repository data on GitHub

#394
post #346

Earlier quoted context omitted.

There's a whole section here about how to brute force the hashs. You don't even need the full hash... just a shortened version using the first few chars.

I'm dubious. Searching for globally unique commit IDs is still a least a million+ request operation. That's easy enough in a cryptographic sense but the attack in question requires banging a web UI, which is 100% for sure going to hit some abuse detector. I really don't think you can do this in practice, and the article certainly doesn't demonstrate it.

They released a tool to do this in a followup post: https://trufflesecurity.com/blog/trufflehog-now-finds-all-de...
Post reply on HN