German enterprise software giant SAP SE has confirmed a major security incident involving unauthorized access to its internal software development infrastructure, setting off alarms across enterprise IT departments and cybersecurity agencies worldwide. The breach, discovered after security teams flagged anomalous network activity, saw threat actors exploit stolen employee authentication credentials to infiltrate the company’s GitHub development repositories, where they copied and reportedly attempted to alter internal software code.
The software vendor, headquartered in Walldorf, Germany, mobilized an internal incident response team operating under the internal codename "Project Granite". While the company maintains that core customer databases have not been breached, the prospect that proprietary software assets and developer tooling were handled by unauthorized third parties has forced immediate emergency countermeasures.
"SAP has identified suspicious activity and promptly implemented the necessary measures to protect its customers and preserve the security of its services," a company spokesperson confirmed in a statement. "Based on our investigation to date, we have found no evidence of unauthorized access to customer business data. Our customers trust us to protect their data, and that remains our highest priority. In a highly dynamic threat environment, we will continue to strengthen our security to provide the secure and resilient environment our customers depend on."
Despite those assurances, the security community has reacted with acute concern. SAP software forms the foundational enterprise resource planning (ERP) backbone for 99 of the world’s 100 largest corporations, touching accounting ledgers, global supply chains, manufacturing operations, human resource records, and procurement pipelines. When an adversary breaches the development pipeline of a vendor that manages mission-critical business data for over 300 million cloud subscribers, the blast radius extends far beyond a typical enterprise credential breach.
┌────────────────────────────────────────────────────────────────────────┐
│ SAP "PROJECT GRANITE" INCIDENT │
├─────────────────────────┬──────────────────────────────────────────────┤
│ Initial Vector │ Stolen developer authentication tokens (PATs)│
├─────────────────────────┼──────────────────────────────────────────────┤
│ Target Environment │ GitHub-hosted development repositories │
├─────────────────────────┼──────────────────────────────────────────────┤
│ Adversary Activity │ Code exfiltration & unauthorized commits │
├─────────────────────────┼──────────────────────────────────────────────┤
│ Containment Actions │ Repository isolation, CI/CD pipeline freeze, │
│ │ signing key replacement, credential wipe │
├─────────────────────────┼──────────────────────────────────────────────┤
│ Downstream Impact │ Active investigation; no reported customer │
│ │ database breaches to date │
└─────────────────────────┴──────────────────────────────────────────────┘
The unfolding investigation into the SAP cyberattack source code exposure centers on how deeply threat actors penetrated internal build systems, whether any tampered files bypassed internal code reviews, and whether cryptographic signing assets were exposed to unauthorized use.
Anatomy of the GitHub Breach: Project Granite Unfolds
The initial alert did not originate from a public security bulletin, but through an internal leak first disclosed by German news weekly Der Spiegel and subsequently corroborated by the German Press Agency (dpa) and business daily Handelsblatt. According to internal communications circulated to engineering teams, SAP systems detected anomalous API requests and repository access patterns linked to legitimate developer accounts.
Subsequent forensic audits revealed that adversaries had obtained valid personal access tokens (PATs) and OAuth tokens belonging to SAP engineering personnel. Armed with these cryptographic secrets, the attackers bypassed standard perimeter defenses and single-sign-on (SSO) portals. Because the access tokens were functionally indistinguishable from legitimate developer activity, the intruders moved inside SAP’s GitHub infrastructure with the native authorization profile of authorized software engineers.
Tokens of this nature function as pre-authenticated, high-privilege passports. In complex continuous integration and continuous deployment (CI/CD) environments, engineering staff utilize personal access tokens to automate script execution, commit code changes, trigger testing suites, and query API endpoints. If an attacker acquires an active token, multi-factor authentication (MFA) prompts are typically bypassed, as the token itself represents the post-authentication session state.
Internal memos reviewed by German media indicate that the threat actors did not simply view project directories. They engaged in high-volume exfiltration of codebases and staged unauthorized code modifications across select repository branches.
As the scope of the unauthorized access became clear, SAP's executive leadership launched Project Granite, establishing an operational war room dedicated to containing the intrusion and auditing every line of source code committed during the adversary's window of access.
Teams across Germany, North America, and India were placed on high alert, instructed to immediately assess their repository permissions, check for persistent backdoor hooks, and report any unexplained modifications to repository management teams.
Exfiltration Versus Modification: The Mechanics of Code Risk
In the taxonomy of enterprise security failures, unauthorized repository access produces two distinct categories of threat: intellectual property exfiltration and source-code tampering. Technical teams analyzing the SAP cyberattack source code compromise face a fundamental dual-track problem: intellectual property theft versus unauthorized code injection.
ATTACK PATH & ENTERPRISE RISK VECTORS
Stolen Developer Tokens (PATs)
│
▼
GitHub Repository Access
│
┌──────┴───────────────────────────┐
│ │
▼ ▼
[EXFILTRATION] [MODIFICATION]
Adversaries clone repositories Adversaries commit malicious code
│ │
▼ ▼
• Zero-day vulnerability discovery • Build pipeline corruption
• Architectural mapping • CI/CD dependency poisoning
• Embedded secret harvesting • Software supply-chain distribution
The Exfiltration Vector: Blueprint Harvesting
When adversaries copy proprietary source code, they acquire the structural blueprints of the software. This allows security researchers and threat actors alike to perform static application security testing (SAST), search for logic errors, identify unpatched memory management flaws, and isolate structural weaknesses far more efficiently than through black-box reverse engineering.
A threat actor holding internal source code can systematically search for:
- Hardcoded test secrets, application programming interface keys, or internal routing URLs unintentionally stored in legacy repositories.
- Zero-day vulnerabilities in enterprise business modules before independent researchers or internal red teams discover them.
- The exact mechanics of authentication routines, session token generation, and authorization checks.
Even if an attacker never injects a single line of malicious code into a product release, the intelligence gleaned from reviewing proprietary code gives them an asymmetric advantage for future intrusions.
The Modification Vector: Software Supply Chain Poisoning
The far more hazardous dimension of the Project Granite breach is the reported modification of source files. If an attacker alters source code within an authoritative repository, they open the door to a software supply chain attack akin to the 2020 SolarWinds Orion breach or the XZ Utils backdoor discovered in early 2024.
Git environments, by their design, rely on cryptographic hashes (SHA-1 or SHA-256) to track modifications, but author attribution in Git is notoriously easy to spoof unless commit signing with GPG or SSH keys is strictly enforced and verified on every branch. If an adversary holds an employee's personal access token, they can submit commits that appear under that engineer’s name.
The critical engineering question is whether those modifications were pushed to transient feature branches or merged into release branches that feed automated build pipelines. A modern enterprise build pipeline ingests source code, runs automated unit and integration tests, compiles binaries, wraps packages, and cryptographically signs the final output before delivery to customer instances or cloud multi-tenant stacks.
If altered code passes an automated test suite—or if the test suite itself is modified to overlook injected routines—malicious payloads can be built and signed with the vendor’s authentic keys, creating an enterprise disaster where downstream customers willingly deploy poisoned updates.
The Containment Playbook: Key Revocation and Pipeline Freezes
Faced with the possibility that unauthorized commits had entered its ecosystem, SAP responded with a series of sweeping operational interventions. Reports from Handelsblatt and cybersecurity incident trackers indicate that the enterprise giant took three major defensive actions across its software development infrastructure:
- Repository Isolation and Token Expiration: Engineering access to GitHub was severely constrained. IT security executed mass revocations of developer personal access tokens, invalidating session cookies and forcing global re-authentication through hardened identity verification paths.
- Suspension of Automated CI/CD Workflows: Automated build, test, and release pipelines were halted. This operational freeze prevented any newly merged code from being processed into deployment artifacts, containing potential contamination at the repository level.
- Digital Signing Key Replacement: In what amounts to one of the most operationally burdensome emergency measures available to a software vendor, SAP moved to replace and rotate the cryptographic signing keys used to validate the provenance and integrity of its software releases.
DIGITAL SIGNING REVOCATION LIFECYCLE
[Compromised Key] ──► Immediate Invalidation & Revocation
│
▼
[New Key Generation] ──► Isolated Hardware Security Modules (HSMs)
│
▼
[Cryptographic Re-signing] ──► Clean Repositories Verified Against Clean Trees
│
▼
[Downstream Verification] ──► Customer PKI Updates & Root-of-Trust Refresh
A digital signature is the bedrock of enterprise software verification. When an enterprise downloads an SAP patch or an automated system updates a container image, the target operating system verifies the vendor's digital signature against a trusted root certificate authority. A valid signature confirms two critical facts: that the software genuinely originated from the vendor, and that the binary has not been modified since it was built.
If there is any suspicion that a signing key has been exposed—or that a build pipeline signed unauthorized code—the entire chain of trust is severed. Replacing software signing keys requires provisioning new cryptographic pairs from isolated Hardware Security Modules (HSMs), distributing updated public keys and root certificates across thousands of enterprise client environments, and re-signing all legitimate binaries after rigorous manual and automated diff-checking against known-good baselines.
Pausing automated CI/CD pipelines carries heavy commercial costs, pushing back delivery schedules and stalling updates for product lines worldwide. That SAP accepted these operational disruptions underscores how seriously its engineering leadership viewed the potential compromise of its developer repositories.
The Shadow of Agentic AI: Algorithmic Intrusions at Scale
A striking dimension of the Project Granite incident is the suspected involvement of autonomous, agentic artificial intelligence tools in conducting the attack. Both internal sources cited by German media and parallel warnings from European intelligence services point to a structural shift in how cyberattacks are being carried out.
Almost simultaneously with the disclosure of the SAP intrusion, Germany’s Federal Office for Information Security (Bundesamt für Sicherheit in der Informationstechnik, or BSI) issued a targeted public advisory warning organizations about the rapid operationalization of agentic AI frameworks. The BSI specifically highlighted emerging toolsets such as ARTEX, CAIRN, and PentAGI—platforms designed to autonomously orchestrate complex cyber operations.
┌────────────────────────────────────────────────────────────────────────┐
│ AGENTIC AI-ASSISTED ATTACK METHODOLOGY │
├────────────────────────────────────────────────────────────────────────┤
│ 1. Autonomous Credential Validation │
│ Agent cycles through harvested tokens, identifies scopes, and maps │
│ access permissions without manual operator inputs. │
├────────────────────────────────────────────────────────────────────────┤
│ 2. Automated Repository Reconnaissance │
│ Agent ingests internal documentation, directory trees, and codebase │
│ manifests to identify high-value targets (APIs, auth modules). │
├────────────────────────────────────────────────────────────────────────┤
│ 3. Semantic Code Analysis & Tampering │
│ LLM-powered subroutines parse ASTs (Abstract Syntax Trees) to draft │
│ covert logic injections that mirror the target team's syntax. │
├────────────────────────────────────────────────────────────────────────┤
│ 4. Evasion & Trace Masking │
│ Agent schedules commits to match human engineering time zones and │
│ generates realistic commit messages to defeat heuristic anomalies. │
└────────────────────────────────────────────────────────────────────────┘
Traditional token theft typically involves manual reconnaissance: an operator enters the compromised GitHub account, executes standard git clone commands, browses directory trees, and manually seeks out sensitive config files.
Agentic AI tools dramatically alter this dynamic:
- Autonomous Discovery: Once provided with an authentication token, an agentic framework can map out all accessible organizations, repositories, and private forks within seconds, scoring each repository for business impact and intellectual property density.
- Context-Aware Semantic Injection: Large language models trained on software engineering corpora can evaluate an existing codebase, analyze the prevailing programming idioms and formatting rules of the development team, and author backdoors that mimic the native code style of the compromised engineer. This makes malicious pull requests and direct commits far harder for human code reviewers to detect.
- High-Velocity Secret Extraction: AI engines can crawl through thousands of source files, configuration manifests, and commit histories to identify regex-resistant secrets, logic edge cases, and architectural dependencies that would take human threat actors weeks to catalog.
While investigators have stopped short of attributing the intrusion exclusively to an autonomous AI agent, the speed at which repositories were navigated and source code was altered suggests that the adversaries deployed advanced scripting frameworks far more capable than standard off-the-shelf credential harvesters.
Global ERP Architecture: Why the Industry-Wide Concern Is Justified
The industry-wide concern following the SAP cyberattack source code breach stems directly from the company's unprecedented footprint across global commerce. Unlike desktop software or standalone enterprise software applications, enterprise resource planning suites operate at the root level of corporate existence.
THE REACH OF THE SAP ECOSYSTEM
┌───────────────────────────────────────────────┐
│ SAP SE │
│ • 110,000+ Global Employees │
│ • 300+ Million Cloud Subscribers │
│ • 99 of Fortune 100 Run SAP Infrastructure │
└───────────────────────┬───────────────────────┘
│
┌────────────────────────────┼────────────────────────────┐
▼ ▼ ▼
[GLOBAL COMMERCE] [FINANCIAL SYSTEMS] [CRITICAL LOGISTICS]
Over 75% of global Real-time general ledgers, Supply chain routing,
transaction revenue treasury management, manufacturing plants,
touches an SAP system. payroll, and tax engines. and inventory management.
When an enterprise deploys SAP S/4HANA, SuccessFactors, Ariba, or its Cloud Application Programming (CAP) model, it entrusts the software with its core proprietary data. SAP instances handle real-time inventory for multinational automotive plants, process payroll for millions of workers, manage regulatory compliance reporting for multinational banks, and orchestrate pharmaceutical logistics.
Security professionals categorize software vendors based on their systemic criticality. Under European frameworks such as the NIS2 Directive and the Digital Operational Resilience Act (DORA), enterprise management software providers like SAP are viewed as systemic dependencies for entire economies. A vulnerability introduced into a core SAP library does not merely endanger a single enterprise; it introduces latent systemic risk across utilities, critical infrastructure operators, defense suppliers, and retail supply chains.
Furthermore, many organizations operate SAP in hybrid environments, linking legacy on-premises ERP databases to the SAP Business Technology Platform (BTP) in the cloud. These integrations rely heavily on custom code, open-source plugins, and pre-packaged development kits hosted in public and private GitHub repositories. If malicious logic is inserted into upstream developer libraries, those hybrid connections can become launchpads for corporate espionage or widespread extortion campaigns.
Preceding Attacks and the Shift to Developer Identity Compromise
The Project Granite incident is not an isolated event; it represents the latest escalation in a series of targeted attacks aimed at developer ecosystems and software packaging pipelines.
In April 2026, security researchers identified a sophisticated supply chain attack known as the "Mini Shai-Hulud" campaign. That operation specifically targeted the SAP developer ecosystem, publishing malicious versions of four widely used SAP npm packages:
- mbt (Cloud MTA Build Tool)
- @cap-js/db-service
- @cap-js/postgres
- @cap-js/sqlite
The malicious packages, attributed by researchers to an advanced threat group tracked as TeamPCP, contained concealed routines engineered to extract developer machine secrets, harvest environment variables, steal npm credentials, and exfiltrate GitHub personal access tokens. SAP issued a security FAQ advising developers to immediately rotate all tokens accessible from affected build systems.
The April campaign and the November GitHub intrusion highlight a stark trend: threat actors have recognized that targeting the production perimeter of a major tech vendor is often far more difficult than targeting the identity of individual software developers.
THE DEVELOPER-FOCUSED ATTACK CHAIN
Developer Machine / Tooling
│
▼
Malicious Dependency Injection (e.g., Compromised NPM / PyPI)
│
▼
Credential Harvesting (Tokens, SSH Keys, Browser Cookies)
│
▼
Infiltration of Source Repositories (GitHub / GitLab)
│
▼
Upstream Code Manipulation / Supply Chain Contamination
A parallel incident surfaced when credential-management software maker 1Password disclosed that it had detected an unauthorized intrusion into its developer systems traced back to an employee’s compromised GitHub account. Similar campaigns have struck other technology infrastructure providers over the past 24 months, illustrating that the modern software supply chain is vulnerable at the human developer credential layer.
When developers work remotely or across decentralized teams, their personal access tokens are routinely stored on local machines, saved in credential managers, or embedded in build configuration files. If an engineer falls victim to an infostealer infection, targeted spear-phishing, or an upstream npm dependency attack, those tokens can be siphoned silently and monetized long before traditional perimeter defenses register an intrusion.
Technical Guidance: Mitigation for Enterprise IT and CISOs
Because SAP’s investigation remains active and internal code audits are still underway, corporate security leaders cannot afford to assume a passive posture. For enterprise customers auditing their estates in the wake of the SAP cyberattack source code incident, mitigation begins at the software dependency tier.
Enterprise IT organizations, particularly those utilizing SAP Business Technology Platform (BTP), custom ABAP extensions, or Cloud Application Programming (CAP) frameworks, should implement immediate defensive precautions:
┌────────────────────────────────────────────────────────────────────────┐
│ ENTERPRISE INCIDENT RESPONSE CHECKLIST │
├────────────────────────────────────────────────────────────────────────┤
│ 1. Lock Software Updates to Known-Good Baselines │
│ • Pin all SAP library dependencies in npm, Maven, and PyPI to │
│ explicit, verified version numbers. Avoid range specifiers. │
│ • Temporarily disable automated dependency updater bots │
│ (Dependabot, Renovate) for SAP packages. │
├────────────────────────────────────────────────────────────────────────┤
│ 2. Enforce Mandatory Signature Verification │
│ • Verify that all installed SAP binaries, hotfixes, and patches │
│ possess valid cryptographic signatures. │
│ • Check for security announcements regarding newly deployed │
│ software signing certificates and root rotations. │
├────────────────────────────────────────────────────────────────────────┤
│ 3. Audit Custom Extensions and GitHub Integrations │
│ • Inspect private repositories consuming upstream SAP code. │
│ • Search for unverified commits, author spoofing, or abnormal │
│ dependencies merged between November 1 and November 28, 2026. │
├────────────────────────────────────────────────────────────────────────┤
│ 4. Harden Developer Environments Internally │
│ • Mandate short-lived (ephemeral) Personal Access Tokens (PATs). │
│ • Require FIDO2/WebAuthn hardware security keys for code commits. │
│ • Enforce strict commit signing verification (GPG/SSH) at branch │
│ protection levels, rejecting unsigned commits automatically. │
└────────────────────────────────────────────────────────────────────────┘
Organizations should establish clear visibility over which enterprise components interact with SAP-published open-source code. If automated build pipelines download packages directly from public registries without verifying immutable package hashes or using a private artifact mirror, those pipelines should be adjusted immediately to enforce hash-checking against vetted releases.
Regulatory Headwinds and the Road Ahead
As technical teams continue to comb through git commit histories and diff files under Project Granite, the incident is transitioning into its next phase: regulatory scrutiny and third-party validation.
Operating out of Germany, SAP falls under the strict oversight of European regulatory bodies, including Germany’s Federal Commissioner for Data Protection and Freedom of Information (BfDI) and the Federal Office for Information Security (BSI). Under the European Union’s General Data Protection Regulation (GDPR) and the newly enacted NIS2 Directive, operators of essential digital services face strict reporting windows and potential penalties if security lapses threaten downstream critical sectors.
The primary legal and regulatory hurdle hinges on the precise nature of the code that was accessed and modified.
If investigators confirm that the unauthorized activity was entirely confined to non-production repositories, open-source sample applications, or developer documentation, the legal exposure for SAP will be manageable.
However, if audits establish that proprietary ERP algorithms, customer-facing cloud microservices, or cryptographic secrets were compromised, SAP could face mandated formal disclosures, sweeping third-party audits, and demands for transparency from government clients, including the European Commission and U.S. federal agencies.
Key questions remain unresolved:
- The Identity of the Adversary: Is Project Granite tracking an advanced persistent threat (APT) backed by a foreign state seeking economic intelligence, or a financially motivated cybercrime syndicate preparing an extortion campaign?
- The Integrity of Public Releases: Did any modified files evade automated scrutiny and find their way into customer-downloadable patches or cloud container registries prior to the pipeline freeze?
- The Scope of Compromised Tokens: How many developer accounts were compromised, and how long did the attackers maintain access before behavioral detection systems caught the anomalous activity?
The answers to these questions will determine the long-term impact of Project Granite. What is already clear, however, is that the perimeter of modern enterprise computing no longer sits at the corporate firewall or the edge router. It resides in the authentication tokens of software developers and the integrity of the code repositories that build the foundations of global industry. Enterprise security teams worldwide are now watching Walldorf closely, waiting to see how deep the modifications went—and whether the code that powers global commerce has maintained its integrity.
Reference:
- https://therecord.media/sap-germany-cyberattack-github
- https://www.cybersecurity-insiders.com/cyber-attack-news-sap-source-code-leak-uk-pension-administration-breach-and-booba-ransomware-attack-on-water-treatment-facility/
- https://timesofindia.indiatimes.com/technology/tech-news/just-a-day-after-reports-of-europes-largest-technology-company-sap-planning-to-cut-10000-jobs-company-says-we-have-identified-suspicious-activity-and-based-on-our-investigation-/articleshow/136240564.cms
- https://www.securityweek.com/sap-confirms-cyberattack-source-code-reportedly-compromised/
- https://www.techzine.eu/news/security/146116/sap-hit-by-hack-source-code-modified/
- https://www.bleepingcomputer.com/news/security/sap-confirms-security-incident-after-suspicious-github-activity/
- https://ceo.com.pl/en/sap-security-incident-source-code-project-granite-2026/
- https://aviatrix.ai/threat-research-center/sap-confirms-security-incident-after-suspicious-github-activity/
- https://medium.com/@codetune/sap-confirmed-a-cyberattack-hackers-reportedly-reached-its-source-code-what-happens-next-7e3fabf908c5
- https://www.cybersecuritydive.com/news/sap-investigates-attack-source-code/875820/
- https://socradar.io/blog/sap-security-incident-github-tokens-source-code/
- https://insight.tmcnet.com/insight/stolen-tokens-exposed-sap-source-code-customer-data-safe-077063