Breaches and incidents Developing story
SAP confirms security incident after report of stolen GitHub tokens and altered source code
German outlets report attackers used stolen employee authentication tokens to copy and modify SAP source code on GitHub. SAP says it has found no evidence customer business data was accessed.

SAP has confirmed it is investigating a cybersecurity incident involving its own development infrastructure, after German reporting described attackers using stolen employee authentication tokens to copy and alter source code held on GitHub. The company says it detected suspicious activity and took immediate steps to protect customers and secure its services, according to SecurityWeek, without setting out how the attack worked.
The concern here is not stolen records but tampered code. SAP software runs core business processes at many large organisations, and code that is quietly modified upstream can travel downstream with a vendor's signature on it. On the evidence reported so far, that has not happened: none of the reports indicate that tampered code made it into software delivered to SAP customers, and SAP said it has found no evidence of unauthorised access to customer business data. Both statements describe the picture at an early stage of an investigation, not a final finding.
What is reported, and by whom
Der Spiegel first reported the incident, citing SAP insiders and an internal notification sent to staff. An insider quoted by the publication said the attackers obtained SAP employees' authentication tokens, the credentials that let a developer or an automated process act on GitHub without re-entering a password, and used them to copy and change source code stored there. SAP has confirmed an IT security incident but has not confirmed that account of how it happened.
Separately, the German news agency DPA reviewed internal SAP communications indicating that the suspicious activity was identified within GitHub, which lines up with the Der Spiegel reporting on where the problem sat.
Handelsblatt reported that SAP's emergency response touched a large number of teams, with measures including replacing signing keys, restricting access to GitHub and suspending automated development operations. Those are the moves an organisation makes when it is not yet certain what an attacker touched: signing keys are replaced because their trustworthiness is in question, and automated pipelines are halted because they are precisely the machinery that would carry altered code forward. SAP has not publicly detailed its remediation, so those specifics rest on Handelsblatt's reporting.
The investigation is reportedly running under the internal name Project Granite, a detail also attributed to sources rather than to the company.
What is not known
The scope is the biggest open question. The company's GitHub presence spans product source code, open source projects, sample applications and tooling for developers, and it is not clear whether the attacker reached any proprietary code or only material that was already public. The reporting does not name the affected repositories and does not say whether the copied code came from public or private ones.
It is also unknown who was behind the intrusion, how the tokens were obtained in the first place, how long the access lasted, or whether any altered code was committed and then reverted. Sources cited by Der Spiegel suggested the operation may have been assisted by artificial intelligence agents. SAP has not confirmed that, and no technical evidence for it has been published, so it should be read as an unverified claim from inside the company rather than an established finding.
There is one other SAP-adjacent item worth separating out. Towards the end of October, a ransomware group calling itself the Gentlemen named SAP on its extortion site, pointing at the company's Latin American operations, with file listings that suggested the attackers held SAP-related software and source code. It is not clear whether SAP itself or a third party was compromised in that case, and the incident does not appear to be connected to the GitHub token episode.
What to do now
There is no patch to apply and no SAP advisory naming affected versions, so the practical response is about your own posture rather than a specific fix.
- Treat SAP updates as you normally would, from official channels only, and verify signatures and checksums where the delivery mechanism offers them. If SAP has rotated signing keys, expect updated key material and obtain it through documented SAP channels rather than from a link in an email.
- Watch for SAP communications on this incident. If the company later identifies specific repositories, packages or releases as affected, that is the point at which concrete action, such as rebuilding or re-pulling a dependency, becomes possible.
- Check whether your own development teams consume SAP code from GitHub directly, for example sample applications, SDKs or open source components pulled into internal builds. Note which repositories and commits you rely on, so that you can answer the scope question quickly if details are published.
- Audit your own personal access tokens and machine credentials on GitHub and comparable platforms. Look for tokens with broad or write scopes, tokens that never expire, and tokens tied to individuals who have changed roles or left. Shorten lifetimes, narrow scopes, and require multi-factor authentication for anyone who can push to a repository.
- Review who and what can commit to protected branches, and whether signed commits and mandatory review are enforced. A stolen token is far less useful against a branch that will not accept an unreviewed change.
- Log and alert on unusual repository activity: commits outside working hours, pushes from new locations, changes to continuous integration workflow files, and newly created tokens or deploy keys.
Technical details
- Affected organisation: SAP SE. The incident concerns the company's software development infrastructure on GitHub, not, on current evidence, customer systems or customer business data.
- Reported attack method: theft of SAP employee authentication tokens for GitHub, then use of those tokens to copy and alter source code. This comes from an insider cited by Der Spiegel and has not been confirmed by SAP.
- SAP statement: "Based on our investigation to date, we have found no evidence of unauthorized access to customer business data."
- Reported remediation, per Handelsblatt: replacement of signing keys, restricted GitHub access, and suspension of automated development operations across numerous teams.
- Repositories affected: not named. It is unclear whether proprietary code was reached, and whether copied code was in public or private repositories.
- Indicators of compromise: none published. No CVE is involved; this is an intrusion, not a product vulnerability.
- Unverified claims: possible use of AI agents by the attackers (sources cited by Der Spiegel, not confirmed by SAP), and the internal investigation name Project Granite.
- Unrelated listing: the Gentlemen ransomware group named SAP on its leak site late in October, referencing Latin American operations. Attribution of that data to SAP or to a third party is unresolved, and it appears separate from the GitHub incident.

