SAP Confirms Security Incident After GitHub Tokens Stolen, Source Code Altered
SAP has confirmed a security incident where attackers reportedly stole employee GitHub authentication tokens, which were then used to alter and copy source code.

SAP has confirmed an IT security incident following the detection of suspicious activity, which reportedly involved the theft of employee GitHub authentication tokens. According to reporting by DER SPIEGEL, these stolen tokens were subsequently used by attackers to alter and copy source code residing in SAP's GitHub repositories.
In response to the incident, SAP stated that it took immediate steps to secure its services and protect its customers. The company also indicated that, at the time of its statement, investigators had found no evidence of unauthorized access to customer business data. However, SAP has not provided detailed answers to specific questions about the incident, and an internal memo cited by DER SPIEGEL described the situation as active, with the investigation reportedly codenamed "Project Granite."
The exact method by which the attackers obtained the SAP employees' authentication tokens remains undisclosed. Authentication tokens are critical digital credentials that grant access to accounts and services, and on platforms like GitHub, they dictate permissions ranging from read-only access to the ability to make code changes. The potential use of AI agents in the attack, as suggested by DER SPIEGEL's sources, has not been confirmed by SAP.
SAP publishes source code for its products and open-source projects on GitHub. The specific repositories affected by the incident, and whether the copied code was public or private, have not been named. This lack of detail is significant, as it leaves open the question of whether any altered code could have made its way into software used by SAP's customers. While SAP's statement addresses customer business data, it does not clarify the impact of code modifications on customer-facing software.
While the specific incident at SAP is still under investigation, the broader implications of compromised code repositories are well-documented. Past incidents have shown how hijacked GitHub accounts can target automated build workflows, raising concerns about whether altered code could be incorporated into production systems. GitHub provides tools for tracing actions back to compromised credentials and revoking them, but SAP has not publicly detailed the specific measures it has taken or the scope of its review.
For SAP's customers and developers, crucial details such as the names of affected repositories, confirmation of whether any published builds contained unauthorized changes, and whether end-users need to take any action remain unknown. Until SAP provides further transparency, the reported code alterations should be viewed with caution regarding their potential impact on customer software or business data.
The incident highlights the persistent risks associated with code repositories and the importance of robust access controls and monitoring. As software development increasingly relies on collaborative platforms like GitHub, securing these environments against credential theft and unauthorized code modification is paramount.