What can an attacker do with a single hijacked GitHub account belonging to one of your employees? The 1Password incident gives a concrete answer: read private source code, push malicious code to backend services, reach the CI/CD system and download customers' administrative data. It is a direct lesson for any business that builds software in-house or hires someone to do it.
One employee account was enough to push code to the backend
According to 1Password's notice published on November 25, 2026, the company began investigating on November 19 after signs that an attacker had gained access to an employee's corporate GitHub account. From there the attacker accessed source code and pushed malicious code to backend services, which then downloaded administrative data about customers. The Hacker News reported it on November 26, 2026.
1Password stresses that vault contents, passwords and recovery keys were not accessed, and that users do not need to change anything in their accounts. The stolen records include names, email addresses, account identifiers, account creation and last sign-in times, public keys, SRP protocol parameters, and tokens found in some invitation, provisioning and account-recovery emails. The company also says the attacker copied source code from private repositories and reached CI/CD, which holds infrastructure secrets; every credential that might have been exposed has been rotated. A root cause analysis is promised later, so some details are still open.
The notable point is that no software vulnerability was needed. One identity with write access was enough.
Emailed tokens: a design that limits the damage
Here is a useful technical detail. The tokens taken from invitation and recovery links were not enough on their own to enter an account, because access still required SSO or a six-digit code sent to the registered email. Even so, 1Password lengthened the codes in invitation and recovery emails from six digits to ten characters as a precaution.
If your application has password reset or member invitations, check three things: the token is random enough, it expires quickly, and it works only once. A minimal Node.js example:
import { randomBytes, createHash } from 'node:crypto';
export function createInviteToken() {
const token = randomBytes(32).toString('base64url'); // sent by email
const tokenHash = createHash('sha256').update(token).digest('hex'); // store only the hash
const expiresAt = new Date(Date.now() + 15 * 60 * 1000); // expires in 15 minutes
return { token, tokenHash, expiresAt };
}Because only the hash is stored, someone who reads the table or a backup cannot reuse the token. On verification, hash the incoming token, look it up by tokenHash, check expiresAt, then delete the record immediately so it cannot be used twice.
Auditing repos and CI/CD in one working session
Your technical team can work through this in order.
See who pushed what to the main branch
git fetch --all
git log origin/main --since="2026-11-01" --date=iso --format="%h %an %ad %G? %s"The %G? column shows the commit signature status (G is valid, N means no signature). Unsigned commits, odd timestamps or authors who do not match working hours deserve a question to the people involved. If signed commits are not yet required, now is the time to turn them on.
Block direct pushes to important branches
In the GitHub repository settings, create a ruleset or branch protection for the main and release branches: require pull requests, at least one reviewer who is not the author, and block force-pushes and branch deletion. For sensitive paths such as workflows, infrastructure and authentication code, use a CODEOWNERS file so the right people must approve.
Shrink the pipeline's permissions
In GitHub Actions workflows, declare minimal permissions at the top of the file:
permissions:
contents: readGrant extra permissions only to the job that needs them. Put deployment secrets in an environment that requires reviewers rather than at repository level. Every secret in CI/CD should have an owner and a rotation schedule; if you ever have to rotate in an emergency, that list keeps you from missing one.
Protect the accounts themselves
Require two-factor authentication across the organization, preferring security keys or passkeys. Use short-lived personal tokens limited to specific repositories. Review members, deploy keys and authorized OAuth apps, and remove whatever is no longer used.
If you hire another team to build your software
Your repositories and pipelines are only as safe as the machines and accounts of whoever can write to them. Ask your development partner three questions: who can write to the main branch, whether review is mandatory, and where deployment secrets live and how often they are rotated. A vague answer is a signal to fix things before an incident, not after.
We have covered the same family of risks in 4,837 GitHub accounts hijacked through exposed CI/CD secrets and the PolinRider malware hiding in GitHub repos (both in Vietnamese). If you want a second pair of eyes on your process, browse the projects Besoft has delivered and talk to our engineering team.
References
- 1Password, "Update on a security incident involving 1Password's backend systems", November 25, 2026: https://1password.com/blog/update-on-nov-2026-security-incident
- The Hacker News, "1Password Hacked, Customer Data and Source Code Stolen in GitHub Account Breach", November 26, 2026: https://thehackernews.com/2026/11/1password-hacked-customer-data-and.html






