The SAP GitHub incident: why stolen tokens are an identity security failure
Identity risk is no longer limited to human logins. Learn how stolen GitHub tokens and over-scoped non-human identities expose enterprise source code, and why mapping identity reach is now essential.
Key takeaways
- Tokens are weakly governed identities: Personal Access Tokens (PATs), OAuth grants, and machine credentials skip MFA at use time. SSO authorizes them once, and they often run without a clear owner, expiry policy or access review.
- Visibility into reach is essential: Preventing supply chain compromise requires mapping every token's effective reach across repositories, build pipelines, and code-signing keys before an incident occurs.
This summary was created with AI and reviewed by an editor.
Featured event: a CISO’s take
Join Jim Alkove and Ramy Houssaini to learn how forward-thinking security teams are addressing Enterprise AI Copilot risks.
TL;DR SAP has confirmed it is investigating suspicious activity involving its GitHub environment. While details remain under investigation, reports indicate attackers may have obtained employee authentication tokens to access and alter source code repositories. The incident highlights a broader challenge facing enterprises: machine identities, tokens, and service credentials often operate with significant privileges but limited governance.
When news broke of a security incident inside SAP's development environment, the immediate focus centered on the potential impact on enterprise source code. For CISOs and security architects, however, the real lesson isn't about software supply chain mechanics alone. It is about what happens when an attacker holds a valid credential.
Is the SAP incident an identity security issue?
Based on publicly reported information, the answer is yes.
While SAP has confirmed only that it detected suspicious activity involving its GitHub environment and found no evidence of unauthorized access to customer business data, reporting by Der Spiegel, Handelsblatt, and SecurityWeek points to an identity-driven attack path:
- Credential Theft: Threat actors reportedly obtained authentication tokens belonging to SAP employees.
- Repository Access: Using those tokens, attackers accessed SAP's GitHub environment to copy and modify source code, possibly with help from AI agents.
- Emergency Containment: According to Handelsblatt, SAP responded by restricting GitHub access, pausing automated development operations, and rotating its code-signing keys.
The reported access inside GitHub did not rely on breaking a perimeter firewall or exploiting a GitHub zero-day. Instead, attackers used valid authentication tokens associated with SAP employees.
Whether those credentials were Personal Access Tokens (PATs), OAuth grants, API tokens, or another form of machine credential, the type sets the blast radius (a classic PAT reaches every repository the user can access, a fine-grained PAT only the repositories it was granted), but each one is an identity.
In modern enterprises, access is determined less by network boundaries and more by identities and their privileges. When an attacker gains control of a trusted credential, they inherit the permissions associated with that identity. That reality extends far beyond GitHub.
The bigger problem: unmanaged machine identities
Non-Human Identities (NHIs) such as PATs, OAuth tokens, deploy keys, and service accounts authenticate directly via API. They skip MFA at use time and often sit in governance blind spots:
- No clear ownership: Tokens are generated quickly to unblock a build, test an integration, or connect a third-party app, often without an assigned business owner.
- Standing, over-scoped privilege: To prevent CI/CD pipelines from breaking, developers frequently grant tokens broad read and write scopes across dozens of repositories rather than strict least privilege.
- Indefinite lifespans: Many tokens are created without expiration dates, outliving the project or even the employee they were created for.
When an attacker compromises a developer workstation or an upstream package, they aren't just stealing a password. They are harvesting a portfolio of standing machine identities.
How do AI agents change the blast radius of a stolen token?
Autonomous AI coding assistants and agentic workflows rely on the exact same PATs, OAuth tokens, and API keys as traditional scripts, but they execute actions at machine speed.
Whether an attacker is deploying agentic AI tools to enumerate repositories or hijacking an internal enterprise AI agent already wired into GitHub, reconnaissance and code changes across every repository the token can reach run at machine speed.
A token does not sign code, the pipeline does. If a stolen token can push to a core repository and branch protection does not require review, the push triggers CI and the pipeline signing key signs the change. That is why pausing automated operations and rotating signing keys, as SAP reportedly did, cuts the trust chain. No report so far says tampered code reached SAP customers.
Three questions every security team must ask about developer identities
To prevent token compromise from turning into a supply chain crisis, security leaders must move beyond basic secret scanning and ask three fundamental governance questions:
- Inventory: Do you have a real-time inventory of every PAT, OAuth app, deploy key, and machine token connected to your source code repositories?
- Ownership: Can you trace every active token back to a verified human owner or service, and verify whether the project it supports still exists?
- Effective Reach: If a specific developer token were stolen right now, do you know every repository it can push to, every CI/CD secret it can read, and whether its path leads to production?
The Oleria POV: Governing identity reach before attackers exploit it
Oleria was built to eliminate the blind spots between human users, Non-Human Identities, and AI agents. Through the Oleria Trustfusion Platform and Identity Context Graph, security teams gain continuous visibility into how developer credentials actually behave across SaaS and cloud environments:
- Continuous NHI and Token Discovery: Oleria discovers PATs, OAuth grants, service accounts, and AI agent credentials that platforms like GitHub expose through their APIs (for GitHub, fine-grained PATs and SSO-authorized credentials), and maps each one to an accountable owner.
- True Reach and Blast-Radius Mapping: Rather than just listing token scopes, Oleria maps downstream trust relationships. It shows you exactly which tokens have write access to sensitive repositories or production deployment pipelines.
- Activity, Ownership, and Reviews: Oleria shows whether each NHI is active, idle, or rarely used, assigns it an accountable owner, and runs access reviews. If a review goes overdue, Oleria can disable the NHI.
Attackers no longer need to break into your development environment when they can simply authenticate into it.
Ready to uncover hidden token risk in your environment? Book a demo with Oleria to map your non-human identity reach today.
Sources & References
BleepingComputer: SAP confirms security incident after suspicious GitHub activity (November 27, 2026), Cybersecurity Dive: SAP investigates suspected attack impacting source code (November 28, 2026), SecurityWeek: SAP Confirms Cyberattack, Source Code Reportedly Compromised (November 27, 2026), The Record: Software giant SAP confirms cyber incident amid reports of source code breach (November 27, 2026), SOCRadar: SAP Security Incident: GitHub Tokens and Source Code (November 27, 2026), Der Spiegel: SAP wird Opfer von Hackerangriff, Handelsblatt: SAP IT security incident
Disclaimer
This article is provided for informational and educational purposes only and reflects Oleria's perspective on identity security best practices. Analysis of the November 2026 SAP security incident is based on public statements from SAP as well as third-party media reporting (including Der Spiegel, Handelsblatt, BleepingComputer, and SecurityWeek) available at the time of publication. Because the investigation is ongoing, certain technical details cited from press reports have not been officially confirmed by SAP. Oleria makes no representations regarding the final findings of SAP's internal investigation.

%20(1).png)
.png)
