Software & Dev

One Stolen GitHub Login Pushed Code Into 1Password's Backend, and SAP Reported the Same Pattern Days Later

An attacker used a single employee's corporate GitHub account to change 1Password's backend services and reach its CI/CD system. Within days SAP was investigating stolen employee tokens and altered code on GitHub. For any software organisation, a developer's login is now a production credential.

December 1, 2026 · Software & Dev
A brass padlock resting on a dark laptop keyboard beside the arrow and return keys, lit in cool blue light

Key Takeaways

  • 1Password began investigating on November 19 after an attacker took over an employee's corporate GitHub account, then pushed malicious code to backend services and gained access to its CI/CD system.
  • The altered services downloaded administrative data for a subset of customers, including emails, public keys and tokens from invitation and recovery emails, though 1Password says no vault content was accessed.
  • SAP confirmed an incident days later, with Der Spiegel reporting that attackers used stolen employee tokens to copy and modify code on GitHub, and SAP says it has found no evidence customer business data was reached.
  • GitHub's own organisation settings put no expiry on classic personal access tokens by default, and allow fine-grained tokens to live for up to 366 days.

Password managers sell one promise above all others: even if the company is breached, your secrets stay sealed. 1Password says that promise held last week. What did not hold was the boundary between a developer's account and the systems customers depend on. An attacker who controlled one employee's GitHub login was able to read the company's private code, change what its backend services did, and reach the pipeline that builds and ships them. A few days later, SAP was dealing with a similar problem. Neither company has said how the attackers got in, and that gap is the most useful thing in either disclosure.

What Happened at 1Password

According to 1Password's incident update, published on November 25, the company began investigating on November 19 after finding signs that an attacker had gained access to an employee's corporate GitHub account. The attacker used that account to access source code and push malicious code to backend services, and those services then downloaded administrative data about a subset of customers. The attacker also copied code from private repositories and gained access to the CI/CD system, which 1Password says holds the infrastructure secrets its product needs to run.

The data taken included names, email addresses, account and user identifiers, account creation and last sign-in times, public keys, Secure Remote Password parameters and tokens embedded in certain invitation, provisioning and account recovery emails. 1Password says vault contents, recovery keys and the keys protecting vaults were not touched, and that the emailed tokens cannot open an account on their own without an SSO sign-in or a code sent to the user's inbox. A small number of users who were mid-provisioning or mid-recovery were notified directly, and the company says it found no account takeovers from the exposed tokens.

The response, as The Hacker News summarised it, was to disable the account and revoke the stolen token, rotate internal credentials, restore clean versions of the affected service and harden GitHub, CI/CD and endpoint controls. As a precaution, codes in invitation and recovery emails grew from six digits to ten alphanumeric characters. A root cause analysis is promised in the coming weeks. Until then, nobody outside the company knows whether the GitHub account fell to phishing, a stolen session or malware on a laptop.

SAP, and a Pattern That Keeps Repeating

On November 28, Beinsure reported that SAP was investigating an incident in its software development infrastructure. Citing an insider, Der Spiegel said attackers had obtained SAP employees' authentication tokens, copied source code from GitHub repositories and made unauthorised changes. SAP reportedly replaced cryptographic signing keys, restricted GitHub access and suspended automated development processes, and said it had found no evidence of unauthorised access to customer business data. It has not said how the tokens were stolen or which repositories were affected.

GitHub has been on the receiving end itself. In May, Sophos reported that a poisoned Visual Studio Code extension on a GitHub employee's device harvested developer secrets and access tokens, which the attacker used to clone about 3,800 internal repositories. Sophos's advice afterwards was to assume every token on an affected machine was compromised, rotate long-lived GitHub, npm and cloud credentials first, move to short-lived scoped tokens with SSO, and search audit logs for mass cloning. Of the three cases, only GitHub's has a known starting point, and it was a developer's own machine; 1Password and SAP have not yet said how theirs began.

Why a Developer Token Is Worth So Much

The common thread is that a source control identity now carries far more than read access to code. In modern pipelines a push to the right branch can trigger a build, a deployment and a change to a live service, and CI/CD systems hold the secrets those services use. That is how a GitHub account at 1Password became a route to customer data that the attacker never had to query directly. The defaults do not help: GitHub's documentation shows classic personal access tokens have no expiration requirement unless an organisation sets one, and the default maximum lifetime for fine-grained tokens is 366 days.

Organisation owners can restrict classic tokens from reaching organisation resources altogether, set maximum lifetimes, and require administrator approval before any fine-grained token can touch organisation repositories. None of this would necessarily have stopped an attacker holding a live, legitimate session. It does shrink the number of long-lived credentials sitting on laptops, in configuration files and in old scripts, and it makes the ones that remain easier to inventory.

What Engineering and Security Leaders Should Do Now

Both companies say their customers' most sensitive data stayed out of reach, and that may prove true. The uncomfortable lesson is what the attackers did reach: code, pipelines and live services, all through the ordinary login of someone whose job is to change them. Until the root cause reports arrive, every engineering organisation should assume its own developers hold the same keys, and ask how long it would take to notice one going missing.

Share

More in Software & Dev

All Resources →