Unexpected security log events after authorizing CodeRabbit #201656
Replies: 3 comments
|
Hi there, This is a really concerning situation, and you're absolutely right to be alarmed. Let me break this down for you. 🚨 The short answer: No, this is NOT normal. A GitHub App or OAuth integration like CodeRabbit should never trigger events like: payment_method.remove org.remove_member personal_access_token.access_revoked These are highly sensitive security events that should only happen through manual user action or a compromised account. What's likely happening here: There are two possibilities:
It's possible that an attacker had access to your account before you installed CodeRabbit, and the timing is purely coincidental. The attacker may have: Removed the org owner to lock you out Removed payment methods to avoid detection Revoked tokens to prevent recovery
Authorizing CodeRabbit generated new OAuth tokens. If your account was already compromised, the attacker might have used this moment to execute their malicious actions while you were distracted. What to do RIGHT NOW (urgent): Contact GitHub Support IMMEDIATELY Go to: https://support.github.com/contact Choose "Security" → "I suspect my account has been compromised" Tell them: Your organization owner was removed Payment method was removed Tokens were revoked Provide the exact timestamps from your security log Share the screenshot you have This is a security emergency – GitHub Support prioritizes these tickets. Do NOT try to re-add yourself as an owner yet Wait for GitHub Support to help you recover the organization properly. Doing it wrong might lock you out permanently. Check your personal account security Go to Settings → Security → Sessions and revoke all active sessions Enable 2FA if you haven't already Check Settings → SSH and GPG keys for any unknown keys Check Settings → Applications → Authorized OAuth Apps and revoke anything suspicious Change your password immediately Review the CodeRabbit permissions Even if CodeRabbit is innocent, check what permissions you granted: Go to Settings → Applications → Installed GitHub Apps Click on CodeRabbit and review the permissions it requested If it had admin:org or repo permissions, that's normal for a code review bot But it should NOT have billing or member management permissions To answer your specific questions: "Has anyone else seen similar events after authorizing CodeRabbit?" I haven't seen widespread reports of this. CodeRabbit is a legitimate and well-known tool. This strongly suggests your account was compromised before installing CodeRabbit, and the timing was coincidental. "Can GitHub confirm if these actions were tied to the OAuth app?" Yes! GitHub's audit logs show: The user who performed each action The IP address The user agent (browser/device) Whether it was done via the UI, API, or OAuth app GitHub Support can tell you exactly what performed those actions – whether it was your account, an attacker, or CodeRabbit's OAuth token. Summary of actions: ✅ Contact GitHub Support immediately – this is urgent ✅ Revoke all sessions and change your password ✅ Enable 2FA if not already done ✅ Check for unknown SSH keys and authorized apps ✅ Wait for GitHub Support to help restore org ownership ❌ Do NOT try to re-add yourself as owner manually I know this is scary, but GitHub's security team is actually very responsive to compromised account reports. They can help you recover everything. Keep us posted! Stay calm and act quickly. 🙏 |
|
These events fall into two groups.
I suggest opening each event and comparing these fields:
The event names can be misleading without those details. I suggest preserving the event details and timestamps before changing anything else. Since the organization owner isn't accessible anymore, secure the personal account, revoke any suspicious sessions and app authorizations, review SSH keys and tokens, and open a GitHub security support ticket. Include the event timestamps and IDs, but don't post sensitive log details publicly. Only GitHub Support can correlate these events with backend authentication and access records. References: |
|
I would treat this as an incident investigation, but I would be careful about attributing all of the events to CodeRabbit just from timing. The events you listed are not all the same class: The second group needs investigation, but GitHub Support will need the event-level metadata to connect or separate them. Before changing anything else, I would export/preserve the details for each event and compare:
GitHub’s references for the event names are useful here:
A few important interpretations:
Immediate steps I would take: Because you no longer have an active organization owner, I would explicitly frame the ticket as an organization recovery / suspicious audit-log correlation issue, not just a question about CodeRabbit. Only GitHub can confirm whether the same actor/session/app was responsible for the |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Issues
Body
Hi everyone,
I’m trying to understand whether anyone else has experienced something similar after authorizing the CodeRabbit integration on GitHub.
Shortly after connecting CodeRabbit to my GitHub account, I noticed several unexpected events in my GitHub security log, including:
What concerns me most is that these events appeared right after the integration was connected, including removal from the organization, payment method removal, and revocation of personal access token access.
At the moment, we also no longer have an active organization owner on our side because the owner account/member was removed, so we are currently unable to manage organization settings or fully investigate this from within the organization.
At this point, I am not claiming with certainty that CodeRabbit directly caused all of these changes, but the timing is concerning and I want to understand whether:
If anyone has seen something similar, I would appreciate hearing what happened and how you verified the cause.
Thanks.

Guidelines
All reactions