As reported by SecurityAffairs, SAP has confirmed a security incident—dubbed internally as "Project Granite"—in which attackers reportedly stole employee GitHub access tokens and used them to alter and copy source code. While SAP maintains there is no evidence of customer data exposure, the incident raises urgent questions about software supply chain integrity, developer credential hygiene, and the transparency obligations of tier-one vendors.

Key Takeaway: As reported by SecurityAffairs, SAP has confirmed a security incident—dubbed internally as "Project Granite"—in which attackers reportedly stole employee GitHub access tokens and used them to alter and copy source code.

Why This Matters More Than SAP Is Letting On

The most alarming element of this incident isn't the token theft itself—developer credential compromise is, unfortunately, routine. What elevates this to a systemic risk is the reported modification of source code. If attackers altered code in repositories that feed into SAP's commercial products, downstream customers could be running tampered software without knowing it. This is the textbook definition of a supply chain attack, and it mirrors patterns seen in incidents like SolarWinds and the 3CX breach.

SAP's reported position that it does not need to proactively inform customers is concerning. In a scenario where source code integrity is in question, silence is not a defensible strategy. Organizations running SAP ERP, S/4HANA, SuccessFactors, or any solution with dependencies on SAP-maintained repositories should be treating this as a potential integrity event, not merely an internal SAP matter.

The question isn't whether customer data was stolen. The question is whether the software SAP customers rely on can be trusted at its current state.

The Developer Token Problem

GitHub access tokens are among the most over-privileged and under-monitored credentials in enterprise environments. A single compromised token can grant read, write, and administrative access across dozens or hundreds of repositories. The initial vector in SAP's case remains undisclosed, but common causes include:

Why This Matters More Than SAP Is Letting On
Phishing of developers with repository access
Malicious IDE extensions or development tooling compromise
Tokens stored in CI/CD pipelines without rotation policies
Session token theft via infostealer malware on developer endpoints

The report's mention of possible AI agent involvement—while unconfirmed—is worth noting. If attackers leveraged AI to automate reconnaissance across SAP's GitHub presence, identify high-value repositories, or even assist in code modification to evade detection, this represents an evolution in adversary tradecraft that defenders must prepare for.

Who Is at Risk

Any organization consuming SAP software—particularly enterprises running mission-critical ERP, finance, or HR workloads on SAP platforms—should consider themselves potentially exposed until SAP provides repository-level transparency about what was accessed and what was modified. Managed service providers and integrators who build custom extensions on SAP's ecosystem face compounded risk, as their own codebases may inherit compromised upstream dependencies.

Shield53 Recommendations

Immediate Actions

  • Audit SAP integrations: Inventory all SAP products, add-ons, and custom extensions in your environment. Document which repositories or packages they depend on.
  • Force token rotation: If your organization maintains any GitHub tokens tied to SAP-related repositories or developer accounts that may have been shared with SAP teams, revoke and reissue immediately.
  • Enable GitHub audit log monitoring: Review GitHub's audit logs for anomalous commits, permission changes, or clone events from unfamiliar IP addresses or geographies. GitHub's audit log API supports filtering by authenticated user and token type.
  • Implement code integrity verification: For any SAP-provided or SAP-adjacent binaries, containers, or packages in your environment, compare checksums against known-good baselines. If you don't have baselines, establish them now.
  • Monitor for behavioral indicators: Watch for unexpected outbound connections from SAP application servers, unusual API calls to SAP cloud services, or anomalous data exfiltration patterns from ERP systems.

Strategic Actions

  • Adopt a software bill of materials (SBOM) framework: Require SBOMs from all critical vendors, including SAP. Without component-level visibility, you cannot detect tampered dependencies.
  • Implement commit signing requirements: Mandate GPG or SSH-signed commits across all development teams. This makes unauthorized code modifications detectable.
  • Restrict token scopes: Apply least-privilege principles to all developer tokens. No token should have write access to repositories it doesn't need. Use GitHub's fine-grained personal access tokens.
  • Prepare a vendor incident response playbook: Have a pre-defined process for responding to upstream vendor security incidents, including escalation criteria and customer notification thresholds.

SAP's silence on repository-level details is the single biggest gap in this incident. Until SAP discloses which repositories were affected, whether modifications were pushed to production-bound branches, and what integrity controls prevented tampered code from shipping, customers are operating in an information vacuum. That is an unacceptable position for organizations running their most critical business processes on SAP infrastructure.