SAP Suffers GitHub Token Breach, Source Code Altered

SAP has acknowledged an active security incident after detecting suspicious activity involving GitHub authentication tokens belonging to its employees. Reports reveal attackers may have stolen these tokens and used them to access, copy, and even modify source code repositories. SAP has taken immediate remedial actions, but many details remain unconfirmed.

What we know so far

The German enterprise software giant detected that some GitHub tokens issued to SAP personnel were compromised. These tokens enabled the attackers to not only duplicate but also alter code in SAP’s repositories. At this stage, however, SAP has found no evidence that customer business data was accessed. It did not clarify which repositories were affected, whether they were public or private, or if any of the modified code had been included in distributed software.

An internal memo refers to this investigation as “Project Granite,” describing the incident as ongoing. Although some reports suggest the involvement of AI agents, this is not confirmed. The precise method used to steal the tokens is still unknown.

What remains unclear and why it matters

Key unresolved issues include which codebases were impacted, whether changes made by the attackers found their way into build pipelines used by customers, and what steps SAP has taken beyond those publicly disclosed. SAP’s official statement says it is looking into whether altered code could have affected any shipped product, but has not provided concrete details on protective measures or remediation.

GitHub offers audit logs and management tools that help organizations trace actions taken with compromised tokens and revoke affected credentials. However, until SAP reveals repository names and the nature of the modifications, customers and developers cannot fully assess whether they need to take action.

This attack adds to a growing wave of threats targeting software supply chains, where credentials like tokens are prized by intruders for stealth access. Successful security of source code platforms is especially critical when those platforms are deeply embedded in cloud services and enterprise infrastructure.

Analytically, this incident underscores how credentials—even those not directly involved in customer data storage—can become entry points for damaging supply chain attacks. What to watch: SAP’s disclosure of affected repos; whether altered code entered customer-facing builds; and whether the alleged AI involvement heralds a new class of automated attacks. Customers should monitor for guidance from SAP and consider reviewing their own token access policies and build integrity verification processes.