SAP “Project Granite”: Stolen GitHub Tokens, Code Altered
SAP confirms a security incident in its development environment. Reports cite stolen GitHub tokens and altered code. What's known, what isn't, what to check.
- AUTHOR
- Karol Rapacz / Founder of Breachroad
- PUBLISHED
- 28 November 2026
- READING TIME
- 7 min read
- TOPIC
- Supply Chain Security
SAP has confirmed a security incident in its development environment. According to German media, attackers obtained employees’ authentication tokens and used them to copy and alter source code stored on GitHub. SAP has not confirmed those details and says its investigation so far has found no evidence of access to customer business data.
Why does this matter even if you don’t use SAP? Because the “stolen developer token → repository access → code change” scenario applies to every organisation that builds software. Below we separate facts from reports and give a checklist for development teams. Status as of 28 November 2026.
What SAP confirmed
- SAP detected suspicious activity and is investigating a cybersecurity incident.
- It has taken measures to protect customers and secure its services.
- In a statement to SecurityWeek, SAP said its investigation to date has found no evidence of unauthorised access to customer business data.
SAP has not said how the attackers got in, who they are or which repositories are affected.
What the media report (not confirmed by SAP)
- Der Spiegel (26 November), citing company insiders and an internal employee notice: attackers obtained SAP employees’ authentication tokens and used them to copy and modify source code on GitHub. The paper said the attack may have been AI-assisted — there is no public technical evidence for that.
- DPA: internal SAP communications show the suspicious activity was identified within GitHub.
- Handelsblatt: SAP reportedly replaced signing keys, restricted GitHub access and suspended automated software development processes, with emergency measures affecting many teams. The investigation is reportedly called “Project Granite” internally.
None of the reports indicate that altered code made it into software delivered to customers. SecurityWeek notes that SAP publishes developer tools, sample apps and open-source projects on GitHub — it’s unclear whether the attacker reached any proprietary code.
A separate matter: in late October the Gentlemen ransomware group listed SAP on its leak site, citing the company’s Latin American operations. According to SecurityWeek, the two incidents do not appear to be connected.
Why rotating signing keys matters
If the reports are confirmed, SAP’s response follows the textbook for suspected code tampering:
- Restricting repository access — cuts off further activity with the stolen tokens.
- Pausing automated pipelines — nothing that may have been changed gets built and released automatically.
- Rotating code-signing keys — even if a key leaked, artefacts signed with it stop being trusted.
A signature proves an artefact comes from the vendor — not that the code it was built from is clean. If someone changes the source before the build, the pipeline signs the malicious version like any other. That’s why artefact provenance and change review matter too. We cover this in Sigstore and SLSA: software artefact provenance.
What this means for SAP customers
Right now there is no confirmed customer impact and no report of altered releases. Sensible steps:
- follow official SAP announcements and SAP Security Notes, not forums or unverified posts;
- install updates only from official channels and verify signatures — especially if SAP announces new keys;
- if you use SAP tools or libraries from GitHub (SDKs, samples, open-source projects), pin versions and review changes before updating;
- ignore e-mails “from SAP” about an urgent update with a link — a high-profile incident is a perfect pretext for phishing.
A checklist for your development team
Repository access tokens are one of the most valuable things an attacker can steal today. Check your own setup:
- Short-lived, narrowly scoped tokens instead of classic full-access tokens; where possible, GitHub Apps instead of personal access tokens (how to do it).
- No long-lived secrets in CI/CD — OIDC federation instead of keys in variables (OIDC workload identity in CI/CD).
- Branch protection — required reviews, signed commits, no direct pushes to release branches.
- Signing keys out of developers’ reach — in an HSM or KMS, with a key-rotation procedure rehearsed before you need it.
- Organisation audit logs — clones, new tokens, permission changes; alerts on bulk repository downloads.
- A “stop the pipeline” plan — who pauses releases, and how, when code tampering is suspected.
More on how these attacks play out: software supply chain attacks and DevSecOps: CI/CD security.
Facts versus conclusions
Confirmed by SAP: the incident, the investigation, protective measures, and (so far) no evidence of access to customer business data.
Media reports, not confirmed by SAP: token theft, copying and altering code on GitHub, possible AI involvement, signing-key replacement, paused pipelines, the “Project Granite” name.
Unknown: the attacker, how the tokens were obtained, which repositories were affected and whether altered code reached any release.
Sources
- SecurityWeek: SAP Confirms Cyberattack, Source Code Reportedly Compromised
- FinanceFeeds: SAP hit by cyberattack as hackers reportedly steal GitHub credentials
Incident description based on SAP’s statement and media reports from 26–27 November 2026. The checklist is Breachroad’s recommendation.
Frequently asked questions
- Was SAP customer data stolen?
- SAP says its investigation so far has found no evidence of unauthorised access to customer business data. The investigation is ongoing, so this is an interim finding rather than a final conclusion.
- Did altered code reach SAP products?
- Nothing suggests it: none of the reports say tampered code was included in software delivered to customers. SAP has not, however, said which repositories were affected.
- How should a company protect its GitHub tokens?
- Use short-lived, narrowly scoped tokens, GitHub Apps instead of personal access tokens, OIDC federation instead of secrets in CI/CD, branch protection, and alerts on new tokens and bulk repository cloning.
Learn cybersecurity step by step — for free.
Three learning paths — Pentester, SOC Analyst, and Cloud Security & DevSecOps — built on worked examples, with a quiz after every module and a named certificate when you complete a path.
- Worked examples
- A quiz after every module
- Certificate of completion





