← Home

SAP Confirms 'Project Granite': Hackers Stole GitHub Tokens and Altered Source Code

Enterprise software giant SAP confirmed this week a serious security incident targeting its software development infrastructure. Hackers allegedly stole authentication tokens from employees, used those credentials to copy and alter source code hosted on SAP's GitHub organization, and possibly leveraged AI agents to automate parts of the attack.

The initial report came from Germany's Nachrichten magazine Der Spiegel on Thursday evening (November 26), which stated that SAP is handling the case internally as an "active security incident" under the code name "Project Granite". The company asked all employees to maintain confidentiality about the case details.

The German Press Agency (dpa), which independently reviewed portions of SAP's internal communications, reported that the company alerted employees about suspicious activity in its GitHub environment several days before the incident became public. Staff were advised to check whether they needed to change their login credentials.

What is known so far

SAP, headquartered in Walldorf, Germany, is one of the world's largest enterprise software vendors, with 110,000 employees across 157 countries, 300 million subscribers, and more than $40 billion in annual revenue. Its products run in businesses and government agencies for financial operations, supply chain management, and human resources.

According to German business newspaper Handelsblatt, citing people inside the company, SAP restricted access to GitHub, paused automated development and delivery pipelines, and rotated its code-signing keys — measures designed to prevent attackers from using stolen credentials and to keep tampered code out of shipped software.

In a statement to the German Press Agency, SAP said it had identified "suspicious activity" and "immediately implemented the necessary measures to protect its customers and ensure the security of its services." To date, the investigation has found no evidence of unauthorized access to customers' business data.

The company has not disclosed who is behind the attack, how the intruders gained initial access, which repositories or code versions were affected, or confirmed the use of AI agents by the attackers.

The attack details

Industry sources cited by Der Spiegel said the attackers accessed SAP's software development environment hosted on GitHub, obtaining employee authentication tokens that allowed them to copy and modify SAP source code on GitHub. The Spiegel report suggested that attackers may have used AI agents — autonomous systems capable of executing complex tasks without direct human intervention.

SAP's response measures, according to Handelsblatt, affected multiple development teams. Team members were asked to check and change their credentials. The internal code name "Project Granite" indicates the response was treated as a critical incident operation.

The context: SAP has been targeted before

This is not SAP's first 2026 attack on its development infrastructure. In April, official npm packages from the SAP ecosystem were compromised in a software supply chain attack attributed to the criminal organization TeamPCP. The affected packages — @cap-js/sqlite, @cap-js/postgres, @cap-js/db-service, and mbt — collectively received approximately 572,000 weekly downloads and contained a malicious preinstall script that downloaded and executed the Bun runtime, installing an obfuscated payload capable of stealing GitHub, AWS, Azure, Google Cloud, Kubernetes, and other service credentials.

That attack, termed "Mini Shai Hulud" by researchers, exploited two compromise vectors: a stolen npm token for the mbt package and an OIDC trusted publishing abuse for the @cap-js packages. The malware contained language checks (it exited without executing if the system was in Russian) and used AES-256-GCM encryption with RSA-4096 keys to exfiltrate data.

The relationship between the two incidents is unclear. SAP has not confirmed whether the attacks are connected, and the November attack focuses on the GitHub environment while the April one targeted npm packages.

Why Project Granite matters

The attack on SAP's GitHub environment raises critical questions about software supply chain security at the development infrastructure level. When hackers gain access to developer authentication tokens and modify code in official repositories, every client using those repositories or pulling automated updates could be exposed.

The key question is whether any altered code was published or made it into customer software builds. SAP stated there is no evidence of unauthorized access to customers' business data, but this does not necessarily mean the source code itself was not compromised.

The potential mention of AI agent use by the attackers is particularly relevant. Germany's Federal Office for Information Security (BSI) issued an advisory the same week, warning that AI agents can automate much of a cyberattack using widely available models, lowering costs and potentially making this type of attack more common. The agency recommended companies prioritize incident response and close the easiest entry points into their systems.

What to expect

So far, SAP has not released a detailed timeline of the incident, which specific repositories were affected, or whether any tampered code made it into customer software builds. The company maintains confidentiality about Project Granite details.

The attack pattern — access via stolen tokens, modification of official repositories, possible use of autonomous AI — reflects a worrying evolution in the war against software development infrastructure. It is no longer about compromising production servers; it is about compromising the software creation process itself, making the risk even harder to detect and contain.

Sources: Der Spiegel, The Record from Recorded Future, BleepingComputer

✓ Independent sources cross-checked and verified before publishing