← Back to Blog
Hot TopicOn This Site

The SAP GitHub Breach (November 2026): What SAP Confirmed, Whether Customers Should Worry, and How to Protect Your Code From Stolen Tokens

On 27 November 2026 SAP confirmed it had found suspicious activity and taken measures to protect customers, after Der Spiegel reported that attackers used stolen employee tokens to reach SAP's GitHub environment and copy and alter source code. Here is what SAP actually said versus what is only reported, what SAP customers and developers who pull SAP code should check, and the token and dependency controls I'd put in any startup this week.

·9 min read

SAP, one of the largest software companies in the world, confirmed on 27 November 2026 that it had "identified suspicious activity" and put measures in place to protect its customers. That came a day after Der Spiegel reported, citing SAP insiders and an internal memo, that attackers had used stolen employee authentication tokens to get into SAP's GitHub environment, copy source code and change some of it. SAP says it has found no evidence of unauthorized access to customer business data. If you run SAP, or you pull SAP libraries from GitHub, npm or Maven, the practical move this week is to verify what you installed recently and slow down automatic updates of SAP packages until SAP says more. If you run a startup, the bigger lesson is that this is the third serious incident in one week that started with a developer's GitHub access.

Who should care

  • SAP customers and SAP partners, especially teams that build on SAP BTP, use SAP open-source libraries or SDKs, or let bots like Dependabot and Renovate pull SAP packages automatically.
  • Any startup whose engineers use GitHub with personal access tokens, OAuth apps or long-lived CLI sessions. That is nearly every startup.
  • Founders and CTOs who ship software to customers who will now ask, in their next security questionnaire, how you protect your source code and your release signing.

What actually happened

The honest answer is that very little is confirmed. Most of the detail comes from anonymous sources, so I'll separate the two clearly.

What SAP has said

SAP's statements, given to BleepingComputer, SecurityWeek and others, say three things:

  • SAP "has identified suspicious activity and promptly implemented the necessary measures to protect its customers and preserve the security of its services."
  • "Based on our investigation to date, we have found no evidence of unauthorized access to customer business data."
  • SAP will "continue to strengthen" its security.

SAP has not said what the activity was, where it happened, when it started or when it was detected, who was behind it, or whether any changed code reached customers. Asked by BleepingComputer whether customers pulling code from GitHub should act, a spokesperson declined to share more. Cybersecurity Dive reports that SAP declined to comment on the root cause.

What has been reported but not confirmed by SAP

  • Stolen employee tokens. Der Spiegel, on Thursday 26 November, reported that attackers used stolen authentication tokens belonging to SAP staff. How the tokens were stolen has not been reported.
  • Source code copied and altered on GitHub. Same source. SecurityWeek points out that SAP publishes open-source and sample code on GitHub, so it is unclear whether proprietary code was touched.
  • Emergency measures. Handelsblatt reported that SAP restricted GitHub access, paused automated build and delivery processes, and replaced its signing keys. Nobody has said whether the old keys were stolen or rotated as a precaution.
  • An internal code name, "Project Granite", reported by outlets citing Der Spiegel.
  • Possible AI assistance. Der Spiegel's sources suggested the attackers may have used AI agents. SecurityWeek notes that this has not been confirmed.

Two things that are sometimes mixed into coverage: the ransomware group that listed SAP on its leak site in October appears unrelated, per SecurityWeek, and no source has tied this incident to the earlier npm or GitHub Actions campaigns. Some vendor write-ups add downtime estimates, kill chains and dollar figures; none of that comes from SAP or the original reporting, so I'm ignoring it.

Why it still matters

SecurityWeek's summary is the important line for customers: none of the reports say tampered code made it into software delivered to SAP customers. That is good news, but it is the absence of evidence in news reports, not a statement from SAP that release artifacts were checked. Until SAP says that, the reasonable posture is "verify, don't panic."

If you use SAP: what to check today

Most SAP customers consume SAP through signed releases and SAP's own support channels, not by cloning GitHub. Your exposure is mainly in the places where code from SAP flows into your systems automatically.

1. Find where SAP packages enter your builds

Search your repos for SAP dependencies. For JavaScript and UI5 projects:

# list SAP and UI5 packages in a Node project, with installed versions
npm ls --all 2>/dev/null | grep -E "@sap|@ui5|@sap-cloud-sdk" | sort -u

For Java and Maven projects:

mvn dependency:tree | grep -iE "com\.sap|sap\.cloud"

Write down every package, its version and when it last changed in your lockfile (git log -p package-lock.json shows you the date each version arrived).

2. Verify registry signatures and provenance

npm can check that what you installed matches what the registry signed, and whether packages carry provenance attestations:

npm audit signatures

A failure here is worth stopping for. A pass means the package matches what the registry published; it does not prove the publisher's own source was clean, which is exactly the open question with SAP. For container images or binaries that SAP signs, verify signatures using the method SAP documents for that product, and confirm the public key you check against came from SAP's official channel after the incident, since SAP reportedly replaced signing keys.

3. Pause automatic updates for SAP packages

Onapsis, an SAP security firm quoted by Cybersecurity Dive, advised customers to verify signatures, pin SAP libraries and pause Dependabot or Renovate auto-updates for SAP packages. In Renovate, that is a package rule:

{
  "packageRules": [
    {
      "matchPackagePatterns": ["^@sap/", "^@ui5/", "^com\\.sap"],
      "enabled": false
    }
  ]
}

In Dependabot, add an ignore entry for the same names in .github/dependabot.yml. Put a calendar reminder to undo it once SAP publishes guidance; a permanent freeze becomes its own security problem.

4. Watch SAP's official channels, not social media

Expect the next real information to come through SAP's security notes, support portal and newsroom. If SAP publishes indicators, affected repositories or package versions, that list beats any guess you make today.

What to change in your stack this week

I've written twice this week about breaches that started with GitHub access: Todoist, where a stolen version-control credential led to tampered CI workflows, and 1Password, where the attacker used an employee's corporate GitHub account. Those posts cover CI permissions, branch protection and deploy keys. SAP adds two angles they didn't: the token itself, and the code you consume from others.

1. Make GitHub tokens short-lived and visible

A stolen token is only as dangerous as its scope and lifetime. Classic personal access tokens often have broad repo access and no expiry. In your GitHub organization settings, restrict or block classic tokens, require approval for fine-grained tokens, and set a maximum lifetime. Then look at what already exists:

# fine-grained tokens with access to your org (org owners only). Untested sketch: replace ORG.
gh api orgs/ORG/personal-access-tokens --paginate \
  --jq '.[] | [.owner.login, .token_name, .token_expires_at, .token_last_used_at] | @tsv'

Anything that never expires, has not been used in 90 days, or belongs to someone who left gets revoked. Enforce SAML SSO if you are on a plan that supports it, so tokens stop working when the person's company login is disabled.

2. Get tokens off laptops where you can

Developer machines hold gh CLI sessions, git credential helpers and .npmrc files with publish tokens. Prefer short-lived credentials: OIDC from CI to your cloud and to npm trusted publishing instead of stored secrets, and SSH keys or tokens backed by a hardware key for humans. Turn on GitHub secret scanning with push protection so tokens pasted into code are blocked before they land.

3. Sign what you release, and protect the signing key like production

SAP reportedly replaced its signing keys. Ask yourself: if your release signing key or your npm publish token were stolen tomorrow, how would customers know? If the answer is "they wouldn't," start with npm provenance for packages and Sigstore or cosign for container images, and keep signing in a protected CI environment with required reviewers rather than on anyone's laptop.

4. Delay brand-new dependency versions by a few days

Most supply-chain compromises are caught within days. Renovate's minimumReleaseAge (for example "3 days") and Dependabot's cooldown settings let you wait out that window for routine updates while still fast-tracking security fixes. This one setting would have protected many teams in this year's npm and PyPI incidents, including the agent-framework PyPI compromise.

5. Keep GitHub audit logs somewhere you will actually look

Stream the GitHub audit log to your log tool and alert on a short list: new tokens granted to the org, repository visibility changes, branch protection or ruleset changes, and bulk clones or archive downloads. If an attacker copies code, a spike in git clone activity from an unusual location is often the only signal.

What I'd do as a CTO

If I were running engineering at a startup this week, I would not spend time guessing at SAP's internals. I would spend one afternoon on the parts I control:

  • Today: if we use SAP packages, run the inventory and npm audit signatures, and pause bot updates for SAP namespaces with a dated reminder to lift it.
  • This week: list every GitHub token with org access, revoke the stale and non-expiring ones, set a maximum lifetime, and turn on push protection.
  • This month: move publishing and signing into CI with OIDC, add a release-age delay for dependencies, and wire GitHub audit log alerts.

The line I'd put in front of the team: a GitHub token is a production credential that happens to live on a laptop. Three companies with serious security teams learned that within seven days.

Customers will also start asking about this. Having clear, true answers about token lifetimes, signing and dependency policy wins enterprise deals. If you don't have someone senior to own that, it's the kind of work a fractional CTO or technical advisor can set up in a couple of weeks. For the CI side, my wfx-loot GitHub Actions guide has the checks.

FAQ

Was SAP hacked in November 2026?

SAP confirmed on 27 November 2026 that it identified suspicious activity and took measures to protect customers. It has not used the word hack or described the activity. Reports citing SAP insiders say attackers used stolen employee tokens to access its GitHub environment.

Was SAP customer data stolen?

SAP says that, based on its investigation so far, it has found no evidence of unauthorized access to customer business data. The investigation is ongoing.

Did attackers change SAP source code?

Der Spiegel reported that source code was copied and altered, citing an insider. SAP has not confirmed this. No report says changed code reached software delivered to customers.

What should SAP customers do now?

Inventory SAP packages in your builds, verify signatures, pin versions and pause automatic updates for SAP packages until SAP publishes guidance. Follow SAP's official security notes for any indicators.

What is Project Granite?

It is the internal code name for the incident, according to reports citing Der Spiegel and SAP insiders. SAP has not confirmed the name.

Was AI used in the SAP attack?

Der Spiegel's sources suggested the attackers may have used AI agents. This has not been confirmed by SAP or any investigator.

If you want a second pair of eyes on your GitHub tokens, signing and dependency policy, book a 30-minute call and we'll go through it together.

Sources

Written By

Kunal Vohra

Kunal Vohra

Technical Co-Founder & Fractional CTO

I've co-founded 6+ startups across India, the UAE, and the US, spanning AI, Web3, fintech, and cybersecurity. I write about the technical and strategic decisions that determine whether a startup thrives or stalls.

Comments

Loading comments…

Enjoyed this article?

More writing on AI, Web3, and building startups.