[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fVKFnWRXPC00RnFdELQzYdox_HEcBqT2J4yyZnTx-NlE":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},"eb1ebd4b-ff38-4d95-8762-c307f3733e86","stolen-auth-tokens-enable-sap-github-source-code-breach","3acf6068-dd36-49e8-8a49-aacd2049ea55","Stolen Auth Tokens Enable SAP GitHub Source Code Breach","Attackers used stolen employee authentication tokens to access, copy, and modify source code within SAP's GitHub environment — bypassing traditional credential controls entirely. This incident highlights the critical danger of long-lived or inadequately protected authentication tokens, which can grant broad access without triggering password-based protections like MFA. The fact that code-signing keys also had to be rotated suggests the attackers' access was deep enough to threaten the integrity of SAP's software supply chain. Even though no customer business data appears compromised, tampering with source code or signing keys could introduce vulnerabilities or backdoors into products used by millions worldwide. This underscores why developer environments and CI\u002FCD pipelines must be treated as high-value targets requiring the same security rigor as production systems.","**Immediate actions:**\n- Revoke and rotate all developer authentication tokens, code-signing keys, and secrets exposed or potentially accessible during the breach window.\n- Audit all GitHub repository access logs to identify what was accessed, copied, or modified and by which tokens.\n- Enforce short-lived, scoped tokens (e.g., via GitHub fine-grained PATs or OIDC-based authentication) and eliminate long-lived static tokens.\n\n**Long-term improvements:**\n- Implement secrets scanning in all repositories and CI\u002FCD pipelines to detect and block committed credentials before they can be exploited.\n- Apply least-privilege access controls to GitHub environments, ensuring developers and automation accounts only access the repositories they strictly require.\n- Treat the software development pipeline as critical infrastructure with network segmentation, dedicated access policies, and periodic access reviews.\n\n**Detection measures:**\n- Deploy continuous monitoring and anomaly detection on repository activity to flag unusual access patterns such as bulk cloning or unexpected modifications.\n- Integrate SIEM alerting for GitHub audit log events, particularly around token usage, permission changes, and code-signing operations.\n- Conduct regular red-team exercises targeting developer toolchains and CI\u002FCD systems to surface weaknesses before attackers do.",[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)(i)","MITRE ATT&CK T1528: Steal Application Access Token",{"NIS2 Article 21(2)(i)":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 provision covers human resources security, access control, and asset management, which directly applies to the failure to adequately protect and monitor employee authentication tokens used to access the GitHub environment.","This control requires managing the lifecycle of credentials and access rights, including revoking or rotating tokens promptly — directly addressing the stolen authentication tokens that enabled this breach.","This control mandates least-privilege access and periodic review of access rights, which would have limited the scope of what stolen tokens could reach within SAP's GitHub environment.","This control governs the lifecycle of authenticators including tokens, requiring enforcement of expiration and revocation — controls whose absence allowed stolen tokens to be used for unauthorized access.","This technique describes exactly how adversaries steal OAuth tokens or similar application access tokens to authenticate as legitimate users, matching the method used in this SAP GitHub breach.","published","2026-11-30T13:20:36.920759+00:00","2026-11-30T13:20:36.901+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fwww.helpnetsecurity.com\u002F2026\u002F11\u002F30\u002Fsap-breach-github\u002F","sap-stays-tight-lipped-on-breach-of-its-github-environment-1dd57a","SAP stays tight-lipped on breach of its GitHub environment",[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-governance","Identity governance and single sign-on","People who leave or change roles lose access everywhere at once, and forgotten accounts stop piling up.",{"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."]