As reported by BleepingComputer, SAP has confirmed suspicious activity in its IT environment—reportedly tracked internally as "Project Granite"—involving the theft of employee authentication tokens and unauthorized access to its GitHub repositories. What makes this incident particularly alarming is the claim that attackers not only copied but modified SAP source code, and may have leveraged agentic AI tools to accelerate the intrusion.

Threat Intelligence: What makes this incident particularly alarming is the claim that attackers not only copied but modified SAP source code, and may have leveraged agentic AI tools to accelerate the intrusion.

This is not a routine credential-stuffing incident. It is a potential supply chain integrity event affecting a vendor with 300 million subscribers and deep embeddedness in global critical infrastructure—from utilities and manufacturing to public sector finance. If attacker-modified code propagated into downstream builds, customer environments, or SAP's own SaaS offerings, the blast radius could be extraordinary. SAP's statement that there is "no evidence of unauthorized access to customer business data" is reassuring but preliminary; integrity verification at this scale takes weeks, not hours.

Why Source Code Modification Changes the Threat Model

Most breach disclosures focus on data exfiltration. "Project Granite" reportedly involves code modification—a fundamentally different risk class. Stolen code can be analyzed for exploitable vulnerabilities. Modified code, if merged into production branches, becomes a supply chain attack vector akin to SolarWinds or XZ Utils. The attacker's goal may not have been immediate data theft but rather persistence: planting logic bombs, backdoor credentials, or subtle flaws exploitable later across SAP's vast customer base.

The distinction between "we detected suspicious activity" and "we can confirm code integrity across all repositories and release pipelines" is where supply chain incidents live or die. SAP has not yet made the latter statement.

The AI-Assisted Attack Vector

Germany's BSI simultaneously warned about agentic AI tools—ARTEX, CAIRN, and PentAGI—enabling sophisticated cyberattacks, with Switzerland and Italy reporting initial detections of AI-driven campaigns against critical infrastructure. Whether these AI tools were directly involved in the SAP breach remains unconfirmed, but the timing and BSI's involvement suggest a coordinated threat landscape shift.

Agentic AI changes the economics of intrusion. Tasks that previously required a skilled operator—reconnaissance, token harvesting, repository navigation, code analysis for injection points—can now be partially automated. This compresses attack timelines from weeks to hours and lowers the barrier for targeting complex enterprise environments that were previously too sprawling for efficient manual exploitation.

Who Is at Risk

The AI-Assisted Attack Vector
SAP customers running on-premise ERP/S4HANA who pull updates or extensions from SAP's GitHub-hosted repositories
Organizations using SAP BTP or cloud services where build pipelines may have ingested modified code
Critical infrastructure operators in DACH region and EU, given BSI's elevated warning level
Any organization with developer tokens exposed in CI/CD environments or lacking GitHub organization audit logging

Shield53 Recommendations

Immediate Actions

  • Inventory SAP integrations: Catalog every system pulling code, packages, or updates from SAP GitHub repositories or SAP-hosted delivery channels. Flag any updates received in the past 30–60 days.
  • Force token rotation: If your organization maintains GitHub credentials, service connections, or SAP-specific tokens for CI/CD pipelines, rotate them immediately and audit recent usage via GitHub audit logs.
  • Enable GitHub replay detection: Review organization audit logs for anomalous commits, branch protection changes, or webhook modifications from the past 90 days.
  • Implement code integrity verification: Require signed commits, enforce branch protection rules, and validate SBOMs for any third-party code ingested into your build pipelines.
  • Monitor for IOCs: Watch for unexpected outbound connections from SAP-related services, new persistence mechanisms in SAP landscapes, or anomalous API token usage against SAP endpoints.

Strategic Actions

  • Adopt zero-trust for developer identities: Phishing-resistant MFA (FIDO2/WebAuthn) for all GitHub accounts, conditional access policies, and short-lived token lifecycles.
  • Build a software supply chain security program aligned with NIST SSDF (SP 800-218) and CISA's SBOM requirements—assume upstream compromise is inevitable.
  • Prepare for AI-driven attacks: Train SOC teams on agentic AI attack patterns, invest in behavioral detection over signature-based controls, and rehearse incident response for supply chain scenarios specifically.

The convergence of a major vendor breach with agentic AI-driven attack capabilities marks an inflection point. Defenders can no longer assume that upstream providers' security posture is sufficient. The burden of verification has shifted downstream—to every organization that consumes code, APIs, or managed services. Treat this incident as the new baseline, not the exception.