A GitHub token audit should be on every engineering team’s agenda right now. SAP confirmed on November 26–27, 2026, that it is investigating a security incident — reported internally under the code name Project Granite — in which attackers reportedly stole employee authentication tokens and used them to copy and alter source code on GitHub. SAP’s emergency response reveals exactly which controls failed and, by extension, which controls your team should verify today.
Updated November 27, 2026
Key Takeaways
- Attackers reportedly used stolen SAP employee GitHub tokens to copy and alter source code on GitHub.
- SAP’s emergency response included restricting GitHub access, suspending automated CI/CD pipelines, and rotating signing keys.
- Earlier this year, malicious SAP npm packages stole GitHub and CI/CD credentials in the separate Mini Shai-Hulud campaign.
- SAP has found no evidence of unauthorized access to customer business data, but whether altered code entered a build remains an open question.
What Did SAP’s Emergency Response Reveal About the Attack Surface?
According to Dealroom summarizing Handelsblatt, which cited people inside the company, SAP restricted access to GitHub, paused automated build and delivery pipelines, and rotated its code-signing keys. Each step maps directly to a failure mode worth auditing in your own environment.
Token replay — not a zero-day exploit — appears to be the entry mechanism. As Cyber Press notes in describing the broader pattern of identity-centric attacks on developer platforms, adversaries replay valid bearer tokens instead of exploiting memory corruption flaws, so multi-factor authentication never gets a chance to block them.
This is also SAP’s second supply-chain brush this year. In April 2026, malicious versions of four SAP npm packages — mbt, @cap-js/db-service, @cap-js/postgres, and @cap-js/sqlite — were published in the Mini Shai-Hulud campaign, stealing GitHub and npm tokens and CI/CD credentials via preinstall hooks. The two incidents are not confirmed to be linked, but the pattern is consistent. See also our earlier coverage on how an unrevoked key started the LiteLLM supply chain attack.
What Should You Check First? Token Rotation and Audit Logs
Treat any token that has touched a shared repository, a CI runner, or a third-party integration as potentially exposed. SAP’s internal message asked employees to review their access credentials and change them if needed — your team should do the same.
- Revoke all long-lived personal access tokens (PATs) in your GitHub organization settings. Replace them with fine-grained tokens scoped to the minimum repository and permission set required.
- Audit GitHub organization audit logs for push events, force-pushes, branch protection changes, and GitHub Actions workflow runs from unfamiliar tokens, IP addresses, or user agents over recent weeks.
- Rotate OAuth grants and SSH keys for any developer or service account with write access to repositories containing build scripts or release workflows.
- Enforce phishing-resistant MFA (FIDO2/passkey) across all developer accounts. Removing standing tokens reduces the replay window even when TOTP-based MFA cannot block an already-issued token.
- Switch CI/CD pipelines to OIDC-based federation rather than static secret tokens where your cloud provider supports it, eliminating long-lived credentials from runner environments entirely.
For broader hardening guidance, our post on hardening GitHub employee accounts after the 1Password breach — in which customer data and source code were also stolen after an employee’s GitHub account was compromised — covers org-level policy controls in detail.
How Do You Lock Down Your Build Pipeline?
SAP suspended automated development operations precisely because a token with write access can alter workflow files and inject malicious steps. Apply the same logic to your own pipelines.
- Protect default and release branches with required code review — a stolen token that cannot merge without a second approver has a narrower blast radius.
- Enforce signed commits on protected branches so unauthorized pushes can be identified against your known key set.
- Restrict outbound network access from build runners to known registries and artifact stores to surface unexpected exfiltration traffic.
- Audit GitHub Actions workflow files for recent, unexpected changes — especially in
.github/workflows/— that could redirect build artifacts or add exfiltration steps.
How Do You Verify SAP Dependency Integrity Before the Next Build?
SAP rotated its code-signing keys as part of the emergency response, meaning your pipeline needs to trust the new keys and reject the old ones. Use the table below as a quick reference.
| Dependency Type | Verification Step | Source of Truth |
|---|---|---|
| SAP npm packages | Pin to exact version and check published hash | npmjs.com release history |
| SAP GitHub releases | Verify signature against rotated signing key | SAP Trust Center / Security Notes |
| SAP SDK artifacts (Maven) | Pin exact version; review recent upstream commits | SAP GitHub repository history |
- Watch the SAP Trust Center and Security Notes for any advisory tied to Project Granite. SAP had not issued customer-facing guidance specific to this incident at the time of publication.
- Review recent upstream commits in every SAP open-source repository your project consumes — look for unexpected releases or commits over the past several weeks.
- Treat incident-themed emails offering patches or account verification outside official SAP channels as phishing.
Is This a Universal Developer-Platform Problem, Not Just an SAP Problem?
The same week as Project Granite, SecurityWeek reported that 1Password disclosed a breach in which customer data and source code were stolen after an employee’s GitHub account was compromised. Germany’s Federal Office for Information Security (BSI) issued a warning on November 26 about agentic AI tools being used to speed up attacks — the same AI-assisted angle suggested inside SAP, though SAP has not confirmed it. The tradecraft — stolen bearer tokens replayed against a developer platform — is vendor-agnostic, and the checklist above applies whether your stack touches SAP or not.
Frequently asked questions
What is SAP Project Granite?
Project Granite is SAP’s reported internal code name for an active security incident that became public on November 26, 2026, in which attackers reportedly stole employee GitHub authentication tokens and used them to copy and alter SAP source code — details SAP itself has not publicly confirmed.
Did tampered SAP code reach customers?
None of the reports confirm that modified code was incorporated into software delivered to SAP customers, and SAP has stated it found no evidence of unauthorized access to customer business data.
What emergency steps did SAP take after the breach?
According to Handelsblatt, citing people inside the company, SAP restricted access to GitHub, suspended automated build and delivery pipelines, and rotated its code-signing keys to prevent tampered artifacts from being trusted as legitimate builds.
What SAP npm packages were compromised earlier in 2026?
In April 2026, malicious versions of four SAP npm packages — mbt, @cap-js/db-service, @cap-js/postgres, and @cap-js/sqlite — were published in the Mini Shai-Hulud campaign, stealing GitHub and npm tokens and CI/CD credentials.