Auto force push attacking all repos and branches #198490
Replies: 2 comments
-
|
This behavior is not caused by GitHub itself — it indicates that your local environment or organization machines have been compromised by a malicious script. GitHub does not auto‑force push or inject files into repositories. Steps to resolve:
In short: this is a local security issue, not a GitHub platform bug. Securing your environment and rotating credentials will stop the auto force pushes. |
Beta Was this translation helpful? Give feedback.
-
|
The previous answer is on the right track -- this is not a GitHub platform issue, it's a compromised developer machine (or multiple machines in your org). The Where the attack is likely running from on infected machines:
Immediate containment steps:
Finding patient zero: Look at the git commit metadata on the injected commits. The author email and machine name (often visible in commit metadata) can help identify which developer's machine is the source. Once you've secured credentials and enabled branch protection, the force pushes will stop even if a machine is still infected. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
did you guys experience a kinda thing in github, auto force pushes happening on every repo and all branches, and a config.bat file being injected automatically? It's continuously happening to our office organization even after we clean it up
when github solve this issue? any idea?
Beta Was this translation helpful? Give feedback.
All reactions