Hackers Reportedly Breach SAP GitHub Systems, Stealing Access Tokens and Manipulating Source Code

cyberpress.org

SAP has confirmed a security incident in its software development environment. Reports say attackers stole employee authentication tokens and used them to copy and manipulate source code hosted on GitHub.

Der Spiegel first reported the intrusion, which SAP tracks internally as “Project Granite.” It described an “active security incident” and said the attackers may have used AI systems to help them.

The threat actors obtained session and personal access token material belonging to SAP engineers. A GitHub token’s scope decides whether its holder can only read repositories and commit history or can also push changes.

Hackers Reportedly Breach SAP GitHub Systems

Tokens with write permissions would let an attacker alter code, tamper with branches and touch automated build workflows. Reports do not say which repositories were affected, whether they were public or private, or how attackers obtained the tokens.

SAP reacted by restricting GitHub access, suspending automated CI/CD development processes and rotating its code-signing keys. Replacing the signing keys suggests SAP wants to keep any altered artifacts from being trusted as legitimate builds.

The company says it has found no evidence of unauthorized access to customer business data. Reporting also does not confirm that modified code reached software customers download or run.

Hackers poison GitHub repositories to hijack AI coding assistants in a related campaign that steals source-control tokens and checks which repositories each token can modify.

The technique fits a wider pattern of identity-centric attacks on developer platforms. In these attacks, adversaries replay valid bearer tokens instead of exploiting memory corruption flaws, so multi-factor authentication never gets a chance to block them.

The same tradecraft appeared when hackers breached Todoist cloud systems. There, an attacker used a stolen credential to modify CI/CD workflows in three repositories and harvest further secrets.

SAP’s development ecosystem has been a target before. Malicious SAP npm packages stole developer and CI/CD secrets when attackers poisoned CAP and MTA build packages with preinstall hooks.

Those hooks harvested GitHub tokens, npm credentials and cloud keys, then exfiltrated them to attacker-controlled repositories through the GraphQL API. It is not established that the two incidents are linked, but both show attackers going after the software supply chain.

Defenders should treat any exposed GitHub token as fully compromised. They should revoke personal access tokens, OAuth grants and SSH keys, then audit repository push events, force-pushes, branch protection changes and GitHub Actions workflow runs.

Fine-grained tokens with short lifetimes, mandatory signed commits, enforced code review on protected branches and OIDC-based federation in place of static secrets all reduce the risk of replay.

Teams should also restrict outbound access from build runners and monitor audit logs for token use from unfamiliar IP addresses or user agents.

The investigation is ongoing, and SAP has not disclosed technical indicators. Until it does, downstream developers and integrators should verify the integrity of SAP-distributed artifacts against published signatures and watch for advisories on key rotation.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

The post Hackers Reportedly Breach SAP GitHub Systems, Stealing Access Tokens and Manipulating Source Code appeared first on Cyber Security News.

Read at cyberpress.org ↗

Filed under incidentidentitydlp

Coverage (6 sources)

  • Cyber Security News
  • SecurityWeek
  • SOCRadar
  • The Record
  • SCM feed for Latest
  • eSecurityPlanet
Reader notes

Notes are held for moderation. No account needed.