News for hackers. Stuff that matters.
Re:Okta says its GitHub account hacked, source code stolen by kerng on Wednesday December 21, 2022 @08:38AM (#34080534)
Another red flag is that they should mention what they will do with clear-text credentials that are in the source code that was stolen.

There are always creds in private/company repos! Lots.

Re:Okta says its GitHub account hacked, source code stolen by chunk_waffle on Wednesday December 21, 2022 @10:57AM (#34082339)
> There are always creds in private/company repos! Lots.

I disagree with the "always" in this statement. Sloppy, lazy private repos sure. It is possible to have them completely absent in any and all repos though I've only seen and been part of such an effort once, it takes a lot of work to make sure it happens and I have little faith in most companies following through with that.

Re:Okta says its GitHub account hacked, source code stolen by TechBro8615 on Wednesday December 21, 2022 @12:08PM (#34083340)
In my experience it's a pretty low bar to keep private credentials outside of source code. If a "security" company like Okta has secrets in their source code, that's embarrassing and unexpected. Any competent team of 2+ developers should be able to avoid this.

However, what's more common is secrets in CI variables. If their GitHub was breached, they should be more concerned with whether the attackers had access to GitHub Actions logs or secrets.

Re:Okta says its GitHub account hacked, source code stolen by nobleach on Wednesday December 21, 2022 @12:59PM (#34084069)
In this day and age, I really do not understand why one of the first steps when spinning up a new repo (for this type of app) is not leveraging a tool like dotenv, and then a config system that uses environment variables for things like db credentials/etc. Yes it takes another hour of time to get that all going but, in the long run, you'll thank yourself!

I've worked in places where all the code was open to all teams, with the exception of DevOps because they had too many hardcoded secrets and never had time to clean up their mess. I get it, they really were spread thin... but it should have never happened in the first place.

Re:Okta says its GitHub account hacked, source code stolen by madcadmium on Wednesday December 21, 2022 @02:10PM (#34084971)
Okta employee here. I can assure you that there are no clear-text credentials in our source code.