SAP confirmed on Thursday evening, November 26, 2026, that it is handling a security incident in the environment where its software is built. The statement went to the German Press Agency and was reported by Handelsblatt. It said SAP had identified “suspicious activities,” taken countermeasures, and found “no evidence of unauthorized access to customers’ business data” as of the current status of its investigation. It did not name an attack vector or a perpetrator, and it did not say whether every affected system had been found and the intrusion contained.
Der Spiegel reported the incident first and called it a hacker attack. Citing an insider, the magazine said attackers stole authentication tokens belonging to SAP employees for GitHub, which would let them read and modify source code. English-language coverage describes the tokens being used to alter and copy code. Keep two things apart here: SAP has confirmed an incident, but the token-theft account is press reporting sourced to people inside the company.
This article does not try to fill the gaps with speculation. It looks at what is technically at stake when bearer credentials for a source-code platform are stolen from a company whose ERP software runs finance, payroll, and procurement for a large share of the world’s economy. It also explains why SAP’s three reported countermeasures (restrict, halt, rotate) match the mechanics of modern supply-chain attacks so closely.
The wider context is bleak. Germany’s BSI has raised its assessment of the national IT security situation to “tense to critical,” and agency president Claudia Plattner has warned that new tooling enables attacks at a scale and speed not seen before. In 2026, token theft against developer infrastructure went from being a type of incident to being an industry.
What Handelsblatt and Der Spiegel report about Project Granite
Most of the detail comes from Handelsblatt’s sources inside the company. Software development is affected, and SAP has organized its response under the internal name “Project Granite,” with numerous teams touched by the immediate measures. According to the reporting, SAP restricted access to GitHub, stopped automated processes in software development, and replaced software signing keys. That sequence is designed to stop an attacker who already holds stolen credentials from getting further into systems and source code.
An internal letter, which the German Press Agency was able to partly review and which went out days before the public confirmation, described suspicious activities “within our platform for developer productivity and software deployment GitHub.” It asked employees to check whether they needed to take security measures such as changing their login credentials. Handelsblatt also quotes a separate internal message, cited by Spiegel, telling recipients that “any information about this project is internal and must be kept strictly within SAP.”
Spiegel’s sources also suggested the attackers may have used AI agents. SAP has not confirmed this, and no technical detail in the reporting supports it.
Why a stolen GitHub token is worse than a stolen password
The credentials reportedly taken from SAP employees are bearer artifacts: whoever presents the string is treated as the identity it belongs to. An API call carries no second factor, and a raw token exchange triggers no interactive SSO challenge or device posture check. An attacker with a valid token authenticates through the same endpoints and protocols as the developer they are impersonating. Nothing in GitHub’s infrastructure has to be exploited, because the system is working as designed.
That is why multi-factor authentication, which organizations spent a decade rolling out, gives no protection at this layer. It also means detection has to be behavioral rather than signature-based.
GitHub token types and how far each one reaches
GitHub’s credential reference shows how much the blast radius varies by token type, and each type can be identified by its prefix:
📬 Stay Ahead of Cyber Threats
Get the latest cybersecurity news, critical vulnerabilities, threat intelligence, tutorials, and exclusive giveaways delivered straight to your inbox. No spam. Unsubscribe anytime.
- Classic personal access tokens (
ghp_) are long-lived, carry coarse scopes, and belong to a user account. A classic token with thereposcope controls every private repository that user can reach, so one stolen string works as a master key to a developer’s whole visible codebase. - Fine-grained PATs (
github_pat_) narrow access to selected repositories and specific permissions. Their lifetime can run up to a year or, under current policy, have no expiration at all. - OAuth app tokens (
gho_) are also long-lived. - GitHub App user access tokens (
ghu_) expire after eight hours by default and pair with six-month refresh tokens (ghr_). - Installation access tokens (
ghs_) live for one hour and belong to an app installation rather than a person. - The
GITHUB_TOKENissued to each Actions job expires when the job ends and cannot be revoked manually. During an incident, the documented way to stop new ones being issued is to disable Actions on the repository.
SAP has not said which type it lost. For scoping purposes, the gap between a job-scoped token and a non-expiring classic PAT with repo scope is the gap between an afternoon and a year of potential exposure.
Why revoking stolen GitHub tokens at enterprise scale is so hard
“Reset everyone’s credentials” sounds simple until you look at the mechanics. Organization owners cannot list or directly revoke a member’s classic PAT unless they know its actual value. The revocation API accepts the raw secret from anyone, unauthenticated, but visibility into which tokens exist is deliberately limited.
Enterprise-wide incident actions do exist, including bulk revocation of SSO authorizations and credential deletion. GitHub’s documentation warns that these are high-impact measures likely to break automations, and that restoring the original state “could take months of work.”
Read against that warning, SAP’s broad restriction of GitHub access and its halt of automated development look less like panic. At this scale, per-token revocation cannot finish faster than an attacker can use what they hold, so a circuit breaker may be the only option.
GhostAction: how stolen GitHub tokens became an industry in 2026
Threat research in 2026 has documented in detail what adversaries do with stolen GitHub tokens. GitGuardian’s tracking of the GhostAction campaign shows how it grew:
- The original September 2025 wave compromised 327 GitHub users and injected credential-stealing workflows into 817 repositories, exfiltrating at least 3,325 secrets.
- A renewed wave between late August and September 2026 hit 772 more repositories.
- Between October 8 and 12, the operation scaled up sharply. It compromised roughly 1,900 GitHub accounts and pushed malicious workflow commits into more than 30,000 repositories across 3,000 users and organizations, attempting to extract 3,174 secrets from public repositories’ CI.
- The payload also learned to scan full git history, not just the working tree, for AWS keys, GitHub and GitLab tokens, and AI-provider secrets.
GitHub began blocking the malicious workflow on October 9. GitGuardian’s most important finding is structural: unrelated actors, including cryptomining campaigns, repeatedly exploited the same compromised accounts, because leaked tokens circulate through infostealer logs and credential dumps. Rotating the secrets a malicious workflow stole is not enough. You also have to find and revoke the GitHub credential that allowed the injection, or someone else will use it again.
Gheist: the GitHub Actions attack that prints your secrets into the logs
Wiz’s analysis of Gheist, published in late October, documents a more refined pattern. Wiz has tracked it since September 15, 2026, and recovered more than 13,500 planted branches from over 850 compromised accounts.
The tooling commits a workflow named sync-check.yml to a fresh ci-sync- branch in every repository a stolen token can write to. The workflow exists to print credentials into its own run log. It dumps the environment and the full toJSON(secrets) context, base32-encoded. The encoding is the clever part: GitHub masks secret values in logs only when they appear verbatim, so a transformed secret prints in full.
Setting permissions: {} on the job is a common hardening reflex, but it only restricts the GITHUB_TOKEN, which the attacker does not need. It does nothing to the secrets context. Where a repository defines deployment environments, the tool lists them in a job matrix so environment-scoped secrets, usually production credentials, get printed as well. The attacker then downloads the log through GitHub’s own API and deletes the run seconds later. There is no attacker domain to block and no outbound connection to flag, because GitHub itself is the exfiltration channel.
Gheist also exposed the limits of a platform-level defense. Since July 28, 2026, GitHub has held potentially malicious workflow runs in public repositories until a collaborator approves them, and Wiz confirmed that every public Gheist run sat blocked at action_required. The control worked. It does not cover private repositories or GitHub Enterprise Server, though. There Wiz saw runs complete and logs get deleted, and hours later the victim organizations’ own cloud credentials were used to enumerate AWS Secrets Manager.
For an enterprise like SAP, whose development estate is private repositories on enterprise-grade GitHub, that gap is the whole story. The protections that neutralized these campaigns for the open-source commons do not reach the place where commercial software is actually built.
The April 2026 SAP npm compromise: Mini Shai-Hulud
This is not the first attack on SAP’s development ecosystem this year, and the earlier one is separate from the November event. On April 29, attackers published malicious versions of four npm packages in SAP’s Cloud Application Programming Model toolchain: [email protected] (the MTA Build Tool), @cap-js/[email protected], @cap-js/[email protected], and @cap-js/[email protected].
Snyk’s analysis shows that each compromised tarball kept the legitimate package files and added a preinstall hook. The hook downloaded the Bun JavaScript runtime and ran an obfuscated credential stealer of roughly 11.6 MB, self-branded “A Mini Shai-Hulud has Appeared.” The payload harvested GitHub and npm tokens, cloud credentials for AWS, Azure, GCP, and Kubernetes, password-manager CLI tokens, and AI coding-tool configuration. On Linux CI runners it spawned a Python child process that read /proc/{pid}/mem of the GitHub Actions Runner.Worker to dump plaintext secrets from memory. The stolen data was encrypted with AES-256-GCM, wrapped against an embedded RSA-4096 key, and committed to public dead-drop repositories created on victims’ own GitHub accounts. Victims could see that something had been taken but not what.
The persistence engineering was new. The payload committed .claude/settings.json files that abused Claude Code’s SessionStart hook, and .vscode/tasks.json entries with runOn: folderOpen, so the malware re-ran whenever a developer opened their AI coding assistant or editor. Where a stolen token had workflow scope, it pushed a typosquatted dependabout/ branch and a formatter workflow impersonating Dependabot, which dumped every repository secret via toJSON(secrets) into a build artifact.
An SAP engineer stated the root cause in the public remediation pull request: an unauthorized actor pushed malicious commits that hijacked the release workflow, and “the workflow had publish permissions without any manual approval gate.” The fix put npm publishing behind a manual environment review.
One detail stands out. SAP’s clean post-incident package versions were published through the cap-npm GitHub Actions OIDC trusted publisher, the same short-lived-credential mechanism that was turned against TanStack twelve days later. No public evidence connects the April npm compromise to the November GitHub incident, and none should be assumed. The two events share a target: the credentials and automation that sit between a developer’s keystrokes and shipped software.
TanStack: why short-lived OIDC credentials did not stop the attack
The industry’s answer to static credential theft has been to eliminate static credentials. GitHub Actions workflows request short-lived OIDC tokens, exchange them for cloud or registry access, and never store a long-lived secret. The TanStack postmortem is the clearest 2026 example of where that model breaks.
On May 11, between 19:20 and 19:26 UTC, an attacker published 84 malicious versions across 42 @tanstack/* packages. They did it without stealing an npm token and without changing the publish workflow’s definition. Three weaknesses were chained, and each one crossed a trust boundary the next one assumed:
- A
pull_request_targetworkflow checked out a fork’s merge ref and ran its build. This is the long-documented “pwn request” pattern, and it executed attacker code in the base repository’s context. - That code poisoned the pnpm store under the exact cache key the release workflow would later compute. This works because the
actions/cachepost-job save uses a runner-internal token rather than the workflow’sGITHUB_TOKEN, sopermissions: contents: readdoes not block cache writes. Cache scope is also shared per repository across fork PR runs and pushes to main. - When the legitimate release workflow next ran and restored the poisoned cache, attacker binaries executed inside a job holding
id-token: write.
The malware found the Runner.Worker process through /proc/*/cmdline, read its memory through /proc/<pid>/maps and /proc/<pid>/mem, and pulled out the OIDC token the runner mints lazily in memory. It then authenticated straight to the npm registry using the repository’s trusted-publisher binding, skipping the workflow’s defined publish step. The memory-extraction script was reused verbatim, attribution comment included, from the March 2025 tj-actions/changed-files compromise (CVE-2025-30066), which exposed secrets across more than 23,000 repositories.
TanStack’s postmortem draws the lesson itself: an OIDC trusted-publisher binding has no per-publish review, so once it is configured, any code path running in the workflow can mint a publish-capable token. Short-lived credentials shrink the window for a stolen secret. They do nothing against an attacker who gets code execution inside the trusted process while the secret is alive.
A StepSecurity researcher caught the attack in about 26 minutes, and all 84 versions were deprecated in roughly an hour and 43 minutes. The maintainers admit they were lucky, since the payload broke tests and made the runs visibly fail. A quieter attacker could have published silently for hours.
What Project Granite’s restrict, halt, and rotate response tells us
Against that backdrop, the three measures Handelsblatt attributes to Project Granite read as a coherent containment approach.
Restricting GitHub access deals with the bearer-credential problem at the one layer where an enterprise can act faster than per-token revocation allows.
Stopping automated development processes works as an artifact-integrity circuit breaker. Pipelines turn repository state into a built, signed, distributed product. If the inputs cannot be trusted, halting the pipelines is the only way to guarantee that no tainted output escapes while forensics continue. It also stops new GITHUB_TOKEN issuance, which cannot be revoked individually. The cost is large, and Handelsblatt reports numerous affected teams, but nobody halts their build machinery on a whim.
Why SAP rotated its software signing keys
Key rotation is the most consequential of the three, because it addresses downstream trust rather than upstream access. Code signing lets a customer verify that an artifact came from the legitimate publisher and was not altered. That guarantee rests entirely on the private key staying private and on the signing process signing only what it should. If an adversary may have influenced what got signed, the signature loses its meaning even though its cryptography remains valid.
A correct rotation involves several steps:
- Stop signing with the suspect key.
- Work with the issuing certificate authority on revocation.
- Inventory every artifact signed during the potential exposure window.
- Re-sign the artifacts verified as clean under a new key.
- Distribute the new trust anchor to relying parties, often with a transition period that accepts both keys.
RFC 3161 trusted timestamps matter here because they give cryptographic evidence of when a signature was created. That lets responders separate artifacts signed before the exposure window from those signed during it. Rotation does not admit that malicious code shipped. It acknowledges that signatures produced during the window can no longer carry their former assurance.
Mandatory commit signing and its limits
Handelsblatt reports two more measures that are unusually specific for a press account of an ongoing incident. SAP has made an internal tool available so developers can scan their own program archives for suspicious patterns, and every code change must now be cryptographically signed to stop attackers from slipping in unnoticed modifications.
Mandatory commit signing raises the bar, because a valid signature requires a private key, and a stolen API token alone does not provide one. The caveat is that signing keys are registered at the account level, so an attacker with enough account privileges can add new ones. The investigation therefore has to inventory the SSH and signing keys on every potentially affected account, alongside the token inventory. GitHub’s credential documentation adds that SSH keys created by a fine-grained token keep working even after the token is revoked. Containment has to chase every derived credential, not just the original ones.
The forensic problem: GitHub audit log retention
What an investigation can establish depends on what the platform recorded. GitHub’s enterprise audit log keeps most events for around 180 days, but Git events (clones, fetches, pushes) are kept for only seven days and are available through the API or an export rather than the web interface. If tokens were stolen and used weeks before detection, the record of what was read may no longer exist, unless the organization was streaming its audit log to external storage the whole time.
So “no evidence of unauthorized access” describes the state of the current investigation. It is not proof of absence. SAP’s assurance is also narrow: it covers customers’ business data, which lives in production ERP tenants and not in GitHub. It does not say that no source code was copied, that no commits were altered, or that no modified code reached a build. Those questions are still open.
Provenance, SLSA, and Sigstore: how to prove what shipped
Provenance and attestation are what make those questions answerable. The SLSA specification sets out the goal in levels:
- Build L1 requires that provenance exists.
- L2 requires that a hosted build platform generates and signs it.
- L3 requires a hardened build platform, so provenance cannot be forged and builds are isolated from one another.
Sigstore with its transparency log, in-toto attestations, and GitHub’s own artifact attestations let a consumer verify what went into an artifact, which workflow produced it, and which identity authorized it. A bare signature says only that someone with the key signed the artifact.
One of Gheist’s detection lessons generalizes directly. OIDC token subjects encode repository and ref claims, so cloud audit logs can show that Actions ran on an attacker-created branch even after the GitHub-side logs are gone.
An organization that can rebuild from signed provenance and independent logs exactly which artifacts came from which commits during the exposure window can make a precise, evidence-based statement to customers. One that cannot has to treat every artifact from that window as suspect and rebuild it. Which position SAP is in is not publicly known at the time of writing.
What SAP customers should do now
There is no public evidence that shipped software or customer tenants were compromised. Rotating every credential in a productive ERP landscape on the strength of press reporting would add real risk and cost with no demonstrated benefit. The sensible posture is verification:
- Confirm the signatures and provenance of software downloads and updates received during and after the incident window.
- Track SAP’s security notes through its Trust Center and monthly patch process for incident-related guidance.
- Watch for vendor communications that narrow the affected scope.
Development teams running SAP’s open-source tooling have a more concrete checklist left over from April. Check lockfiles against the known-malicious package versions listed above, treat any host that installed them as compromised, and rotate the credentials reachable from it.
Questions SAP still has to answer
SAP’s statement leaves several questions open, and all of them can be answered in principle:
- Which repositories were accessed, and over what period?
- Were any commits merged into release branches?
- Were any artifacts signed with the suspect keys during the exposure window?
- What verifiable provenance can the company offer for software shipped since?
The instruction to keep everything about Project Granite inside SAP is understandable during active containment. As a long-term position it sits badly with how supply-chain trust works, since that trust depends on the transparency that gag letters suppress.
GhostAction, Gheist, Mini Shai-Hulud, and TanStack together show that the developer identity is the real perimeter of modern software production: a token on a laptop, a secret in a pipeline, a key in a runner’s memory. Everything downstream, including the signatures customers rely on, inherits its integrity from those. SAP moved quickly to restrict, halt, and rotate. Whether that speed turns into assurance will depend on how rigorous and open its investigation is over the coming weeks, and the rest of the industry will be reading the result as a reference case.
FAQs
Did SAP confirm a data breach?
SAP confirmed a security incident in its software development environment and said it found no evidence of unauthorized access to customers’ business data as of its current investigation. It has not confirmed the token-theft account reported by Der Spiegel.
What is Project Granite at SAP?
Project Granite is the internal name for SAP’s incident response, according to Handelsblatt. It reportedly includes restricted GitHub access, halted automated development processes, and replaced software signing keys.
Why does SAP rotating signing keys matter?
Code signing lets customers verify that software came from SAP and was not altered. If attackers may have influenced what got signed, signatures from that period lose their assurance, so the keys are replaced and artifacts from the exposure window are re-verified.
Can multi-factor authentication stop stolen GitHub tokens?
No. Tokens are bearer credentials, so whoever presents one is treated as its owner. Detection has to rely on behavior, and revocation has to cover every derived credential.
Are SAP customers at risk?
There is no public evidence that shipped software or customer tenants were compromised. Customers should verify signatures and provenance of recent downloads and follow SAP’s security notes rather than rotating credentials on press reporting alone.







