Earlier quoted context omitted.
> Wouldn't that that imply every secret accidentally committed and then 'deleted' is still accessible This should be a moot point because anyone (in IT) should realize that an accidentally committed secret is now 100% public for all eternity and needs to be rendered irrelevant to restore secure operations.
Security isn't rendered in absolutes. We have to assume some sheepish new employee somewhere is scared of approaching management about a mistake they made committing a secret, so they reverse the commit and pretend nothing ever happened. We have to try and mitigate damage from lapses in communication and protocol like that.
Repositories held for ransom by using valid credentials
81–90 of 158 posts
Re: Repositories held for ransom by using valid credentials
#82Earlier quoted context omitted.
In the UK, GMT is often used to refer to "the current British time" both GMT/BST. I've seen the same in the US where people say EST but mean EDT.
Is it? I mean, I'm British and I'm not aware of this.
Re: Repositories held for ransom by using valid credentials
#83Earlier quoted context omitted.
In either case, the secret is already out whether the user wants to admit to it or not
But in one case, damage is mitigated because the sys admins didn't assume everyone is infallible and strictly adheres to protocol.
Re: Repositories held for ransom by using valid credentials
#84Earlier quoted context omitted.
> Wouldn't that that imply every secret accidentally committed and then 'deleted' is still accessible This should be a moot point because anyone (in IT) should realize that an accidentally committed secret is now 100% public for all eternity and needs to be rendered irrelevant to restore secure operations.
Security isn't rendered in absolutes. We have to assume some sheepish new employee somewhere is scared of approaching management about a mistake they made committing a secret, so they reverse the commit and pretend nothing ever happened. We have to try and mitigate damage from lapses in communication and protocol like that.
Re: Repositories held for ransom by using valid credentials
#85Re: Repositories held for ransom by using valid credentials
#86Earlier quoted context omitted.
But in one case, damage is mitigated because the sys admins didn't assume everyone is infallible and strictly adheres to protocol.
Is it mitigated? Once it's leaked you can't force everyone who may have captured it to delete it. So GitHub deleting it doesn't solve the problem.
Re: Repositories held for ransom by using valid credentials
#87What an idiotic strategy to take with git repositories. Every local copy is a complete and fully-functioning copy of not just the code, but all history, etc. It's a non-centralized protocol.
Re: Repositories held for ransom by using valid credentials
#88Earlier quoted context omitted.
Security isn't rendered in absolutes. We have to assume some sheepish new employee somewhere is scared of approaching management about a mistake they made committing a secret, so they reverse the commit and pretend nothing ever happened. We have to try and mitigate damage from lapses in communication and protocol like that.
I agree with the general statement about security absolutism (it's often very dumb and irrational), but in ths case in particular, most keys are swept from GitHub within seconds of being pushed, so the additional harm of not pruning those commits is very low. Data loss concerns are probably a much larger source of harm to weigh against it.
99% coverage is not good enough from a security standpoint, not when we can achieve 100%.
Simply, this functionality should be transparent and toggleable.
Re: Repositories held for ransom by using valid credentials
#89Earlier quoted context omitted.
Security isn't rendered in absolutes. We have to assume some sheepish new employee somewhere is scared of approaching management about a mistake they made committing a secret, so they reverse the commit and pretend nothing ever happened. We have to try and mitigate damage from lapses in communication and protocol like that.
Math and cryptography don't care about a sheepish new employee (thankfully). The fact that leaked secrets will cause trouble is not mitigated by git forgetting a deleted commit. It is only mitigated by revoking that secret and creating a new one and not leaking it. So if a sheepish new employee fails to revoke them, why blame git or any other system? We have contracts, insurance and then criminal code for people who…
Contracts, insurance and criminal code are responsive measures, not preventative measures. Security is preventative, not responsive.
Re: Repositories held for ransom by using valid credentials
#90The title on HN is clickbait, the article mentions Gitlab users storing their own Gitlab password/tokens insecurely. It doesn't look like "Gitlab was compromised" to me. The original title is "Critical security announcement: Suspicious git activity detected".
We are updating our title to better reflect what happened.