Ok, I just had a random malicious commit added to a #github repo, without a branch or tag.
Has anyone seen this before?
Is there a way of dealing with it?
Has anyone seen this before?
Is there a way of dealing with it?
@distantcam
Do you mean somebody spoofed your identity in a malicious commit? If so, not much other than turning on verification and others enabling vigilant mode.
If someone magically added a commit to a repo you own without a PR that sounds more like account takeover to me in which case rotate creds and tokens asap, use mfa if not already etc.
Either way if you have deets send them through to GitHub’s security team, it could be part of an active campaign. The former scenario is quite a common thing these days.