SAP Is Investigating a Cyberattack on Its GitHub Source Code

A laptop showing lines of source code on a dark desk at night

SAP Is Investigating a Cyberattack on Its GitHub Source Code

A laptop showing lines of source code on a dark desk at night

SAP, one of the largest enterprise software companies in the world, is investigating a cyberattack that targeted the GitHub environment where its developers write and store source code. The company confirmed the incident on 27 November 2026, after Der Spiegel first reported it, saying it had identified suspicious activity and taken immediate steps to protect its customers.

The incident matters because of what SAP is. Based in Walldorf, Germany, it employs around 110,000 people in 157 countries and generates more than $40 billion in annual revenue. Its software runs finance, human resources and supply chains for hundreds of thousands of organisations, so an attack on that code is a supply-chain story as much as a single-company story.

What is publicly known so far is a split picture. SAP has confirmed the incident and says it has found no evidence that customer business data was accessed without authorisation. Much of the detail — stolen employee tokens, source code copied and changed, possible use of AI tools — comes from Der Spiegel, citing people inside SAP. This article keeps the two categories separate throughout.

Key takeaways

  • SAP confirmed on 27 November 2026 that it identified suspicious activity and took protective measures, with no evidence so far of unauthorised access to customer business data.
  • Der Spiegel reported, citing SAP insiders and an internal memo, that attackers breached SAP’s GitHub environment, stole employee tokens, and copied and altered source code — unconfirmed by SAP.
  • No threat actor has been named, no repository identified, and SAP has not said whether any altered code reached customers.
  • Reported emergency measures include restricting GitHub access, pausing automated pipelines, and rotating signing keys, under the codename Project Granite.
  • The incident follows a separate April 2026 attack in which malicious versions of four SAP-related npm packages were published in Mini Shai-Hulud.
SAP GitHub incident at a glance
Detail What is known
First reported 26 November 2026, by Der Spiegel, citing an internal memo
Confirmed by SAP 27 November 2026 — suspicious activity found, protective measures taken, no evidence of customer data access
Reported target SAP’s GitHub environment, where source code is developed and stored
Reported method Stolen employee tokens used to copy and alter code, possibly with AI tools — reported, unconfirmed
Internal codename Project Granite — reported by Der Spiegel and Handelsblatt
Customer data SAP says no evidence of unauthorised access to customer business data so far
Attribution None — no actor named, no claim of responsibility

What SAP Has Confirmed So Far

SAP’s public position is short. In a statement shared with several outlets, the company said: “SAP has identified suspicious activity and promptly implemented the necessary measures to protect its customers and preserve the security of its services. Based on our investigation to date, we have found no evidence of unauthorized access to customer business data.” It gave the same account to BleepingComputer, Cybersecurity Dive and SecurityWeek.

Three things are confirmed. First, SAP classified something in its IT environment as suspicious activity. Second, it responded with measures to protect customers. Third, the investigation had found no evidence of unauthorised access to customer business data. The phrase “based on our investigation to date” describes what has been found so far, not a final verdict. It has not specified where the activity was observed, how the attackers got in, or whether customers who download code from SAP’s GitHub repositories need to act. SAP declined to comment on the root cause, leaving the key question — whether any software delivered to customers was touched — unanswered.

What Is Reported but Not Yet Confirmed

Most public detail comes from Der Spiegel, based on an internal SAP memo and sources inside the company. According to that reporting, attackers breached SAP’s GitHub environment after stealing employee authentication tokens, then used that access to copy and alter source code. SAP has not confirmed the token theft, the copying, or the alteration of code, and none of those claims should be treated as established fact.

A laptop showing source code on a dark desk at night, with a coffee mug and notebook nearby
A developer’s desk at night: the reported attack targeted the GitHub environment where SAP’s source code lives.

Der Spiegel also reported that the attackers may have used AI agents — autonomous software tools that can carry out multi-step tasks. But SAP’s statement did not address the AI claim, and no other outlet has confirmed it. It remains a reported possibility, not a confirmed fact. The incident is reportedly handled inside SAP under the internal codename Project Granite. Handelsblatt reported that SAP detected the incident the previous week, placing detection around the middle of November. Neither the intrusion’s start date nor how long the attackers retained access is known.

Why GitHub Access Tokens Are Such a Dangerous Target

A GitHub authentication token is a credential that lets a person — or a piece of software — act on GitHub as if it were that person. Developers use them to push code, pipelines use them to build and test software, and integrations use them to move code. A token with broad permissions can read and write private repositories, and trigger the processes that turn source code into releases.

That is what makes token theft so damaging. An attacker who steals a developer’s token does not need to break through a firewall or exploit a software flaw. They simply log in with legitimate credentials and look like an authorised user. If the token belongs to someone with wide access, or if it is a long-lived token that was never rotated, the attacker can read code across many repositories, copy it, and change it — and small, plausible changes can be hard to distinguish from legitimate work. Earlier in 2026, 1Password disclosed a backend breach and stressed that customer vaults remained safe. SAP’s case differs in one key respect: the reported target was the source code itself. Tokens also accumulate and outlive their purpose, so they need the same discipline as passwords: short lifetimes, least privilege, rotation, and prompt revocation.

Project Granite and SAP’s Emergency Response

According to Handelsblatt, SAP’s emergency response included three steps: restricting access to GitHub, suspending automated development operations, and replacing digital signing keys. SAP has not publicly confirmed the list.

Restricting GitHub access is the first move in any suspected repository compromise: cut off the route the attackers used, and limit who can read or write code while the investigation runs. Pausing automated development pipelines goes further. If there is any chance that code was altered, pausing them stops potentially altered code from flowing into a release. It is costly — Handelsblatt reported the measures affected numerous teams — but it is the right step when the code itself may be compromised. Rotating signing keys is the third step, and the most telling: signing keys prove that software genuinely came from SAP, and if attackers reached the signing systems, old signatures could no longer be trusted.

The April 2026 Warning Sign SAP Already Had

This is not the first time in 2026 that SAP’s software supply chain has been in the news. In April 2026, malicious versions of four SAP-related npm packages were published in the Mini Shai-Hulud campaign, attributed by researchers to a group tracked as TeamPCP: the Cloud MTA build tool mbt 1.2.48, and the SAP packages @cap-js/db-service 2.10.1, @cap-js/postgres 2.2.2, and @cap-js/sqlite 2.2.2.

The April attack worked by publishing malicious versions of legitimate, widely trusted packages. When developers or automated systems installed those versions, a preinstall script ran code that downloaded a hidden payload and harvested credentials — GitHub tokens, npm automation tokens, cloud provider credentials, and other secrets. The stolen credentials were then used to publish infected versions of other packages, spreading the worm on its own. The November incident is a separate event, and it would be wrong to claim a connection without evidence. But the April campaign is relevant context: it showed SAP’s ecosystem was already a target for attackers who specialise in credential theft, and it demonstrated the mechanism — stolen GitHub tokens leading to wider compromise — now being reported in the November incident.

What SAP Customers and Developers Should Do Now

SAP has not yet told customers what to do. It has not said whether customers who pull code from its GitHub repositories need to act, or which environments were affected. The sensible response is a set of low-regret precautions. First, hold SAP dependency versions where they are. Do not let a fresh install float to new SAP versions until SAP says its pipelines are back. Pin dependencies to known versions and build from a committed lockfile. SAP had published nothing new in those package lines since 18 November 2026.

Second, when releases resume, verify them where possible. Some SAP packages carry npm provenance, which proves a package was built by a named GitHub workflow. Not all SAP packages carry provenance, so customers should ask SAP how it will prove that a post-incident release is clean. Third, treat any message about new signing keys as a potential lure: attackers routinely exploit incidents with fake key-rotation notices, so verify key changes only through SAP’s official channels. The aftermath of an incident is itself an attack surface: the College Board breach, in which hackers likely used AI tools to break into student accounts, is a reminder that AI-assisted attacks are a present threat. Fourth, review your own token hygiene. Revoke stale tokens and shorten token lifetimes. The same discipline applies elsewhere: tokenization and AI are already rewriting how finance teams think about corporate cybersecurity, and the controls that matter most are least privilege and rotation.

Frequently Asked Questions

Has SAP confirmed that source code was stolen or changed?

No. SAP has confirmed only that it identified suspicious activity and took protective measures, with no evidence so far of unauthorised access to customer business data. The token theft and code alteration claims come from Der Spiegel, citing insiders; SAP has not confirmed them.

Is customer data at risk?

According to SAP, there is no evidence so far of unauthorised access to customer business data. But the investigation is ongoing, and SAP has not addressed whether software delivered to customers was affected.

Who carried out the attack?

Nobody has been named, and no group has claimed responsibility. Attribution often takes weeks or months, and sometimes never becomes public, so readers should be sceptical of early claims about who was behind it.

What is Project Granite?

Project Granite is the internal codename SAP reportedly gave to its response, according to Der Spiegel and Handelsblatt. It is an internal label, not a product, and SAP has not commented on it publicly.

Should I stop using SAP software or updating it?

There is no public evidence that installed SAP software is compromised, and SAP has not advised customers to stop using its products. The prudent step is to pin dependency versions and wait for SAP to say its pipelines are back.

How is this different from SAP’s job cuts announcement?

It is an entirely separate story. The job cuts relate to SAP’s restructuring and AI shift, affecting around 10,000 roles. This incident is a cybersecurity investigation into suspicious activity in SAP’s GitHub environment.

Bottom Line

SAP has confirmed a real incident in its GitHub environment and taken emergency measures that disrupted its own development teams, and says it has found no evidence of customer business data access. The more alarming details — stolen tokens, copied and altered code, possible AI assistance — are reported by credible outlets citing insiders, but unconfirmed, and SAP has not said whether any altered code reached customers.

For customers and developers, the right response is watchful and practical: pin versions, verify releases when they resume, guard against fake key-rotation messages, and clean up token hygiene. The April npm campaign showed that SAP’s ecosystem was already on attackers’ lists; this incident shows the target has moved closer to the centre — from the packages around SAP’s code to the code itself. What happens next depends on what SAP’s investigation finds, and on how openly the company shares it as 2027 approaches.

on this page