← Blog / Security

SAP Project Granite Breach: How Stolen GitHub Tokens Hit

29 Nov 2026 · 4 min read

SAP Project Granite GitHub token breach and CI/CD freeze analysis

Two weeks ago we wrote about wfx-loot ripping through 66,000 GitHub repos with leaked developer tokens. Yesterday, the exact same trick caught SAP.

On November 27, 2026, SAP confirmed a breach in its software development environment after Der Spiegel and Handelsblatt leaked details of an internal emergency response called Project Granite.

Nobody used a zero-day bug to get in. Attackers grabbed employee authentication tokens for GitHub, skipped right past multi-factor authentication, and started copying and editing SAP source code.

We see this exact gap all the time when we audit DevSecOps pipelines. Companies spend a fortune hardening production servers, while developers leave plaintext GitHub tokens sitting on their laptops. If someone steals a token with write access, they don't have to hack your servers at all. They just change the code your servers build tomorrow.

What Actually Happened Inside Project Granite

SAP's official statement is pretty thin. They said they found "suspicious activity," locked things down, and saw no sign that customer business data was touched.

The internal emails leaked to German reporters say a lot more. Days before admitting anything in public, SAP warned its own staff about strange activity on GitHub and told engineers to check their credentials.

Insiders told Der Spiegel that the attackers didn't just clone private repos. They used those stolen employee tokens to alter source code directly on GitHub, possibly running AI scripts to move across repositories faster.

Look at how SAP reacted inside Project Granite. Handelsblatt reported that SAP blocked its own devs from GitHub, froze automated builds across multiple teams, and threw out the code-signing keys used to sign official SAP updates.

Freezing CI/CD and rotating signing keys at a company that size is huge. You only pull that lever when you can't tell which commits came from your own developers and which ones were slipped in before a build ran.

Why GitHub Tokens Keep Breaking Enterprise Security

Funny enough, this isn't even SAP's first token problem this year. Back on April 29, 2026 (SAP Security Note 3747787, which SAP called the "Mini Shai-Hulud" FAQ), somebody poisoned open-source SAP npm packages for the Cloud Application Programming Model (@sap/cds-mtxs) and the MTA Build Tool. The malware inside those packages was built specifically to steal developer GitHub tokens, npm keys, and Actions secrets.

Were tokens from April reused in November, or did a new infostealer grab fresh ones off an employee laptop? SAP hasn't said.

Either way, the weak spot is the token itself. Passwords and MFA only check who you are when you log in through a browser. A Personal Access Token (PAT) or a local gh CLI token skips that check completely. Once a developer saves a long-lived token on their machine to avoid typing passwords, anyone who copies that text string off the disk is that developer.

If that account can push to a release branch, the attacker can push to it too. And if your build server trusts commits from that account, it will compile and sign whatever code they drop in.

What Teams Running SAP or GitHub Should Do Today

Right now, SAP still hasn't listed which repositories were touched or whether any modified code made it into a customer release. Until they post an official update on the SAP Trust Center, anyone pulling SAP packages or managing build pipelines with an enterprise IT delivery partner should lock a few things down.

Start by pinning your SAP packages to exact version numbers. If your builds pull CAP libraries, UI5 tools, or SDKs from GitHub, npm, or Maven, don't let pipelines grab the newest version automatically until SAP says which repos were hit.

Watch out for signing key errors too. Since SAP swapped out its code-signing keys during Project Granite, your automated update checks or local trust stores might reject new packages until you pull SAP's updated keys ahead of the December 8 Patch Day.

Then check how your own engineers log into GitHub. If your team still uses classic Personal Access Tokens that never expire, or keeps static tokens sitting inside CI/CD variables, you are wide open to the exact same hit.

Put short expiration dates on every token. Turn on hardware-backed SSH commit signing so a stolen token by itself can't push a verified commit, and switch your build runners to short-lived OIDC tokens so jobs never hold permanent keys to your product's network.

Seeing both wfx-loot and Project Granite happen in the same month makes one thing pretty clear: nobody needs to break your cloud firewall when developer tokens are sitting unprotected on laptops. If you want help checking your GitHub permissions, locking down signing keys, or setting up AIOps and DevSecOps alerts to catch weird repo changes before a build kicks off, talk to our team and let's get your pipelines sorted out.

Related service

Tell us what you run today and what has to change.

Get a quote →Contact us