[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fqKyjwHiond52Qb81t27ZTU-VOui4pmlk9TCbpAfB2Qw":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"f2263340-a13f-4e71-97b8-05c71c92b075","stolen-auth-tokens-enable-sap-source-code-breach-on-github","46af01a6-6899-47ff-b20c-a450eeea7ec0","Stolen Auth Tokens Enable SAP Source Code Breach on GitHub","Threat actors obtained stolen employee authentication tokens to gain unauthorized access to SAP's GitHub-hosted development infrastructure, allowing them to copy and alter source code. This incident highlights the critical danger of long-lived or inadequately protected authentication tokens, which can bypass traditional credential safeguards like passwords. The compromise of source code is particularly severe because it can enable attackers to introduce backdoors, understand system internals, or undermine the integrity of future software releases. Even without confirmed customer data exposure, tampering with signing keys and source repositories strikes at the foundation of software supply chain trust.","**Immediate actions:**\n- Rotate and revoke all authentication tokens, signing keys, and secrets exposed or potentially accessible via compromised developer accounts.\n- Audit GitHub repository access logs to identify all unauthorized reads, clones, or modifications made using the stolen tokens.\n- Apply least-privilege access controls to all source code repositories, ensuring developers only access repositories required for their role.\n\n**Long-term improvements:**\n- Enforce short-lived, automatically expiring tokens and eliminate long-lived personal access tokens in CI\u002FCD and developer workflows.\n- Implement mandatory multi-factor authentication (MFA) for all accounts with access to development infrastructure and source repositories.\n- Adopt a secrets management platform (e.g., HashiCorp Vault, AWS Secrets Manager) to prevent hardcoded or manually managed tokens in developer environments.\n\n**Detection measures:**\n- Deploy continuous monitoring and anomaly detection on repository activity to flag bulk downloads, unusual cloning, or off-hours access.\n- Establish automated alerts for token usage from unexpected geographic locations or IP addresses.\n- Conduct regular access reviews and token lifecycle audits to identify and remove stale or over-privileged credentials.",[12,13,14,15,16],"CIS Control 5: Account Management (v8)","CIS Control 6: Access Control Management (v8)","NIST SP 800-53 IA-5: Authenticator Management","NIS2 Article 21(2)(j)","MITRE ATT&CK T1528: Steal Application Access Token",{"NIS2 Article 21(2)(j)":18,"CIS Control 5: Account Management (v8)":19,"CIS Control 6: Access Control Management (v8)":20,"NIST SP 800-53 IA-5: Authenticator Management":21,"MITRE ATT&CK T1528: Steal Application Access Token":22},"This point mandates the use of multi-factor authentication and secured communications, which would have made stolen tokens alone insufficient for the attackers to gain access to SAP's repositories.","This control requires managing the lifecycle of credentials and tokens, including timely revocation of stolen or compromised authentication tokens that enabled the attacker's access.","This control calls for enforcing least-privilege access to systems, which would have limited how much source code an attacker could reach even with a stolen token.","This control governs the generation, distribution, and revocation of authenticators like tokens, requiring practices that would have prevented long-lived tokens from being exploited in this breach.","This technique describes exactly the method used — stealing OAuth or similar application tokens to authenticate as a legitimate user and access protected resources like source code repositories.","published","2026-11-27T08:20:34.148534+00:00","2026-11-27T08:20:34.12+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fwww.securityweek.com\u002Fsap-confirms-cyberattack-source-code-reportedly-compromised\u002F","sap-confirms-cyberattack-source-code-reportedly-compromised-491e81","SAP Confirms Cyberattack, Source Code Reportedly Compromised",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"1ec88fde-2d0f-4ed8-932a-33f5ccc0fdc7","Access Control","access-control","Excessive privileges, missing MFA, weak auth","#f97316",{"id":38,"name":39,"slug":40,"description":41,"color":42},"859cf0ad-a7e9-42bb-a75d-bac6511fa5d5","Configuration Management","configuration-management","Misconfigs, default credentials, exposed services","#eab308",[],[45,49,53],{"slug":46,"name":47,"problem":48},"identity-threat-detection","Identity threat detection and response (ITDR)","Attackers who log in with real, stolen credentials get noticed.",{"slug":50,"name":51,"problem":52},"secrets-management","Secrets management","API keys, tokens and passwords stop leaking from code, chat and configuration files.",{"slug":54,"name":55,"problem":56},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped."]