[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fMMMuyXiDrasiy4g9J9NqivFc65M5fahYHpskZOuB9rA":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},"2d445aec-0523-4241-a801-33cec405d92c","stolen-credentials-enable-sap-github-source-code-tampering","7be7eae4-e520-4d14-ae75-55c0b817c7f1","Stolen Credentials Enable SAP GitHub Source Code Tampering","Attackers leveraged stolen SAP employee credentials and authentication tokens to tamper with source code hosted on GitHub, demonstrating how compromised identity assets can directly undermine software supply chain integrity. The incident forced SAP to restrict developer access and rotate signing keys, disrupting development workflows and raising concerns about the trustworthiness of released artifacts. This matters because tampered source code or signing keys could introduce backdoors or malicious changes into software shipped to thousands of enterprise customers. Organizations that treat credential and token hygiene as secondary concerns expose their entire software development pipeline to manipulation with potentially far-reaching downstream consequences.","**Immediate actions:**\n- Revoke and rotate all potentially compromised credentials, authentication tokens, and code-signing keys immediately upon detection.\n- Audit all recent commits and repository changes against known-good baselines to identify any unauthorized modifications.\n- Enforce multi-factor authentication (MFA) on all developer accounts with access to source code repositories.\n\n**Long-term improvements:**\n- Implement short-lived, scoped authentication tokens (e.g., via OIDC) for CI\u002FCD pipelines instead of long-lived static credentials.\n- Apply the principle of least privilege to repository access, ensuring developers and service accounts can only access what they need.\n- Establish a secrets management platform to detect, prevent, and automatically rotate hardcoded or leaked credentials and tokens.\n\n**Detection measures:**\n- Enable and continuously monitor audit logs for all repository access, commits, and configuration changes in GitHub or equivalent platforms.\n- Deploy automated secret-scanning tools to detect leaked tokens or credentials in code, pull requests, and commit history in real time.\n- Set up anomaly-based alerting for unusual access patterns, such as off-hours logins or access from unexpected geographic locations.",[12,13,14,15,16],"CIS Control 5: Account Management (v8)","CIS Control 16: Application Software Security (v8)","NIST SP 800-53 IA-5: Authenticator Management","NIS2 Article 21(2)(j)","MITRE ATT&CK T1195: Supply Chain Compromise",{"NIS2 Article 21(2)(j)":18,"CIS Control 5: Account Management (v8)":19,"MITRE ATT&CK T1195: Supply Chain Compromise":20,"NIST SP 800-53 IA-5: Authenticator Management":21,"CIS Control 16: Application Software Security (v8)":22},"This point requires multi-factor authentication and secured communications, which would have prevented attackers from using stolen credentials alone to access the GitHub repositories.","This control requires managing the lifecycle of credentials and enforcing MFA, which would have limited the attacker's ability to exploit stolen employee credentials and tokens.","Tampering with SAP's source code on GitHub directly maps to this technique, where adversaries compromise software build or distribution pipelines to affect downstream customers.","This control mandates proper management, rotation, and protection of authenticators such as tokens and passwords, which if enforced would have reduced the risk from stolen credentials.","This control requires protecting the software development pipeline, including securing code repositories and signing processes, which are precisely the assets tampered with in this incident.","published","2026-12-01T01:20:20.476956+00:00","2026-12-01T01:20:20.459+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fhackread.com\u002Fsap-security-incident-github-code-tampering\u002F","sap-investigates-security-incident-after-reports-of-github-code-tampering-c350b9","SAP Investigates Security Incident After Reports of GitHub Code Tampering",[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},"software-supply-chain","Software supply chain security","Malicious and vulnerable open-source packages are caught before they ship."]