SAP Just Confirmed a GitHub Breach — Stolen Tokens, Altered Source Code, and the Supply-Chain Lesson Every WordPress Developer Should Take From It

SAP confirmed a security incident in its GitHub environment on November 27, 2026, after reports that attackers stole employee tokens and altered source code. Here is what is confirmed, what is still only reported, and the checklist I am running on my own WordPress sites tonight.

SAP Just Confirmed a GitHub Breach — Stolen Tokens, Altered Source Code, and the Supply-Chain Lesson Every WordPress Developer Should Take From It
SAP Just Confirmed a GitHub Breach — Stolen Tokens, Altered Source Code, and the Supply-Chain Lesson Every WordPress Developer Should Take From It — Technical Architecture & Overview

Table of Contents

The scariest security stories are rarely the ones where a website gets defaced. The scary ones are the ones where the code itself cannot be trusted anymore. That is why the SAP news that broke on November 26 stopped me mid-scroll.

SAP, the German enterprise software giant with around 110,000 employees in 157 countries and more than $40 billion in annual revenue, confirmed it had detected suspicious activity in its IT environment and taken urgent steps to protect its customers. According to German magazine Der Spiegel, which broke the story from an internal SAP memo, attackers stole authentication tokens belonging to SAP employees and used them to copy and alter source code stored on GitHub. SAP is tracking the incident internally as "Project Granite."

I do not run SAP software, and most WordPress developers do not. But the attack pattern is the exact pattern our whole ecosystem runs on: a developer's token, a code repository, and a build pipeline that turns that code into software people install without thinking twice. If it can happen inside SAP, with all of its security budget, it can happen to the plugin author whose code sits on half a million WordPress sites.

What actually happened, and what is still only reported


First, separate what SAP has confirmed from what has only been reported — mixing them up is how bad security advice spreads.

Here is what is confirmed. SAP told BleepingComputer and SecurityWeek that it "has identified suspicious activity and promptly implemented the necessary measures to protect its customers and preserve the security of its services," adding that, "based on our investigation to date, we have found no evidence of unauthorized access to customer business data." The German press agency dpa reviewed part of the memo and confirmed the activity was found within GitHub, with employees asked to check whether they needed to change credentials.

Here is what is reported but not confirmed by SAP. Der Spiegel, citing an insider, reported that attackers obtained employee authentication tokens and used them to copy and alter source code on GitHub. Handelsblatt reported that SAP restricted access to GitHub, paused automated development workflows, and replaced signing keys. The same reporting says the attackers may have used AI agents, but SAP has not confirmed that either.

One important gap remains: SAP has not said which repositories were affected, whether the code was public or private, or whether any modified code reached software customers actually run. As of the reporting so far, there is no public indication that tampered code was delivered to customers. That is good news, but it is not a clean bill of health — the investigation is ongoing.

How a stolen token becomes a supply-chain attack


A token is a digital key. When a developer pushes code to GitHub, runs an automated build, or deploys a release, they usually do it with a token rather than typing a password. Tokens sit in a laptop's credential store, in a CI server's secrets, in a deployment script, in a forgotten environment file on a staging server. A single token can do far more than its creator intended, because tokens made once for a quick task quietly keep broad permissions nobody revisits.

Now imagine an attacker gets hold of one of those keys. They do not need to break into a server or find a zero-day. They log in as a trusted developer, and if the token's permissions allow it, they can change the code. A change made by a stolen token looks exactly like a change made by a real developer: the right account, the right timestamps, the right commit history. Unless someone is watching closely, a small, plausible-looking change to a build script or a dependency can sit there for weeks.

That is the supply-chain angle, and it is why security people reacted to this story so fast. SAP publishes source code for its products and open-source projects on GitHub. If altered code gets built into a release, every customer who installs that release inherits the attacker's change. The attacker does not need to hack a single customer — just poison the well once, upstream, and let the normal update process do the distribution. I have seen smaller versions of this in the WordPress world: a plugin author reuses a password, a build server's credentials leak in a public repository, and thousands of site owners install an update they trust — and the trust was the vulnerability.

Why WordPress developers should care


SAP is enterprise software, and I build WordPress sites — so why should I care? Three honest answers.

First, WordPress is a supply chain, and it is a much bigger and messier one than SAP's. Tens of thousands of plugins are developed on GitHub, and premium plugins, themes, and agency tools very often live in private GitHub repositories too. Every time you click "update" on a plugin, you are trusting that the code was written by the person you think wrote it, and that nobody else touched it on the way to your server. The SAP incident is a reminder that the repository itself is a target, not just the website it ends up on.

Second, our ecosystem's update habit is the attacker's best friend. WordPress site owners are trained, correctly, to update quickly when a security release comes out. But that also means a poisoned update spreads fast, because the whole community has been taught to install updates immediately and ask questions later. The speed that protects us from known vulnerabilities is the same speed that would distribute a supply-chain attack.

Third, developer tokens are everywhere in WordPress workflows, and they are rarely managed well. I have seen agencies paste one broad GitHub token into three deployment tools, two staging servers, and a shared document. I have seen freelancers generate a token once and leave it valid for years. Every one of those tokens is a key to a code repository, and every repository is a potential SAP-style incident waiting for someone to notice. Reports also say the attackers may have used AI agents — unconfirmed, but AI already makes probing repositories cheap: a reporter found a real plugin flaw in about six hours using freely available AI models.

What SAP's response tells us


Credit where it is due: SAP's response, as reported, is a useful template. The company restricted access to GitHub, paused automated development workflows, and replaced its signing keys. Each move targets a different part of the problem. Restricting access stops the bleeding. Pausing workflows stops a tampered commit from flowing into a release. Replacing signing keys acknowledges the old keys can no longer be trusted. If an attacker copied the release-signing keys, they could sign malicious code and make it look legitimate. Rotating them is the only way to restore trust in the signature.

I also noticed what SAP did not do. The company did not rush out a statement claiming everything was fine. Its statement was narrow and careful: no evidence of unauthorised access to customer business data, based on the investigation so far. That is not a victory lap. It is a company saying what it knows and what it does not know yet. I trust a careful statement far more than a confident one issued two hours after discovery. SAP also told its own employees to check their credentials — the unglamorous, human part of incident response.

The checklist I am running on my own sites tonight


Here is what I am doing on my own WordPress work. None of this is new or clever — supply-chain security is mostly boring hygiene, done consistently.

First, I am reviewing every GitHub token I own: which ones are still valid, what permissions each one has, and when each one expires. Any token that does not expire is getting an expiry date. Any token with broader permissions than it needs is getting narrowed down. Any token I cannot explain is getting revoked.

Second, I am checking where my tokens live. A token in a password manager or a secrets store is one thing. A token pasted into a deployment script, a staging server's environment file, or a shared document is a different thing entirely.

Third, I am verifying the plugins and themes on the sites I manage. Not just whether they are up to date, but where they came from. A plugin from the official WordPress directory has gone through a review process. A plugin downloaded from a random GitHub repository or a file-sharing link has not, and it deserves a closer look before it goes anywhere near a production site. I am also removing plugins the sites do not use, because every unused plugin is an update I have to trust for no benefit.

Fourth, I am making sure the sites I manage have file-change monitoring. If a plugin file changes outside of an update I performed, I want to know about it. The change you need to catch may not come through your admin panel at all — it may come through the code itself.

Finally, I am reviewing who has access to the repositories behind the sites and tools I build. A former contractor whose GitHub access was never removed is a risk that costs nothing to fix and everything to ignore.

Conclusion


The SAP incident is still unfolding, and the most important facts are still unknown. What we know is that one of the world's largest software companies found suspicious activity in its GitHub environment, that reports point to stolen employee tokens and altered source code, and that the company responded by restricting access, pausing automated builds, and replacing its signing keys. What we do not know is which repositories were affected, whether any modified code reached customers, or whether AI agents played a role.

For WordPress developers and site owners, the takeaway does not depend on those unanswered questions. Our ecosystem runs on the same pattern: tokens, repositories, and update pipelines that distribute trust at scale. The product today is not just the code — it is the code plus the trust that the code is what it claims to be. Treat that trust as something you verify, not something you assume: rotate the tokens, narrow the permissions, watch the files, check the source. The repository is the front line now — run the checklist tonight, and again in a month.

Frequently Asked Questions

Did SAP confirm that hackers stole employee tokens and changed source code?

Not directly. SAP confirmed it found suspicious activity and took protective measures, and said it has found no evidence of unauthorised access to customer business data so far. The token theft and source code changes were reported by Der Spiegel and other outlets citing insiders; SAP has not confirmed those details. Treat them as credible reports, not confirmed facts.

Is there any evidence that tampered SAP code reached customers?

No. As of the latest reporting, there is no public indication that modified code was built into software delivered to customers. SAP has not said which repositories were affected, so this remains an open question while the investigation continues.

What is "Project Granite"?

"Project Granite" is the internal name SAP is using to track this incident, according to the internal memo cited by Der Spiegel. It is an internal codename, not a product or a public programme.

Did the attackers use AI agents?

That has been reported but not confirmed. Sources cited by Der Spiegel said the attackers may have used AI systems or AI agents. SAP has not addressed this in its statements, so it should be treated as an unconfirmed report.

I do not use SAP software. Why should I care?

Because the attack pattern is the same one the WordPress ecosystem depends on: developer tokens, GitHub repositories, and update pipelines. If a token can be stolen and code altered at SAP, it can happen to a plugin or theme author too, and a poisoned update would spread through the normal update process.

What should I do on my WordPress site right now?

Review and rotate your GitHub tokens, narrow their permissions, and set expiry dates. Check where your tokens are stored and remove them from scripts and shared documents. Verify your plugins and themes come from trusted sources and remove unused ones. Enable file-change monitoring, and review who still has access to your repositories.

Looking for more WordPress & Elementor tutorials?

Explore our complete directory of 53+ web performance, theme development, and Elementor architecture guides.

View Topic Sitemap XML Feed