← All playbooks
HighBreach · 2026-11-27

SAP breach: suspicious activity in its GitHub development environment, stolen employee tokens reportedly used to copy and alter source code

SockAnalyst · Security+ certified analyst.

What happened

SAP confirmed on November 26-27, 2026 that it "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." SAP did not say what happened, when, or which systems were involved. According to an internal memo reviewed by dpa, the activity was found "within our platform for developer productivity and software delivery, GitHub," and staff were asked to check whether they need to change credentials. Der Spiegel, citing an insider, reported that attackers stole SAP employees' GitHub authentication tokens and used them to copy and alter source code, possibly with help from AI tools; Handelsblatt reported that under the internal response name "Project Granite" SAP restricted GitHub access, paused automated development pipelines and replaced signing keys. SAP has not confirmed those details, and no report says tampered code reached software delivered to customers. A separate October leak-site listing of SAP by the Gentlemen ransomware group appears unrelated.

Who's affected

SAP itself and, potentially, anyone consuming SAP code from GitHub (SAP's public open-source projects, SDKs, sample apps and tooling) or downstream SAP software builds if any altered code had shipped; SAP says it has no evidence customer business data was accessed and has given customers no action items so far. Expect SAP-themed phishing ('urgent SAP security update') aimed at SAP admins.

✅ Fix / patch

  • No SAP-issued customer action exists yet. Watch SAP's official channels (SAP Trust Center, SAP Support Portal security notes) and apply only updates delivered through SAP's normal signed channels.
  • If you build from SAP GitHub repositories or pull SAP npm/Maven/PyPI packages, pin to known-good versions and commit SHAs from before mid-November 2026, and review any new releases or commits from the last two weeks before upgrading.
  • Because SAP reportedly replaced signing keys, expect signature or certificate changes on SAP tooling; verify any new signing certificate through SAP's documentation rather than trusting an email about it.
  • Warn SAP Basis/admin teams about SAP-themed phishing and fake 'emergency patch' downloads; SAP patches come through the Support Portal / Software Center, not email attachments.
  • Lesson for your own shop (same pattern as the 1Password breach this week): lock GitHub org access to SSO with phishing-resistant MFA, use short-lived fine-grained tokens, alert on new PATs/OAuth apps and mass clones, and require protected branches and signed commits on release branches.

🔎 Quick hunt check

No IOCs published (no IPs, domains, hashes, repo names or package versions). Hunt in your own environment for SAP-themed phishing and unusual SAP-sourced downloads, and in your GitHub audit log for the technique reported here: token use from new IPs or ASNs, mass git.clone / repo download events, new personal access tokens or OAuth app grants, and pushes to protected or release branches by unexpected accounts.

MITRE ATT&CK: T1528, T1078.004, T1213.003, T1565.001, T1566

IOCs

No IOCs (IPs, domains or hashes) published by the sources yet.

Hunt queries

Starting points built only from published indicators. Field names vary; tune before use.

```SAP GitHub breach lesson (Nov 2026): hunt your own GitHub org audit log for stolen-token use, mass cloning and new tokens (GitHub audit log via Splunk Add-on for GitHub / audit log streaming), plus SAP-themed phishing in email.```
index=* (sourcetype=github:enterprise:audit OR sourcetype="github:cloud:audit" OR sourcetype=github_audit) earliest=-14d
| eval act=lower(coalesce(action, "")), actor=coalesce(actor, user, "-"), ip=coalesce(actor_ip, src_ip, "-"), repo=coalesce(repo, repository, "-")
| eval signal=case(match(act, "^(personal_access_token\.(request_created|access_granted)|oauth_authorization\.create|oauth_application\.create|integration_installation\.create)$"), "new_token_or_oauth_grant", match(act, "^(git\.clone|repo\.download_zip|git\.fetch)$"), "repo_read", match(act, "^(protected_branch\.(destroy|policy_override|update_admin_enforced)|git\.push)$") AND match(coalesce(ref, ""), "(main|master|release)"), "protected_or_release_branch_change", true(), null())
| where isnotnull(signal)
| stats count dc(repo) as repos values(repo) as repo_list values(ip) as ips min(_time) as first_seen by actor, signal
| where signal!="repo_read" OR repos>=20
| convert ctime(first_seen)
| sort signal - repos
``` 20+ repos cloned by one actor in 14 days, new PATs/OAuth grants nobody requested, or release-branch pushes by unusual accounts = verify with the user out-of-band. ```

```Follow-on phishing: SAP-themed messages not from SAP domains.```
index=* tag=email earliest=11/26/2026:00:00:00 subject="*SAP*" (subject="*security*" OR subject="*patch*" OR subject="*incident*" OR subject="*update*" OR subject="*verify*")
| eval sender_domain=lower(replace(coalesce(src_user, sender, ""), "^.*@", ""))
| where NOT match(sender_domain, "(^|\.)sap\.com$")
| stats count values(subject) as subjects dc(recipient) as recipients by sender_domain, src_user
// SAP GitHub breach lesson (Nov 2026): stolen-token use / mass cloning / new tokens in YOUR GitHub org (GitHub audit log connector -> GitHubAuditLogPolling_CL or GitHubAuditLogsV2_CL) + SAP-themed phishing (Defender for Office 365)
let Since = ago(14d);
let GH = union isfuzzy=true (GitHubAuditLogPolling_CL | where TimeGenerated >= Since), (GitHubAuditLogsV2_CL | where TimeGenerated >= Since)
| extend Raw = pack_all()
| extend Act = tolower(coalesce(tostring(Raw.action_s), tostring(Raw.action), tostring(Raw.Action))), Actor = coalesce(tostring(Raw.actor_s), tostring(Raw.actor), tostring(Raw.Actor)), Repo = coalesce(tostring(Raw.repo_s), tostring(Raw.repo), tostring(Raw.Repository)), Ip = coalesce(tostring(Raw.actor_ip_s), tostring(Raw.actor_ip), tostring(Raw.IPAddress))
| extend Signal = case(Act in ("personal_access_token.request_created", "personal_access_token.access_granted", "oauth_authorization.create", "oauth_application.create", "integration_installation.create"), "new_token_or_oauth_grant",
    Act in ("git.clone", "repo.download_zip", "git.fetch"), "repo_read",
    Act startswith "protected_branch.", "protected_branch_change", "")
| where Signal != ""
| summarize Events=count(), Repos=dcount(Repo), RepoList=make_set(Repo, 25), Ips=make_set(Ip, 10), FirstSeen=min(TimeGenerated) by Actor, Signal
| where Signal != "repo_read" or Repos >= 20;
let Phish = EmailEvents
| where Timestamp >= datetime(2026-11-26)
| where Subject has "SAP" and Subject has_any ("security", "patch", "incident", "update", "verify")
| where not(SenderFromDomain =~ "sap.com" or SenderFromDomain endswith ".sap.com")
| summarize Events=count(), Repos=dcount(RecipientEmailAddress), RepoList=make_set(Subject, 25), Ips=make_set(SenderIPv4, 10), FirstSeen=min(Timestamp) by Actor=SenderFromAddress
| extend Signal = "sap_themed_phish";
union GH, Phish
| order by Signal asc, Repos desc
// Repos column = recipients for the phishing branch. Verify unexpected tokens/clones with the owner out-of-band.

See all hunt queries →

⏱ CISA deadline

Not in CISA KEV as of Nov 27, 2026.

Sources

Primary source note: SAP has not published a public statement, customer advisory or Trust Center notice as of Nov 27, 2026; its statement was given to media (BleepingComputer, SecurityWeek, dpa). The source carrying SAP's verbatim statement is listed first. Token theft, source-code copying/alteration, AI involvement and 'Project Granite' come from Der Spiegel and Handelsblatt insiders and are not confirmed by SAP.

Related playbooks

Get the SockAnalyst Weekly Brief free, every Thursday.

One email a week with the KEV deadlines, patches and hunt queries that matter. New playbooks still post here on the site every morning.

Subscribe free

Read the free weekly pack →