Someone reportedly had write access to SAP’s source code. Not customer data, not a marketing database, but the code of one of the world’s largest enterprise software vendors.
In short: SAP Project Granite is SAP’s internal response to an intrusion into its GitHub development environment, where attackers reportedly used stolen employee authentication tokens to copy and modify source code; SAP confirmed suspicious activity on 26 and 27 November 2026 but says it has found no evidence that customer business data was accessed.
This article separates what SAP has confirmed from what the German press reported, explains why a source code integrity incident matters more than a data leak, and lists what SAP customers and any team running code on GitHub should check now.
- What happened in the SAP Project Granite incident?
- What has SAP actually confirmed?
- Timeline: from the first warning to public confirmation
- Why does altered source code matter more than stolen data?
- Who is affected, and how do you check your exposure?
- Is this connected to the April 2026 SAP npm attack?
- How does Project Granite compare with other GitHub token breaches?
- Did AI help the attackers?
- How do you detect GitHub token abuse?
- What should SAP customers and defenders do now?
- Open questions
- The bottom line
- Sources
What happened in the SAP Project Granite incident?
Der Spiegel broke the story on 26 November 2026, citing internal company communications and insiders. According to its account, as relayed by The Record and BleepingComputer, attackers obtained authentication tokens belonging to SAP employees and used them to copy and modify SAP source code hosted on GitHub.
An authentication token is a long-lived digital key that lets a person or a script act on GitHub without typing a password or passing a multi-factor prompt. Whoever holds a valid token can do whatever its owner’s permissions allow.
SAP confirmed an incident on Thursday evening, 26 November, and expanded on it to The Record and BleepingComputer on Friday, 27 November. It said it had identified suspicious activity and taken steps to protect customers and its services.
Why is it called Project Granite?
Project Granite is the internal name for SAP’s response. The Record attributes the name to Handelsblatt; BleepingComputer attributes it to the internal memo Der Spiegel saw. Both agree it covers emergency measures across several development teams. Employees were reportedly asked to keep its details confidential.
What has SAP actually confirmed?
Very little, and the gap matters. SAP’s statement says that, based on the investigation so far, it has found “no evidence of unauthorized access to customer business data.” BleepingComputer adds that SAP’s evidence does not show downstream compromise of customer systems or data.
SAP did not say which environments showed suspicious activity. A spokesperson declined to tell BleepingComputer whether customers who pull code from SAP’s GitHub repositories, or receive updates built from them, should take any action.
| Claim | Source | Confirmed by SAP? |
|---|---|---|
| Suspicious activity identified, countermeasures taken | SAP statements | Yes |
| No evidence of access to customer business data | SAP statements | Yes (as of 27 Nov) |
| Activity was in SAP’s GitHub environment | Der Spiegel, dpa, heise (per PlayCISO) | No |
| Employee GitHub tokens stolen | Der Spiegel insiders | No |
| Source code copied and modified | Der Spiegel insiders | No |
| Possibly assisted by AI tools | Der Spiegel insiders, dpa | No |
| GitHub access restricted, automation paused, signing keys replaced | Handelsblatt (per The Record) | No |
| Staff warned days before going public | dpa (per The Record) | No |
Timeline: from the first warning to public confirmation
Handelsblatt, citing company insiders, reported that SAP detected the incident the week before its 27 November story. The dpa news agency reviewed internal communications and reported that SAP warned employees about suspicious GitHub activity several days before the news broke. Staff were told to check whether they needed to change credentials.
The public sequence then moved fast:
- 26 November: Germany’s Federal Office for Information Security (BSI) warns about agentic AI attack frameworks. That evening, Der Spiegel reports the SAP intrusion and SAP issues its first statement.
- 27 November: SAP confirms the incident to English-language press. Handelsblatt reports the containment steps. Customers, according to Handelsblatt’s headline, demand a full account.
Why does altered source code matter more than stolen data?
A data breach is about confidentiality: someone saw what they should not. Modified source code is an integrity problem: someone may have changed what the software does.
If an attacker can push changes to a vendor’s code, the danger is that those changes travel downstream into packages, builds or updates that customers install and trust. That is what a software supply chain attack is: compromising a supplier so the supplier delivers the attack.
There is no public evidence that altered SAP code reached a release. The Record states plainly that it is unknown whether altered code reached customers. But the containment steps Handelsblatt describes are exactly what a vendor does when it cannot yet rule that out.
What does replacing signing keys mean?
Code signing is how a vendor proves a file came from it and was not changed afterwards. The vendor signs with a private key, and customers verify with the matching public key.
Replacing those keys, as Handelsblatt reports SAP did, cuts off any chance that a stolen or misused key could sign a malicious file that looks genuine. The side effect for customers is practical: systems that verify SAP signatures will need the new keys once SAP publishes them.
Who is affected, and how do you check your exposure?
SAP says customer business data is not affected. The open question is code, and that depends on how you consume SAP software.
Your exposure is higher if you:
- Build applications with SAP open-source components pulled from GitHub or npm, such as the SAP Cloud Application Programming Model (CAP) libraries or SAP build tools.
- Have automated dependency updates that merged new SAP package versions after mid-November 2026.
- Trust SAP signing keys in CI pipelines or deployment tooling.
- Give SAP or SAP partners standing access into your landscape through support connections or integration accounts.
Your exposure is lower if you only consume SAP software through its standard delivery channels and SAP’s investigation continues to find no downstream impact. Lower does not mean zero until SAP publishes its findings.
Is this connected to the April 2026 SAP npm attack?
Nobody knows yet, and The Record says so directly. But the earlier incident is worth understanding, because it targeted the same kind of asset.
On 29 April 2026 four SAP-related npm packages were published with malicious code in a campaign researchers called Mini Shai-Hulud. npm is the main package registry for JavaScript, so a poisoned package runs on every developer machine and build server that installs it.
What did Mini Shai-Hulud steal?
According to Socket and The Hacker News, the malware harvested developer and CI credentials: GitHub and npm tokens, SSH keys, cloud credentials for AWS, Azure, GCP and Kubernetes, and configuration files for AI coding tools. It encrypted the haul and uploaded it to new public GitHub repositories created in the victim’s own account.
It also wrote configuration files into repositories so the malware would run again when a developer opened the project in VS Code or Claude Code. The Hacker News cited StepSecurity calling it one of the first supply chain attacks to use AI coding agent configuration for persistence.
How were the April packages published?
The Hacker News, citing SafeDep and other researchers, reported that for three @cap-js packages the attackers abused a loose npm trusted publishing setup that accepted any workflow in the repository, not just the release workflow on the main branch. The mbt package is suspected to have been published with a static npm token.
Socket assesses with medium confidence that the campaign is linked to the actors behind earlier TeamPCP supply chain attacks. The Hacker News relays Wiz’s view that the same actor is likely behind it.
The link to November is a hypothesis, not a finding: a campaign that steals GitHub tokens from developers in April, and an intrusion that reportedly runs on stolen employee GitHub tokens in November. SAP has not said how the tokens were obtained.
How does Project Granite compare with other GitHub token breaches?
The pattern is not unique to SAP. Days earlier, 1Password disclosed that a stolen employee GitHub token let an attacker copy private code, reach its CI/CD system and push code to backend services. And the WPPConnect npm attack showed that valid provenance does not prove good code when the build pipeline itself is abused.
| SAP Project Granite | 1Password (Nov 2026) | SAP npm, Mini Shai-Hulud (Apr 2026) | |
|---|---|---|---|
| Entry point | Stolen employee GitHub tokens (reported) | Stolen employee GitHub token | CI publishing gap, static npm token |
| Code changed? | Yes, reported by Spiegel insiders | Yes, pushed to backend services | Yes, malicious package versions |
| Customer data | No evidence, per SAP | Account data for a subset of customers | Developer and CI secrets |
| Disclosure by vendor | Short statement, no details | Detailed post with data list | Advisory and fixed versions |
| Attacker named | No | No | TeamPCP link, medium confidence (Socket) |
The comparison shows one difference that customers will notice: 1Password published a detailed account within days, while SAP has so far said only what was not affected.
Did AI help the attackers?
Possibly, but that is the weakest part of the story. Der Spiegel’s insiders said the GitHub intrusion may have been carried out with help from AI tools, and PlayCISO reports that dpa says its own sources confirm the AI angle. Nobody has said what the AI did.
The timing invites the link. On 26 November the BSI warned that agentic offensive frameworks such as Artex, CAIRN and PentAGI can largely automate attacks and run on freely available open-weight models. A day earlier Italy and Switzerland issued similar warnings, covered in our article on the Swiss AI agent cyberattacks. The BSI release does not mention SAP.
Until someone shows evidence, treat “AI-assisted” as a reported detail, not the cause. A stolen token works the same whether a human or an AI attack framework like ARTEX uses it.
How do you detect GitHub token abuse?
None of the sources publish indicators of compromise for Project Granite. Detection therefore means watching for the behaviour the reports describe in your own GitHub organisation.
Log sources to watch
- GitHub audit log: token creation, use of personal access tokens from new IP addresses or countries, and new SSH or deploy keys.
- Push and branch events: pushes outside working hours, force pushes, commits to non-default branches that change workflow files, and unsigned commits where signing is normally used.
- Actions logs: workflows triggered from unusual branches, and jobs that request an
id-tokenthey do not normally need. - Repository creation: new public repositories in employee accounts. Mini Shai-Hulud created them with the description “A Mini Shai-Hulud has Appeared.”
- Package registries: new versions of your packages published without provenance, or outside your normal release workflow.
ATT&CK techniques that fit the reported behaviour
These are mappings of the reported steps, not techniques published by SAP: Steal Application Access Token (T1528), Valid Accounts: Cloud Accounts (T1078.004), Data from Information Repositories: Code Repositories (T1213.003) and Supply Chain Compromise: Compromise Software Supply Chain (T1195.002).
What should SAP customers and defenders do now?
SAP has not issued customer instructions. These steps follow from the reported facts and the April incident, in priority order.
- Inventory SAP code you pull directly. List every SAP component your builds take from GitHub or npm, including CAP libraries and build tools. Review any SAP dependency update merged since mid-November 2026 and pin to known-good versions until SAP gives an all-clear.
- Prepare for new signing keys. If SAP rotates the keys that verify its software, update what your CI and deployment tools trust as soon as SAP publishes them, and treat anything signed only with old keys after the incident as suspect.
- Ask SAP in writing. Request which repositories were affected, whether changed code reached any package or release, and when findings will be published. Record the answers in your vendor risk file.
- Check you are not exposed to April’s packages. Confirm none of mbt 1.2.48, @cap-js/db-service 2.10.1, @cap-js/postgres 2.2.2 or @cap-js/sqlite 2.2.2 from 29 April remain in lockfiles or caches. If they were ever installed, rotate every credential on that machine or runner.
- Shrink your own token risk. Use fine-grained, short-lived GitHub tokens, require SSO for organisation access, and restrict npm trusted publishing to a single release workflow on the protected main branch.
- Review SAP’s access into your landscape. Make sure support connections and integration credentials held by SAP or partners can be rotated quickly if the scope grows.
Open questions
The sources leave the most important questions unanswered:
- How were the tokens stolen? Phishing, malware on a developer laptop or a leftover from the April campaign are all possible. SAP has not said.
- Which repositories? Public or private, product code or tooling: nothing has been disclosed.
- Did altered code ship? The Record says it is unknown whether changes reached customers.
- Who did it? No actor has been named or has claimed the attack.
- What role did AI play? Reported by insiders, undescribed by anyone.
- Timing disagreements: The Record says Spiegel reported on Thursday 26 November; BleepingComputer’s 27 November story says earlier that day. The two outlets also credit the Project Granite name to different publications.
The bottom line
SAP Project Granite is a source code integrity incident first and a data question second: SAP says customer data is safe, but reports that employee GitHub tokens were used to modify code are what customers need answered. Until SAP says which repositories changed and whether anything shipped, treat SAP code pulled from GitHub and npm as something to inventory and verify, not to trust by default.
Sources
- The Record (Daryna Antoniuk), Software giant SAP confirms cyber incident amid reports of source code breach, 27 November 2026
- BleepingComputer (Bill Toulas), SAP confirms security incident after suspicious GitHub activity, 27 November 2026
- Handelsblatt (Christof Kerkmann), SAP: IT-Sicherheitsvorfall, updated 27 November 2026
- PlayCISO, SAP Cyberattack Project Granite: What Is Known, What to Do, 27 November 2026, updated 28 November 2026
- BSI, Offensive agentische KI verschärft Bedrohungslage, 26 November 2026
- BleepingComputer (Bill Toulas), Italy and Switzerland warn of autonomous AI-driven cyberattacks, 25 November 2026
- Socket Research Team, TeamPCP-Linked Supply Chain Attack Hits SAP CAP and Cloud MTA npm Packages, 29 April 2026
- The Hacker News (Ravie Lakshmanan), SAP-Related npm Packages Compromised, 29 April 2026
- Sophos CTU, Mini Shai-Hulud supply chain attack targets SAP npm packages, April 2026
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.