Skip to content
Book a demo
All posts
News

1Password says hacker stole customer data and internal source code

1Password disclosed that an attacker used an employee's corporate GitHub account to deploy malicious code to backend services, exfiltrate customer records and take source code from private repositories.

Published
Reading
3 min
By
Kairo

Password management and identity security company 1Password revealed on Wednesday that a hacker stole customer information and proprietary source code. The company launched an investigation on November 19 after discovering that an employee's corporate GitHub account may have been compromised. It is unclear how many users are affected.

What happened

The attacker used the employee account to deploy malicious code to backend services and exfiltrate customer records. According to the disclosure, the compromised customer records include names, email addresses, account identifiers, public cryptographic keys, authentication parameters, account activity times, and non-secret metadata.

The threat actor also obtained source code from private repositories and accessed the company's CI/CD system, potentially exposing infrastructure credentials.

It's unclear how many users are affected and how the hacker gained initial access to the corporate GitHub account.
SecurityWeek

How it was done

The reported path runs from one developer identity to production. A single corporate GitHub account was the entry point. From there the attacker pushed malicious code that reached backend services, which is what made data exfiltration possible rather than code theft alone.

Private repositories and the CI/CD system were also in reach of that account. That is the part worth sitting with: build pipelines usually hold deployment credentials, and read access to private code often reveals where those credentials are used. The method of initial access has not been stated.

What to check

The useful questions here are about what one developer account can reach in your own environment.

  1. Map what a single developer account can deploy

    In your source control settings, list which repositories allow a push to a protected branch to trigger a deployment to production. In GitHub, check Settings, Environments and the required reviewers on each one. A bad result is any production environment that deploys on merge with no second approver.

  2. Require review on every path into main

    Open branch protection rules for your top repositories and confirm required pull request reviews, dismissal of stale approvals and a block on force pushes and administrator bypass. Run gh api repos/OWNER/REPO/branches/main/protection to see the live state rather than the documented one. Missing enforce_admins is a common gap.

  3. Inventory CI/CD secrets and their scope

    List repository, organisation and environment secrets, plus any long lived cloud keys used by runners. Prefer short lived OIDC federation over static credentials. A static cloud key with broad write permissions stored as an organisation secret is the finding to act on.

  4. Audit personal access tokens and SSH keys

    Pull the organisation audit log for token creation, key additions and permission changes over the last several months. In GitHub, filter on action:personal_access_token and action:public_key. Tokens with no expiry or with full repository scope should be revoked and reissued.

  5. Check for unexpected workflow changes

    Run git log --all -- .github/workflows to review every edit to pipeline definitions, including ones merged outside normal hours. Look for added steps that curl an external host, write to a new registry or echo secrets. Compare against the reviewer named on each commit.

  6. Confirm phishing resistant authentication for code access

    Verify that hardware keys or passkeys are enforced for source control and CI/CD, not just offered. Review which accounts still have a fallback method such as one time codes by email. Any developer or administrator account with a weaker fallback remains the easiest route in.

Keep reading

More from the team
that verifies every change.

All posts

See what your application allows before an attacker does.