SAP Confirms GitHub Security Incident After Reports of Stolen Tokens and Altered Source Code

SAP Confirms GitHub Security Incident After Reports of Stolen Tokens and Altered Source Code

German software giant SAP has confirmed it is investigating a security incident affecting its GitHub environment, after reports that attackers stole employee authentication tokens and used them to copy and alter source code. The incident, first reported by Der Spiegel on Thursday 26 November 2026, has been given the internal codename “Project Granite,” and it has disrupted development teams across a company whose software runs the finance, supply chain, and human resources operations of many of the world’s largest organisations.

SAP says it detected suspicious activity and moved quickly to protect customers, and its investigation has so far found no evidence of unauthorised access to customer business data. That is the limit of what the company has confirmed. It has not said how the attackers got in, which repositories were affected, whether proprietary code was taken, or whether any altered code reached software delivered to customers. The most serious claims, that tokens were stolen and source code was copied and changed, come from people inside the company cited by Der Spiegel, not from SAP itself.

The gap between what is reported and what is confirmed is the story. SAP is one of the world’s largest enterprise software vendors, based in Walldorf, Germany, with about 110,000 employees in 157 countries and more than $40 billion in annual revenue. When a company of that size has a suspected breach where its software is built, the question is not only what was taken, but whether anything shipped to customers was touched. For now, no reporting indicates that tampered code reached customer software.

Key takeaways

  • SAP confirmed it found suspicious activity and took protective measures, but has not confirmed the reported token theft or source code changes.
  • Der Spiegel reported that attackers stole employee authentication tokens and used them to copy and alter source code on GitHub.
  • SAP says its investigation has found no evidence of unauthorised access to customer business data so far.
  • Reported response measures include restricting GitHub access, pausing automated development work, and replacing signing keys.
  • No reporting indicates tampered code reached software delivered to customers, but SAP has not said which repositories were affected.
At a glance: the SAP GitHub security incident
Topic What is known
First report Der Spiegel, Thursday 26 November 2026, citing an internal memo and company insiders.
Internal codename “Project Granite,” used for SAP’s handling of the incident.
Reported attack Employee authentication tokens reportedly stolen and used to copy and alter source code on GitHub; not confirmed by SAP.
SAP’s statement Suspicious activity identified; protective measures taken; no evidence so far of unauthorised access to customer business data.
Reported response GitHub access restricted, automated development paused, signing keys replaced; many teams affected.
Open questions Which repositories were affected, whether proprietary code was taken, and whether any altered code shipped.

How the incident came to light

Der Spiegel broke the news on Thursday 26 November, reporting from an internal SAP memo and from sources inside the company. According to the magazine, SAP had detected suspicious activity in its GitHub environment and was treating it as an active security incident. The German Press Agency, known as dpa, separately reviewed part of the internal communication and confirmed that the suspicious activity had been identified within GitHub, and that employees had been asked to check whether they needed to change their credentials.

The reporting quickly acquired a sharper shape. An insider cited by Der Spiegel said the attackers had obtained authentication tokens belonging to SAP employees, and had used them to copy and alter source code stored on GitHub. Sources also told the magazine that the attackers may have used AI agents to assist the attack, a claim that SAP has not addressed. Employees were reportedly told to keep the project details confidential, and the incident was being handled under the codename “Project Granite.”

The picture filled in further through Handelsblatt, which reported, citing people inside SAP, that the company’s emergency measures had affected numerous development teams. GitHub access was restricted, automated development operations were suspended, and signing keys were replaced. Those are not routine steps. Replacing signing keys and pausing automated builds are the kinds of measures a company takes when it cannot be sure which credentials or artefacts are still trustworthy, and they signal that SAP treated the incident as serious even while its public statements stayed measured.

What SAP has confirmed, and what it has not

SAP’s public position has been consistent across the outlets it spoke to. In a statement shared with the media, 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.” It added: “Based on our investigation to date, we have found no evidence of unauthorized access to customer business data.” The same wording was given to Cybersecurity Dive, BleepingComputer, and SecurityWeek, and the company told German broadcaster Tagesschau that customer data was not affected.

A software developer desk with two monitors showing blurred code, a keyboard, a coffee mug, and a notebook
Developers rely on tokens to reach code repositories, which is why a reported token theft raises questions across the whole build pipeline.

What SAP has not said is almost as important. The company declined to comment on the root cause and its potential impacts, and it did not specify which environments the suspicious activity was observed in. It has not confirmed the reported theft of employee tokens, the reported copying or alteration of source code, or the suggestion that AI agents played a role. It has also not said whether customers who download code from its GitHub repositories need to take any action.

That silence is normal early in an investigation, when a company does not want to state as fact something it has not yet verified. It is also the reason the reporting matters. The token theft and code alteration claims rest on Der Spiegel’s insider sourcing, corroborated in part by dpa’s review of internal communications and Handelsblatt’s account of the response. None of those claims has been confirmed by SAP, and none should be treated as established fact until the company or investigators say so.

Why stolen GitHub tokens are a supply chain problem

To understand why this incident matters, it helps to understand what GitHub is for a company like SAP. GitHub hosts the code repositories where software is written, reviewed, and built, and SAP publishes developer tools, sample applications, and open source projects there. Authentication tokens are the keys that let employees and automated systems reach those repositories. If an attacker holds a valid token, they can act with the access of the person or system it belongs to, which is why token theft is such an effective way into a development environment.

The specific fear is the supply chain. If source code can be copied, proprietary intellectual property can be exposed and security weaknesses studied at leisure. If source code can be altered, malicious changes could in principle be built into software delivered to customers, who would have no reason to suspect it. That is why the response measures matter: restricting access, pausing automated builds, and replacing signing keys are all ways of making sure nothing untrusted flows into a release while the investigation runs.

What SAP customers and teams should do now

For SAP customers, the practical advice from security specialists is cautious rather than alarming. Onapsis, a cybersecurity firm that specialises in SAP environments, told Cybersecurity Dive that it is closely monitoring the situation and working to support the company and its customers. Its advice was straightforward: only use SAP software obtained through official channels. That is a basic rule at the best of times, and it matters more when the integrity of a development pipeline is in question.

Other specialists have gone further. SOCRadar advised anyone using SAP packages from GitHub to pin exact versions for now, check release histories for unexpected versions, and follow SAP’s security advisories. Teams should also list every project and pipeline that downloads SAP code, and review their own developers’ tokens.

The harder question is what to do about the uncertainty itself. SAP has not told customers whether they need to act, or which repositories were affected. The sensible course is hygiene that should have happened anyway: rotate tokens, shorten their lifetimes, and audit who can reach your repositories. For a broader grounding in the basics, see our roundup of the best antivirus software for Windows, and for teams using AI, our guide to securing AI agents in your business covers the credential and access controls that matter here.

Checklist: responding to a supplier code incident

  • Use only software obtained through official channels until the supplier confirms the all-clear.
  • Pin SAP packages to exact versions, ideally to a commit hash, since tags can be moved.
  • Check release histories for unexpected versions or releases you do not recognise.
  • List every project and pipeline that downloads code from the affected supplier.
  • Review and rotate your own developers’ tokens and shorten their lifetimes.
  • Watch the supplier’s trust centre and security advisories for official guidance.

Frequently asked questions

What happened at SAP?

SAP confirmed it identified suspicious activity and took protective measures, after Der Spiegel reported that attackers targeted its GitHub environment. The magazine reported, citing company insiders, that attackers stole employee authentication tokens and used them to copy and alter source code. SAP has not confirmed those details.

Was customer data affected?

According to SAP, no. The company said that based on its investigation to date, it has found no evidence of unauthorised access to customer business data. The investigation is ongoing, and SAP has not said whether any software delivered to customers was affected.

What is “Project Granite”?

“Project Granite” is the internal codename SAP is reportedly using for its handling of the incident.

Did attackers use AI agents?

That is unconfirmed. Sources cited by Der Spiegel suggested the attackers may have used AI agents, but SAP has not addressed the claim, and no other outlet has confirmed it. It should be treated as an unconfirmed report for now.

What has SAP done in response?

According to Handelsblatt, citing people inside SAP, the company restricted access to GitHub, paused automated development operations, and replaced signing keys. Many development teams were affected. SAP itself has said only that it implemented the necessary measures to protect customers and preserve the security of its services.

What should SAP customers do?

Security specialists advise using only SAP software from official channels, pinning packages to exact versions, checking release histories for unexpected versions, and following SAP’s security advisories. Teams should also review their own developers’ tokens. Comparing the tools that guard code is a useful next step, and our GitHub Copilot versus Cursor comparison for 2027 covers two of the most widely used AI coding assistants.

The bottom line

The SAP incident is a reminder that the most sensitive part of a software company is not its customer database but the pipeline that builds its products. A token is a small thing, and a code repository is a quiet place, but together they decide what ships to thousands of customers. SAP has confirmed the suspicious activity and the protective measures, and it has said customer business data shows no sign of unauthorised access. The harder claims, token theft, copied code, altered code, and AI assistance, remain reports from insiders rather than confirmed facts.

What happens next depends on what SAP’s investigation finds and what the company chooses to disclose. If the affected repositories were limited to sample and open source code, the incident will be remembered as a serious scare with a disciplined response. If proprietary code was taken or altered, the questions will get harder, and customers will want to know exactly what was touched. Until then, the right posture is the one the specialists recommend: stay on official channels, pin your versions, and watch the advisories.

on this page