Abstract

In late November 2026, 1Password reported that an attacker had used an employee’s corporate GitHub account to access source code and push malicious code to backend services, which downloaded account records for a subset of customers. It also reported copied private code and access to its CI/CD system, without yet saying how these connect.1 SAP confirmed suspicious activity, while German press reported stolen employee GitHub tokens.2 When can a developer’s account amount to production access? When a single identity, through a live session or a token, can control what is deployed or published, or use credentials with that authority, without independent approval. Source code alone can give an attacker secrets in reachable history, a map of the architecture and material for vulnerability research; pipeline access can give cloud roles, signing material and publishing rights. Using the SLSA v1.0 threat model and documented incidents, the article sets out which controls prevent, limit or detect each step, what they cost, and what to revoke, rotate and investigate after a source-host compromise.

One week, three disclosures

1Password: what the company has reported

On 19 November 2026, 1Password began investigating signs that an attacker had gained access to an employee’s corporate GitHub account. According to its notice, the attacker used the account to access source code and to push malicious code to backend services, which then downloaded administrative data for a subset of customers, including names, email addresses, account identifiers, non-secret metadata and tokens embedded in emailed invitation, provisioning and recovery links. The company states that “At no time were customer vault contents accessed by, or available to, the attacker.”1

The emailed tokens were not sufficient on their own: 1Password says each works only together with an SSO sign-in or a code sent to the user’s registered email address, that the few users with a process under way were notified, and that it found no internal evidence of account takeover or compromise using the exposed provisioning tokens. It lengthened the emailed codes from six digits to ten alphanumeric characters as a precaution.1

The notice also says the attacker copied source code from private repositories and gained access to the CI/CD system, which “contains infrastructure related secrets”. 1Password says it disabled the GitHub account, “revoked the stolen token”, removed access the attacker had created, rotated or revoked internal credentials that might have been exposed, tightened GitHub, CI/CD and endpoint controls, and will publish a root cause analysis.1

These are observations reported side by side, not a confirmed sequence. The Register reported on 26 November that 1Password had not explained how GitHub access led to the backend change or how far the attacker reached into build and distribution infrastructure, and that the company did not answer its questions.3 Whether the malicious code reached the backend through CI/CD or another route, what the revoked token was, how it was obtained, and whether any review step was bypassed are all undisclosed.

SAP: confirmed suspicious activity, reported mechanism

SAP’s own statements are short. To Recorded Future News it said: “Based on our investigation to date, we have found no evidence of unauthorized access to customer business data.”2 To BleepingComputer a representative said that “SAP has identified suspicious activity and promptly implemented the necessary measures to protect its customers and preserve the security of its services”; a spokesperson declined to say which environments were affected or whether customers consuming code from SAP’s GitHub repositories should act.4

The rest is reporting, and the reports differ in strength. According to The Record’s summary of Der Spiegel’s report of 26 November, which cited internal communications and sources, the attackers obtained employee authentication tokens “that allowed them to copy and modify the company’s source code”; The Record adds that “It remains unclear whether the hackers accessed SAP’s proprietary source code or whether any altered code ended up in software delivered to customers.”2 BleepingComputer relays the stronger claim from Spiegel’s insider sources that the tokens were used to copy and modify code.4 The German Press Agency, which says it saw parts of an internal message, reported that SAP had told employees some days earlier of suspicious activity “innerhalb unserer Plattform für Entwicklerproduktivität und Softwarebereitstellung GitHub” (within its GitHub platform for developer productivity and software delivery) and asked them to check whether to change credentials.5 The Record cites Handelsblatt for the internal response name “Project Granite” and reports that SAP reportedly restricted access to GitHub, halted automated development processes and “replaced digital keys used to verify that its software was genuine and had not been tampered with.”2

Nothing published shows which keys these were, who held them, or that they were accessed.

Hex.pm: a different entry point

The third disclosure of the week, from Hex.pm, the package registry for Erlang and Elixir, did not involve a source host. Hex’s post-mortem of 24 November describes an attacker exploiting a deserialization flaw in the hex.pm web application on 23 November to run commands on its web servers; Hex records six servers as affected. The vulnerable parser handled the application/vnd.hex+erlang content type and ran before routing and authentication, so “any unauthenticated POST with that content type reached it on every route.” Hex blocked the traffic and deployed a fix within 20 minutes; the git history showed the relevant safety check had been removed on 23 February 2016.6 The advisory, GHSA-9pmm-hf4r-27pg (CVE-2026-129514), describes unauthenticated remote code execution that “was actively exploited against the hex.pm service on 2026-11-23.”7

Hex belongs here for what the attacker was positioned to reach. Hex says the commands could read server credentials. It replaced storage, CDN, email and database credentials and the keys that sign sessions and access tokens. Its timeline identifies the registry signing key and a few low-impact secrets as exceptions. Hex is building a signing system that supports rotation and tells users to fetch only from repo.hex.pm until then. Because database reads were not logged, Hex cannot rule out that data was read. It reports no evidence of unauthorised package modification.6 In SLSA v1.0 terms, modification of packages through a compromised registry, threat (G), is the risk Hex investigated.8

Hex is also open source, and its logs showed “repeated downloads of hex.pm’s own dependencies which suggests the attacker built a local copy of hex.pm to test against.” That is Hex’s inference. Its timeline records 69 malicious requests to hex.pm.6

The chain, in SLSA v1.0 terms

SLSA v1.0’s threat model labels supply chain threats (A) to (H). Source threats are (A) an unauthorised change submitted through the official source control interface without special administrator privileges, (B) a change introduced through an administrative interface or a compromise of the underlying infrastructure, and (C) a build from source that does not match the official repository. (D) is use of a compromised dependency. Build threats are (E) tampering with the build process or its provenance, (F) uploading a package not built by the proper process, (G) modifying a package through a compromised registry, and (H) tricking users into using a compromised package.8

SLSA v1.0 states that it “does not address source threats” as a category, and lists (A) and (B) for a future version; it addresses (C) through the Build track, by having verifiers compare provenance, including the source location, against expectations.89 For (G), it marks the de-listing of artefacts or provenance as out of scope, while a consumer that verifies provenance can still detect a registry-served package that does not match.89 SLSA v1.2, marked approved, adds a Source track with four levels, ending at Level 4, two-party review.10

What a stolen developer credential could enable in these terms depends on its permissions. The mapping below applies SLSA v1.0’s definitions; the examples are conditional, not drawn from any one incident.8

  • With repository write access, an attacker could attempt (A), including a change to a workflow file through the ordinary interface. If the changed workflow then tampered with an otherwise expected build process, the result could be an (E) outcome.8
  • An unauthorised source change introduced through administrative access is (B).8
  • A registry credential that the attacker can use to publish a package outside the intended build process could enable (F).8
  • A compromised build dependency is required to build the artefact. A compromised runtime dependency is required to run it. Both are (D), including when the affected build or system belongs to the dependency’s own producer.8

Each entry below is limited to what its cited source says.

StepWhat the attacker holdsCases, with what is confirmed
1. IdentitySession, password, PAT, OAuth or app token1Password: account access and a revoked token, acquisition undisclosed.1 SAP: employee tokens, reported by press.2 Slack, December 2022: employee tokens stolen and misused; a third-party vendor was compromised.11 CircleCI, intrusion in December 2022, reported January 2023: stolen SSO session.12 Heroku and Travis CI, April 2022: OAuth tokens maintained by those integrators.13
2. Source hostRead or write on private repositoriesOkta, December 2022: repositories copied.14 Slack: private repositories downloaded.11 LastPass, August 2022: 14 of 200 repositories from a development environment.15 Microsoft, 2024: access to some repositories, after an intrusion that began in corporate email.16
3. Code and historySource, committed secrets, architecture, build definitionsLastPass: information from the first incident used to identify targets in the second.15 Microsoft: actor attempting to use secrets found in exfiltrated email.16 Hex.pm: dependency downloads that Hex reads as building a local replica.6
4. PipelineCI secrets, deploy roles, publishing tokens, signing material1Password: CI/CD accessed, route to backend undisclosed.1 tj-actions, March 2025: secrets printed to workflow logs.17 Ultralytics, December 2024: legitimate publishing workflow abused.18 Codecov, 2021: build tool altered periodically.19 SAP: keys replaced, reported.2
5. Artefacts, cloud, customersMalicious releases, production changes, customer data1Password: malicious backend code downloaded account records for a subset of customers.1 Ultralytics: four malicious releases.18 Shai-Hulud, 2025: more than 500 npm packages.20 LastPass: backups including encrypted vault backups.15

What source code alone gives an attacker

The argument that a leak is harmless, and where it holds

When attackers copied Okta’s Workforce Identity Cloud repositories in December 2022, Okta stated: “Okta does not rely on the confidentiality of its source code for the security of its services.” GitHub had alerted Okta to the access; Okta restricted repository access, suspended all GitHub integrations with third-party applications, reviewed recent access and commits, and rotated GitHub credentials.14 Slack, describing the theft of a subset of its private repositories later that month, said: “No downloaded repositories contained customer data, means to access customer data, or Slack’s primary codebase.”11

The principle behind Okta’s sentence is old. Auguste Kerckhoffs wrote in 1883 that a military cipher system must not require secrecy: “Il faut qu’il n’exige pas le secret, et qu’il puisse sans inconvénient tomber entre les mains de l’ennemi”, that is, it must be able to fall into the enemy’s hands without harm. His next requirement was that the key be changeable at will.21 A design that survives publication still depends on keys being secret and replaceable, and a source repository can hold more than design: credentials in current files or history, hostnames and configuration in infrastructure code, internal documentation, and the workflow definitions that decide what gets built and deployed. 1Password describes vault data encrypted under keys only users hold and source code that “contains no user secrets”.1 Read-only access, no live credentials in the code and a design that does not rely on secrecy limit what a theft can do directly. They do not make it harmless: Okta reports the scope and outcome of its own investigation, and LastPass shows stolen development information used to plan a further intrusion.1415

Where it fails: secrets in the tree and in reachable history

Meli, McNiece and Reaves, presenting at NDSS 2019 what they describe as “the first large-scale and longitudinal analysis of secret leakage on GitHub”, used two data sources: a scan of real-time public commits over nearly six months and a public snapshot covering 13% of open-source repositories. Restricting detection to private key files and 11 high-impact platforms with distinctive API key formats, they found leakage in more than 100,000 repositories and that “thousands of new, unique secrets are leaked every day.”22

Later measurements come mostly from vendors. GitGuardian, which sells secret detection, reports 28,649,024 new secrets detected in public GitHub commits in 2025 and gives 34% as the year-on-year rise.23 Its 2025 report gave 23,770,171 for 2024;24 simple arithmetic on those two published totals gives about 20%, and the reports do not explain the difference in basis. In the 2026 report, 32.2% of the internal repositories in GitGuardian’s dataset contained at least one secret against 5.6% of public ones, and of the valid secrets it tracked from 2022, 64% were still valid four years later.23 Verizon’s 2025 Data Breach Investigations Report analysed 441,780 secrets exposed in public git repositories; GitLab tokens made up 50% of the development and CI/CD secrets category, and a data contributor’s figures put “the median time to remediate discovered leaked secrets on a GitHub repository” at 94 days.25

History matters because git clone copies a repository and creates remote-tracking branches for each of its branches, carrying the commits reachable from them; options such as --depth instead create “a shallow clone with a history truncated to the specified number of commits.”26 Deleting a secret in a later commit removes it from the current tree but not from earlier commits or from clones and forks made before any history rewrite, which is why GitHub’s guidance makes revoking or rotating the secret the first step.27

Where it fails: a map for the next intrusion

Source code, infrastructure-as-code, runbooks and internal documentation describe which systems exist, what they are called and how they authenticate to one another. LastPass is the clearest documented case. In its account of 1 March 2023, the first incident began when a software engineer’s corporate laptop was compromised, giving access to a cloud-based development environment from which the attacker took source code, technical information and some internal secrets, including 14 of 200 software repositories; LastPass says there was no customer or vault data in that environment. It later found that information stolen in the first incident was used to identify targets in the second, in which the attacker went after a senior DevOps engineer through vulnerable third-party software and reached cloud backups. Those held configuration data, API and integration secrets, customer metadata and vault backups in which sensitive fields were encrypted but some, such as URLs, were not.15

Microsoft’s March 2024 update on Midnight Blizzard describes a path that began elsewhere. Information exfiltrated from corporate email was used “to gain, or attempt to gain, unauthorized access,” which “has included access to some of the company’s source code repositories and internal systems.” Microsoft also said the actor “is attempting to use secrets of different types it has found”, some of which had been shared with customers by email.16 The documented observation is that material taken from one system was used to try to enter others, including source repositories.

Where it fails: vulnerability research and write access

Code is also input to vulnerability research. Hex.pm’s attacker sent an exploit chain that passed through error-handling code in several libraries, after downloads that Hex interprets as building a local test copy.6

Reading and writing are separate permissions. Whether a token can clone, push or administer depends on the permissions or scopes it carries and the user’s role.28 SAP’s tokens were reported to permit modification of source code.2 1Password’s notice describes a different write: malicious code pushed to backend services.1 Where an attacker can write to a repository, the question becomes what the organisation’s automation will do with a commit that appears to come from an employee.

What the pipeline gives that the code does not

CI as a secret store that runs repository code

A CI system needs credentials: cloud deployment roles, registry publishing tokens, signing keys, database passwords, API keys. On GitHub Actions, the workflow definitions that decide when and how those credentials are used live in the repository. GitHub’s guidance states: “Any user with write access to your repository has read access to all secrets configured in your repository.”29 The mechanism is indirect. Permission to trigger a workflow means a configured job may run with the secrets it is given; disclosure then depends on whether the person can control the job’s code or inputs, or on what the job already does with them.

Which secrets a job is given depends on scope. Repository secrets, organisation secrets made available to the repository, and environment secrets are distinct; environment secrets are released only after that environment’s protection rules pass.30 For ordinary workflows triggered from forks, secrets other than GITHUB_TOKEN are not passed to the runner; secrets are not automatically passed to reusable workflows, and are not available to workflows triggered by Dependabot events.31 Privileged triggers such as pull_request_target run in the base repository’s context and are the exception GitHub warns about.29 The reach of a stolen credential is the set of secrets that jobs it can cause to run would receive, and that it could make them disclose.

GitHub’s guidance also warns that “a compromise of a single action within a workflow can be very significant,” because that action may reach the secrets the job holds and its GITHUB_TOKEN.29 In March 2025 the widely used tj-actions/changed-files action was compromised. According to GitHub’s advisory, attackers “retroactively modified multiple version tags to reference a malicious commit” in an action used by more than 23,000 repositories; the injected code read secrets from the runner’s memory and printed them to workflow logs, which were publicly readable for public repositories.17 CISA told organisations to check public repositories whose workflows ran the malicious commit for exposed access keys, GitHub personal access tokens, npm tokens and private RSA keys, said the compromise was potentially enabled by an earlier compromise of reviewdog/action-setup, and told them to rotate identified secrets immediately.32

The release path

Pipelines also hold the right to publish. Four Ultralytics versions on PyPI, 8.3.41, 8.3.42, 8.3.45 and 8.3.46, were malicious in December 2024. PyPI’s analysis says the attack “targeted the GitHub Actions cache”, that the first malicious releases went through the project’s existing publishing workflow, and that a later round used “an unrevoked PyPI API token that was still available to the GitHub Actions workflow, potentially a hold-over from before the project adopted Trusted Publishing.” It states that “No security flaw in PyPI was used to execute this attack.”18

Codecov’s 2021 incident is the build-tool variant. An error in Codecov’s Docker image creation process let an attacker extract a credential that could modify its Bash Uploader script; from 31 January 2021 there were “periodic, unauthorized alterations” that “enabled them to potentially export information stored in our users’ continuous integration (CI) environments”, until Codecov learned of it on 1 April.19 Customers whose CI runs executed an altered copy during those windows were exposed. The customer-side consequences of that case and of CircleCI’s are covered in the library’s piece on standing cloud credentials.

Signing and what it attests

A valid signature shows that particular bytes were signed with a particular key, and, where the scheme binds keys to identities, which identity signed. It does not show that the organisation intended that source or build. If a release workflow signs whatever it builds, an attacker who can make it build their change gets a valid signature; anyone who obtains signing material can sign other artefacts. Hex’s planned rotation-capable signing system addresses the second possibility for its registry key.6 The library’s article on installers that are the malware covers what happens downstream when that possibility is realised.

Why tokens are the weak point

Bearer credentials and their lifetimes

Access to a source host comes through several kinds of credential: browser sessions, personal access tokens, OAuth grants to third-party tools, GitHub App tokens, and SSH keys. Session cookies, PATs and OAuth access tokens that are not bound to a device are bearer credentials: whoever presents them is treated as the holder. SSH public-key authentication instead requires a valid signature made with the private key.33

GitHub recommends fine-grained personal access tokens over classic ones: each is limited to one user’s or organisation’s resources, carries specific permissions, and can be made subject to organisation approval. Classic tokens remain necessary for some tasks, such as access across several organisations at once and some package and API operations.28 Organisation owners can set maximum lifetimes. For fine-grained tokens the default organisation maximum is 366 days; under the classic-token policy, “Personal access tokens (classic) do not have an expiration requirement.” A stricter lifetime policy blocks non-compliant tokens belonging to organisation members from accessing the organisation’s non-public resources. The tokens themselves remain valid elsewhere if otherwise authorised.34

OAuth app tokens have no routine fixed expiry. GitHub’s guidance says they “do not expire until the person who authorized the OAuth app revokes the token,”35 and its revocation documentation adds that GitHub “will automatically revoke an OAuth token or personal access token when the token hasn’t been used in one year,” along with other revocation paths.36 In April 2022, attackers used OAuth user tokens issued to Heroku and Travis CI to list victims’ organisations and private repositories and then clone selected ones, including npm’s. GitHub said it did not believe the tokens were obtained through a compromise of GitHub, because it does not store them in their original usable form; they were tokens “maintained by Heroku and Travis CI.”13 CircleCI’s response to its own incident included a plan to move “from OAuth to GitHub apps, enabling us to enforce more granular permissions within tokens.”12

Where tokens live, and how they leave

Each place tokens accumulate has a documented theft route.

Developer machines are exposed to infostealers. Verizon’s 2025 report found that 30% of the compromised systems in its sample of infostealer logs could be identified as enterprise-licensed devices. Among systems with possible corporate login data, which Verizon identified by at least one email domain that was not a free provider, 46% were non-managed devices. The report also looked in the logs for domains such as “developer tools, internal GitHub repositories”.25 CircleCI’s incident report of 12 January 2023 is the detailed case: malware on an engineer’s laptop, not detected by antivirus, was used “to steal a valid, 2FA-backed SSO session,” letting the attacker impersonate the employee from elsewhere. Because that employee could generate production access tokens, the attacker reached customer environment variables, tokens and keys, and extracted encryption keys from a running process, “enabling them to potentially access the encrypted data.”12 Multi-factor authentication protected the login; the attacker took the session the login produced.

CI runners are a second store. CISA’s alert of 23 September 2025 describes the Shai-Hulud worm, which compromised more than 500 npm packages, scanned environments for GitHub personal access tokens and cloud API keys, exfiltrated them, and authenticated to npm “as the compromised developer” to publish infected versions of other packages.20 GitGuardian’s analysis of the later Shai-Hulud 2 campaign, again vendor research, reports that 59% of the compromised machines in its sample were CI/CD runners and that 44% held more than ten secrets.23

Third-party services that hold delegated grants are a third. Slack says “a limited number of Slack employee tokens” were “stolen and misused”, and that a third-party vendor had been compromised.11 GitHub’s account of the Heroku and Travis CI campaign describes OAuth tokens maintained by those integrators being used against their users’ accounts.13 Code itself is the fourth, covered above.

Scope

The 1Password case may yet show how far one employee’s access reached and why. Whether the revoked token was broadly scoped, whether the employee’s role spanned code and pipeline, or whether repository access implied pipeline access through workflow files, is for the promised root cause analysis.1 The design question does not wait for the answer: for each role, what can one identity change in production without another person’s approval? The library’s discussion of least privilege applies directly.

Controls, step by step

Step 1: phishing-resistant sign-in, and what it leaves open

CISA’s fact sheet of October 2022 states: “The only widely available phishing-resistant authentication is FIDO/WebAuthn authentication.” It also recognises PKI-based MFA as a less widely available phishing-resistant form.37 What these methods protect is the authentication ceremony itself, which is bound to the legitimate site’s origin or to the enterprise’s certificates. CISA’s Shai-Hulud alert recommends phishing-resistant MFA for all developer accounts, naming GitHub and npm,20 and GitHub’s npm plan of 22 September 2025 includes deprecating TOTP and “migrating users to FIDO-based 2FA.”38

Phishing resistance applies to the moment of authentication. It does not stop a session cookie or token being stolen afterwards from a compromised endpoint, as in CircleCI’s case.12 Two kinds of control address that, and they are different. Chrome’s Device Bound Session Credentials have the browser generate a key pair at login, keep the private key in secure hardware such as a TPM where available, and issue short-lived cookies that can be refreshed only by proving possession of the key. A stolen cookie still works until it expires, the site must implement DBSC, and where the device has no secure key storage it “gracefully falls back to standard behavior”, meaning an ordinary bearer session.39 Step-up authentication is separate: it demands a fresh check before sensitive operations. CircleCI added step-up steps for employees who kept production access.12 Chrome made DBSC available on Windows in Chrome 145, announced on 3 March 2026, with keys held in the TPM;40 whether the source host a team uses has implemented it is a separate question to check. Endpoint protection, and a policy on whether unmanaged devices may hold developer credentials, address the theft itself; those are design choices, informed but not settled by Verizon’s sample.25

Step 1 continued: short-lived, narrow and federated credentials

Three mechanisms reduce the value of a stolen token.

  • Fine-grained PATs with enforced lifetimes. Owners can restrict classic tokens, require approval for fine-grained ones and set a maximum lifetime shorter than the 366-day default.34 In organisations using SAML SSO, a classic PAT must be authorised for that organisation before it can reach its resources.41
  • GitHub Apps in place of OAuth apps and machine-user PATs. Apps use fine-grained permissions and short-lived tokens.35 An app authenticating as its installation acts as itself; a GitHub App user access token acts on behalf of the user and, where the optional expiry feature is on, expires after 8 hours by default, with a refresh token to renew it.42
  • OIDC federation from CI to cloud. A job can request a signed token from GitHub’s OIDC provider only if the workflow or job grants the id-token: write permission. The cloud provider checks the token’s audience, subject and other claims against every condition in a role’s trust definition and, if they all match, issues its own short-lived credential.43 The OIDC token is an identity assertion for one job. The cloud credential exchanged for it has whatever permissions and duration the cloud role grants; AWS’s AssumeRoleWithWebIdentity, for instance, accepts a session duration from 900 seconds up to the maximum configured for the role.44

The trust definition is an authorisation boundary. A role is reachable only if an identity can cause a job to request a token and the token satisfies every configured trust condition, including audience and subject. In GitHub’s default subject format, a job using an environment includes the environment name in place of the branch. The example repo:octo-org/octo-repo:environment:prod uses the previous name-based format. On GitHub.com, repositories created, renamed or transferred after 15 July 2026 use immutable subjects that include owner and repository IDs. Older repositories can opt in. GitHub Enterprise Server is outside this rollout.4543 A trust policy requiring a particular environment can enforce the gates configured for that environment. Conditions on a specific workflow depend on which claims the provider can evaluate. Federation also leaves one path open: an attacker who can run a workflow that satisfies the conditions receives the same credential the real pipeline would. Short lifetimes limit how long a stolen credential stays useful; they do not help against a pipeline the attacker is driving.

Step 2: organisation policy on the source host

Owners can restrict personal access tokens from organisation resources, set lifetime and approval policies, and require SSO. Both PAT types are enabled by default, which permits but does not itself grant access: a token still needs the user’s own access. Lifetime policy applies to tokens belonging to organisation members.3441 CISA’s Shai-Hulud guidance adds housekeeping: remove unnecessary GitHub Apps and OAuth applications, and audit repository webhooks and secrets.20 Okta’s first moves in 2022 included suspending all third-party GitHub integrations, which is quicker when they have been inventoried beforehand.14

Steps 2 and 3: making one account insufficient to change what ships

SLSA v1.2 Source Level 4 requires that changes to protected branches “MUST be agreed to by two or more trusted persons prior to submission”; either an uploader and a different reviewer, or two different reviewers, satisfy it. The approval applies to the final revision submitted and to a specific context such as repository and branch, and an organisation may grant a trusted robot, such as Dependabot, a standing exception.10 On GitHub, rulesets can require pull requests, approvals, status checks and signed commits and can block force pushes; where several rulesets target the same branch, “the most restrictive version of the rule applies.”46

Whether this stops an attacker with a stolen credential depends on three things. First, bypass: a ruleset can allow certain roles, such as repository administrator, or specific teams or apps to bypass it, and organisation-level rulesets can apply on Enterprise plans.46 A stolen credential can bypass an existing rule only if its holder is on the applicable bypass list and the credential carries the needed permissions; separately, people with admin access or the “edit repository rules” permission can change the rules themselves.46 Second, workflows: protection on a branch does not by itself stop a workflow running from another branch with repository-level secrets, which is why deployment credentials belong behind environments with branch restrictions. Third, independence: a second reviewer helps only if the attacker does not hold that reviewer’s credentials too, and Slack’s incident involved several employees’ tokens.11

Step 4: protected environments for deploy and publish

A job that references an environment “must follow any protection rules for the environment before running or accessing the environment’s secrets.” Rules include up to six required reviewers, any one of whom can approve; an option to prevent the person who triggered a run from approving it; wait timers; restrictions on which branches can deploy; and a setting that allows or disallows administrators bypassing the rules. Environment secrets become available only after the rules pass.30 To make this deployment path require two people, keep its credentials behind the environment gate and require approval from an eligible reviewer whose credentials the developer does not control. For GitHub’s built-in approval rule, configure required reviewers and enable Prevent self-review if the run initiator could otherwise approve. Restrict deploying branches and tags, disallow administrator bypass, and check that the developer cannot edit the gate or reach the same production permission through another grant.3045 Review of a deployment run is also not the same as review of the code change behind it. An administrator’s credential could change the environment’s configuration rather than bypass it.

There are costs. Required approvals add delay, and a gate that fires on every routine change risks becoming a formality; that is a design risk to manage by gating only the deployments and releases that need it. Plan limits also apply: environments in private repositories need GitHub Pro, Team or Enterprise, and on Free, Pro and Team plans required reviewers and wait timers are available only for public repositories.30 An organisation on a Team plan with private repositories can still keep the release decision independent by holding production credentials outside GitHub, in a cloud role or release system that requires its own approval from someone other than the change author. GitHub also notes that “Anyone that can edit workflows in the repository can create environments via a workflow file”; only administrators can configure protections, so an environment referenced but never configured protects nothing.30

Step 4 continued: what runs inside the pipeline

The tj-actions compromise reached consumers who referenced a mutable tag. GitHub advises pinning actions to a full-length commit SHA and describes a lockfile mechanism that records the exact commit of every action, including transitive ones, as stronger still.29 Pinning addresses third-party code; minimal GITHUB_TOKEN permissions separately limit what any step, compromised or not, can do with the token.29 On privileged triggers, GitHub’s guidance is to avoid pull_request_target unless the workflow needs the privileged context, and never to check out or run untrusted code from pull requests in such workflows.29 Using the trigger for metadata-only tasks such as labelling is a different risk from letting untrusted code or build inputs into a release context. PyPI’s Ultralytics analysis adds shared caches in build and release workflows to the list of patterns to avoid.18 The OpenSSF Scorecard project checks several of these, including dangerous workflow patterns, token permissions, pinned dependencies, branch protection and signed releases.47

Step 5: trusted publishing, provenance and signatures

Trusted publishing applies federation to package registries. The registry trusts a specific workflow on a specific CI service; the workflow presents its OIDC identity token, and the registry exchanges it for a short-lived publishing token.48 PyPI launched it on 20 April 2023.49 npm’s documentation describes the same model and says it “eliminates the security risks associated with long-lived write tokens.”50 PyPI’s 2025 review reports more than 50,000 projects using trusted publishing, more than 20% of all file uploads in the previous year made that way, and 17% of uploads carrying an attestation.51 LWN’s report of a May 2026 talk by PyPI’s Mike Fiedler gives about 10% of new uploads in February 2024 and more than 36% by May 2026; Fiedler called it “more of a slow roll”.52

After Shai-Hulud, GitHub announced that npm publishing would be limited to local publishing with 2FA, granular tokens with “a limited lifetime of seven days”, and trusted publishing.38 By 9 December 2025 npm had permanently revoked all classic tokens, introduced two-hour session tokens for npm login, and set a 90-day maximum for write tokens used in automation.53

Ultralytics shows both the value and the limit. PyPI’s publish records helped investigators see that the first malicious releases came through the project’s expected workflow, and that the later ones had “no corresponding source repository activity or PyPI publish attestations.”18 A publish attestation records which publisher uploaded a file; it is not SLSA build provenance, and the expected workflow had itself been fed a compromised build input.5418 The leftover token shows another gap: npm notes that once a trusted publisher is configured, npm accepts its publishes “in addition to traditional authentication methods like npm tokens,” and recommends the setting “Require two-factor authentication and disallow tokens”, which turns off traditional token publishing while trusted publishing and 2FA-protected manual publishing keep working. npm can also limit a trusted publisher to npm stage publish, so that “a maintainer” must “review and approve each package with 2FA” before it becomes public, at the cost of a human step in every release.50 On PyPI the corresponding step is revoking API tokens that trusted publishing has replaced.18

Build provenance and signatures address artefact integrity downstream. SLSA v1.0 verification first checks the provenance’s signature against a trusted root for the builder, then that its subject digest matches the artefact, that the builder identity is one the verifier trusts, and that the source and build parameters match expectations; the build track “mitigates these threats when the consumer verifies artifacts against expectations.”98 GitHub Actions can generate signed provenance attestations for binaries and container images, though on Free, Pro and Team plans only for public repositories; private and internal repositories need Enterprise Cloud.55 In Sigstore’s public keyless flow, signatures use “ephemeral signing keys” bound to an identity and recorded in a tamper-resistant public log.56 None of this proves the source was benign. Provenance answers whether an artefact was built from a given commit by a given builder; if the attacker controls the commit, the honest answer is yes. Its use lies in narrowing an investigation and in exposing artefacts published outside the expected pipeline, SLSA’s (F), provided someone verifies.

Push protection and secret scanning

Push protection blocks pushes containing recognised secrets. GitHub covers provider partner patterns, generic patterns such as private keys and connection strings once enabled, custom regular expressions an organisation defines, and, in preview, AI-detected unstructured secrets such as passwords; formats outside those sets are not blocked.57 There are two surfaces. Push protection for users is enabled by default, stops a user pushing secrets to public repositories, and does not generate alerts when bypassed unless repository-level protection is also on. Push protection for repositories is off by default. It can be enabled for public repositories for free. Private repositories require GitHub Secret Protection. There, “by default, anyone with write access to the repository can bypass push protection by specifying a bypass reason”, and each bypass raises an alert and an audit-log event; delegated bypass lets an organisation limit bypass to chosen actors and route other contributors through review.57 GitGuardian’s 2025 report found that, in its 2024 data, leaks of MySQL and MongoDB credentials, which lack a standardised prefix, “were not impacted by GitHub Push Protection”.24

Push protection reduces what a future theft would yield. It does not clean history. Two separate findings bear on how long leaked secrets stay a problem: a Verizon contributor’s 94-day median time to remediate leaked secrets found in GitHub repositories, and GitGuardian’s finding that 64% of the valid secrets it tracked from 2022 were still valid four years later.2523

Detection on the source host

Audit logs record what a stolen identity did only as far as their coverage goes. On GitHub Enterprise Cloud, the audit-log UI and REST API can search non-Git events by the SHA-256 hash of the token. For Git events, search exported data separately and verify that the relevant authentication field is present.58 The event catalogue lists git.clone among the Git events available through the API and streaming.59 In the Enterprise Cloud enterprise audit log, Git events are retained for seven days, with JSON export or streaming to external storage for longer retention.60

GitHub’s write-up of the Heroku and Travis CI campaign describes a behavioural pattern worth detecting: an OAuth app listing all of a user’s organisations, then private repositories, then cloning a selection.13 Detecting it needs API and Git event telemetry with the acting application, kept long enough to correlate. Other signals and what they depend on:

  • Mass or unusual cloning: retain git.clone records off-host and verify which fields appear, including actor, repository and user agent. Token data in Git events is in public preview.595860 Detecting clones from new networks also needs source addresses in the recorded events, which should be confirmed for the plan and configuration in use.
  • Selected credential, integration and protection changes: personal_access_token.request_created covers fine-grained token requests when approval is required. The catalogue also lists OAuth app creation (oauth_application.create), GitHub App installation (integration_installation.create), SSH or deploy key addition (public_key.create), webhook creation (hook.create), ruleset edits (repository_ruleset.update) and API updates to environment protection rules (environment.update_protection_rule). Check event and field availability in the off-host feed.59
  • Edits to workflow files: repository history and pull-request data. These are useful inputs, but an attacker with write or admin access may have changed or deleted them, so they should be compared with a record kept off the host.

In the Okta case GitHub noticed and told Okta; in CircleCI’s, a customer noticed suspicious GitHub OAuth activity.1412 The absence of a recorded event is a question about coverage before it is evidence about the attacker.

How the controls compare

ControlTypeWhat it addressesWhat it does not stopMain cost
FIDO/WebAuthn or PKI-based MFAPreventionPhishing of the authentication ceremonySession or token theft after loginKey distribution and recovery
Device-bound sessionsDamage limitationReplay of stolen cookies after a short windowMalware acting on the device; sites without supportSite implementation; fallback on unsupported devices
Step-up authenticationPreventionSensitive operations with a stolen sessionOperations not gatedFriction for privileged staff
Fine-grained PATs, lifetime and approval policyDamage limitationLong-lived, over-scoped tokensUse of a valid token within its scope and lifeClassic-token gaps; cross-organisation work
GitHub Apps over OAuth appsDamage limitationBroad, long-lived delegated grantsMisuse within the app’s own permissionsIntegration migration
OIDC to cloudPrevention of stored-key theftCloud keys stored in CIA workflow that satisfies the trust conditionsCareful claim conditions
Rulesets and two-party reviewPreventionSingle-identity changes to protected branchesActors on bypass lists; stolen reviewer credentialsReview load
Protected environmentsPreventionRepository write leading to deploy credentialsAdmin bypass if allowed; alternate grantsDelay; plan limits
Pinned actionsPreventionMutable third-party action referencesA malicious commit pinned before discoveryUpdate management
Minimal workflow token permissionsDamage limitationWhat any step can do with GITHUB_TOKENSecrets explicitly given to the jobPer-workflow configuration
Trusted publishing with tokens disallowedPreventionStolen registry tokensA poisoned legitimate buildRemoving old tokens
Staged publishing with maintainer approvalPreventionDirect publication by a compromised workflowA maintainer who approves without checkingA human step per release
SLSA build provenance, signature and expectations verifiedDetectionArtefacts built or published outside the expected pipelineMalicious source built by the real pipelineConsumer verification
Push protection and secret scanningPrevention and detectionNew secrets matching supported patternsSecrets already in history; unsupported formats; bypassesLicensing; bypass governance
Audit logs, retained and streamedDetection and investigationRecorded actions by a stolen identityActions the log does not recordRetention, streaming, alert tuning

After a source-host compromise

Fix the window first

CircleCI told customers to investigate from 16 December 2022, the date the engineer’s laptop was compromised, to the date they finished rotating secrets, not from the first observed misuse.12 Hex reviewed request logs back to 19 November for the attacking addresses, four days before the exploit, which is where it found the dependency downloads.6 Start from the earliest plausible compromise of the identity.

Revoke, rotate and prioritise

CISA’s instruction for tj-actions was to rotate identified secrets immediately “as they should be considered compromised.”32 After a source-host compromise, the same logic applies to credentials the identity could reach, in two different operations. Revocation ends grants that belong to the compromised identity. Rotation replaces separate secrets that may have been exposed.

  1. Cut off the compromised identity. End its sessions and remove its organisation access or suspend the account where you have authority. Have the affected user revoke their OAuth and GitHub App authorisations to invalidate the associated tokens, including applicable App refresh tokens, and remove their PATs and SSH keys. If an exposed token value is available, GitHub’s credential revocation API can invalidate supported tokens. Remove unauthorised keys, apps and access added to the organisation or repositories.3642 1Password describes disabling the account and revoking the stolen token.1 Do the same for other identities whose credentials were on the same device.
  2. Rotate secrets that workflows the identity could cause to run would have received: repository and organisation secrets available to those workflows, and environment secrets where the identity could pass or bypass the protection rules.3130 Secrets behind environment gates the identity could not satisfy are lower priority, not exempt.
  3. Rotate secrets found anywhere in reachable history of repositories the identity could read. GitHub’s guidance is to revoke or rotate such a secret first, because rewriting history does not remove it from existing clones and forks.27
  4. Rotate separate private keys and shared secrets that were exposed: deploy keys and SSH keys stored in repositories or CI, webhook secrets, GitHub App private keys if stored where the identity could read them.
  5. Signing. Where private signing keys were reachable, rotate them and plan recovery for consumers: how they will learn the new verification keys and what to do with artefacts signed under the old ones. Hex’s interim advice, to fetch only from its own repository and not from mirrors until new clients ship, is an example.6 With keyless signing there may be no persistent key to replace; recovery then means stopping the compromised workflow identity and telling verifiers which signatures from it to distrust.56
  6. Registry publishing. On PyPI, revoke API tokens that trusted publishing has replaced, the gap behind Ultralytics’ later round.18 On npm, where the package supports it, enable “Require two-factor authentication and disallow tokens” and consider limiting trusted publishers to staged publishing.50
  7. Rotate credentials the pipeline used to reach production, and anything production services could read if malicious code ran there. 1Password says it “triggered a rotation of all credentials which may have been exposed”; Hex replaced storage, CDN, email and database credentials and session and token signing keys.16

Order the work by evidence of use first, then by effective privilege: a production deployment role reachable from a workflow the attacker could trigger comes before a read-only test key. CircleCI’s rotation of customers’ GitHub OAuth tokens ran from 31 December 2022 to 7 January 2023 despite raised API rate limits, which argues for a tested runbook.12

Investigate integrity

  • Commits and references. Review pushes, force-pushes, tag moves and merges in the window. Okta reported reviewing recent access and commits to validate the integrity of its code.14 Give priority to workflow files, build scripts, dependency manifests and lockfiles, and to moved tags, the tj-actions technique.17
  • Source-host configuration. Compare rulesets, branch and environment protections, bypass lists, apps, deploy keys, webhooks and members against a baseline held outside the compromised system.
  • Artefacts. For each artefact published in the window, authenticate the provenance envelope against configured trust roots. Check the claimed builder against the trusted signer–builder pairing, then verify the provenance predicate type, artefact digest, source and build parameters.9 Missing provenance is suspicious only where the project’s policy or history says it should be present. Hex’s checks are transferable with their limits stated: it matched all 23 releases published during the incident to publish or stage entries in its audit log, matched 62 package files to checksums in its database and 186 registry files to database contents, and compared every row of a pre-incident database restore with the live database. It noted that a row changed and then changed back, or later overwritten, would not show up, and that documentation archives had no stored checksum.6 Agreement between two stores the attacker may have been able to reach is weaker evidence than comparison against an independent record such as signed provenance or an external log.
  • Production. If deployment was possible, compare running services with expected builds and redeploy from verified artefacts. 1Password says it “restored clean versions of the affected service.”1
  • Downstream use. Search each provider’s logs for use of the rotated credentials from unexpected places during the window. On GitHub, search by token hash for recorded audit-log events, and search exported Git events separately.5859

State what cannot be known

Hex’s post-mortem states its gaps precisely: “because database reads are not logged, we cannot rule out that the attacker accessed data stored in the database,” followed by what that data was and what users should do.6 1Password warned customers to be wary of unexpected emails about invitations or account recovery they did not initiate.1

A decision test for practitioners

Pick one production permission, such as the right to deploy a service or publish a package, and trace it backwards.

  1. Which identities, human or machine, can exercise it, and through which paths: environment secrets, repository or organisation secrets, cloud roles trusted by CI, registry tokens, manual publishing? List every path, including ones meant to be retired.3143
  2. For each path, can one identity complete it alone? Check the effective permissions of real tokens and roles, not the intended design: who is on bypass lists, who can edit rulesets and environments, whether administrator bypass is allowed, whether an eligible reviewer other than the change author exists.4630
  3. Where a second person is required, is that person’s approval independent of the first identity’s credentials? If GitHub’s environment reviewers are unavailable on the plan in use for private repositories, put the approval in the system that holds the production credential.30
  4. For publishing, does the workflow need direct publication rights at all? npm’s staged publishing lets a trusted publisher upload while a maintainer approves each release with 2FA, at the cost of that maintainer’s time on every release.50
  5. Test each claimed boundary with a non-privileged test identity and confirm that the operation is denied. For any detection that relies on audit records, check separately that the expected event and fields appear in the exported log.60

Conclusion

The November 2026 disclosures differ in how much is confirmed. 1Password reported GitHub account access, a revoked stolen token, copied private code, access to CI/CD, and malicious backend code that downloaded account records for a subset of customers. It said the emailed tokens taken could not open accounts alone and that it found no internal evidence of takeover or compromise using the exposed provisioning tokens. How those observations connect awaits its root cause analysis.1 SAP has said that it found suspicious activity, took containment measures, and has so far found no evidence of unauthorised access to customer business data; stolen tokens and the ability to modify code are press reports.24 Hex.pm was compromised through a web application flaw. Hex said the attacker’s commands could read server credentials. It rotated credentials that may have been exposed, with exceptions for the registry signing key and a few low-impact secrets, and it could not rule out database reads.6 With the earlier cases, these disclosures illustrate when a developer’s account amounts to production access. A single identity can control what is deployed or published, or exercise credentials with that authority, without independent approval. The controls that matter make that combination rarer: authentication that resists phishing, sessions and tokens that are short-lived and scoped, independent approval before deployment and release, publishing restricted to the intended workflow or staged for approval, provenance that someone verifies, and audit records kept off the host long enough to answer what happened.

Footnotes

  1. 1Password, Update on a security incident involving 1Password’s backend systems, 1Password blog, 25 November 2026 (updated). https://1password.com/blog/update-on-nov-2026-security-incident (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15
  2. Daryna Antoniuk, Software giant SAP confirms cyber incident amid reports of source code breach, The Record from Recorded Future News, 27 November 2026. https://therecord.media/sap-germany-cyberattack-github (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  3. Carly Page, Hackers help themselves to 1Password’s source code and customer data, The Register, 26 November 2026. https://www.theregister.com/security/2026/11/26/hackers-help-themselves-to-1passwords-source-code-and-customer-data/5312317 (opens in a new tab) ↩
  4. Bill Toulas, SAP confirms security incident after suspicious GitHub activity, BleepingComputer, 27 November 2026. https://www.bleepingcomputer.com/news/security/sap-confirms-security-incident-after-suspicious-github-activity/ (opens in a new tab) ↩1 ↩2 ↩3
  5. tagesschau.de (dpa), SAP meldet verdächtige Aktivitäten, ARD, November 2026, accessed 28 November 2026. https://www.tagesschau.de/wirtschaft/unternehmen/sap-hacker-angriff-100.html (opens in a new tab) ↩
  6. Peter Ullrich, Jonatan Männchen and Eric Meadows-Jönsson, Security incident on hex.pm, Hex blog, 24 November 2026. https://hex.pm/blog/security-incident-on-hexpm (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12
  7. hexpm/hexpm, Unauthenticated remote code execution through struct values in Erlang term request bodies, GitHub security advisory GHSA-9pmm-hf4r-27pg (CVE-2026-129514), November 2026. https://github.com/hexpm/hexpm/security/advisories/GHSA-9pmm-hf4r-27pg (opens in a new tab) ↩
  8. SLSA, Threats and mitigations, SLSA specification v1.0, OpenSSF, accessed 28 November 2026. https://slsa.dev/spec/v1.0/threats (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
  9. SLSA, Verifying artifacts, SLSA specification v1.0, OpenSSF, accessed 28 November 2026. https://slsa.dev/spec/v1.0/verifying-artifacts (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  10. SLSA, Source: Requirements for producing source, SLSA specification v1.2 (status: approved), OpenSSF, accessed 28 November 2026. https://slsa.dev/spec/v1.2/source-requirements (opens in a new tab) ↩1 ↩2
  11. Slack, Slack security update, Slack blog, describing activity of 27 to 29 December 2022, accessed 28 November 2026. https://slack.com/blog/news/slack-security-update (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  12. Rob Zuber, CircleCI incident report for January 4, 2023 security incident, CircleCI blog, 12 January 2023. https://circleci.com/blog/jan-4-2023-incident-report/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  13. GitHub, Security alert: Attack campaign involving stolen OAuth user tokens issued to two third-party integrators, The GitHub Blog, April 2022 with updates to 27 April 2022. https://github.blog/news-insights/company-news/security-alert-stolen-oauth-user-tokens/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  14. Okta Security, Okta Code Repositories, Okta, 21 December 2022. https://sec.okta.com/articles/2022/12/okta-code-repositories/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  15. LastPass, Security Incident Update and Recommended Actions, LastPass blog, 1 March 2023. https://blog.lastpass.com/posts/2023/03/security-incident-update-recommended-actions (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  16. Microsoft Security Response Center, Update on Microsoft Actions Following Attack by Nation State Actor Midnight Blizzard, MSRC blog, 8 March 2024. https://www.microsoft.com/en-us/msrc/blog/2024/03/update-on-microsoft-actions-following-attack-by-nation-state-actor-midnight-blizzard (opens in a new tab) ↩1 ↩2 ↩3
  17. GitHub Advisory Database, tj-actions changed-files through 45.0.7 allows remote attackers to discover secrets by reading actions logs, GHSA-mrrh-fwg8-r2c3 (CVE-2025-30066), March 2025. https://github.com/advisories/GHSA-mrrh-fwg8-r2c3 (opens in a new tab) ↩1 ↩2 ↩3
  18. Seth Larson, Supply-chain attack analysis: Ultralytics, The Python Package Index Blog, 11 December 2024. https://blog.pypi.org/posts/2024-12-11-ultralytics-attack-analysis/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  19. Codecov, Bash Uploader Security Update, Codecov, first published April 2021, accessed 28 November 2026. https://about.codecov.io/security-update/ (opens in a new tab) ↩1 ↩2
  20. CISA, Widespread Supply Chain Compromise Impacting npm Ecosystem, alert, 23 September 2025. https://www.cisa.gov/news-events/alerts/2025/09/23/widespread-supply-chain-compromise-impacting-npm-ecosystem (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  21. Auguste Kerckhoffs, La cryptographie militaire, Journal des sciences militaires, January 1883, p. 12 (digitised copy). https://www.arcsi.fr/doc/cryptomilitaire.pdf (opens in a new tab) ↩
  22. Michael Meli, Matthew R. McNiece and Bradley Reaves, How Bad Can It Git? Characterizing Secret Leakage in Public GitHub Repositories, Network and Distributed System Security Symposium (NDSS), 2019. https://www.ndss-symposium.org/ndss-paper/how-bad-can-it-git-characterizing-secret-leakage-in-public-github-repositories/ (opens in a new tab) ↩
  23. GitGuardian, The State of Secrets Sprawl 2026 (vendor research), GitGuardian, 2026, accessed 28 November 2026. https://www.gitguardian.com/state-of-secrets-sprawl-report-2026 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  24. GitGuardian, The State of Secrets Sprawl 2025 (vendor research), GitGuardian, 2025, accessed 28 November 2026. https://www.gitguardian.com/state-of-secrets-sprawl-report-2025 (opens in a new tab) ↩1 ↩2
  25. Verizon, 2025 Data Breach Investigations Report, Verizon Business, April 2025. https://www.verizon.com/business/resources/Te3/reports/2025-dbir-data-breach-investigations-report.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  26. Git project, git-clone documentation, git-scm.com, accessed 28 November 2026. https://git-scm.com/docs/git-clone (opens in a new tab) ↩
  27. GitHub, Removing sensitive data from a repository, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository (opens in a new tab) ↩1 ↩2
  28. GitHub, Managing your personal access tokens, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens (opens in a new tab) ↩1 ↩2
  29. GitHub, Secure use reference (formerly Security hardening for GitHub Actions), GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/actions/reference/security/secure-use (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  30. GitHub, Managing environments for deployment, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  31. GitHub, Using secrets in GitHub Actions, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets (opens in a new tab) ↩1 ↩2 ↩3
  32. CISA, Supply Chain Compromise of Third-Party tj-actions/changed-files (CVE-2025-30066) and reviewdog/action-setup@v1 (CVE-2025-30154), alert, 18 March 2025 (revised later). https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-tj-actionschanged-files-cve-2025-30066-and-reviewdogaction (opens in a new tab) ↩1 ↩2
  33. T. Ylonen and C. Lonvick, The Secure Shell (SSH) Authentication Protocol, RFC 4252, IETF, January 2006, section 7. https://www.rfc-editor.org/rfc/rfc4252 (opens in a new tab) ↩
  34. GitHub, Setting a personal access token policy for your organization, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization (opens in a new tab) ↩1 ↩2 ↩3
  35. GitHub, Deciding when to build a GitHub App, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/apps/creating-github-apps/about-creating-github-apps/deciding-when-to-build-a-github-app (opens in a new tab) ↩1 ↩2
  36. GitHub, Token expiration and revocation, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/token-expiration-and-revocation (opens in a new tab) ↩1 ↩2
  37. CISA, Implementing Phishing-Resistant MFA, fact sheet, October 2022. https://www.cisa.gov/sites/default/files/publications/fact-sheet-implementing-phishing-resistant-mfa-508c.pdf (opens in a new tab) ↩
  38. GitHub, Our plan for a more secure npm supply chain, The GitHub Blog, 22 September 2025. https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/ (opens in a new tab) ↩1 ↩2
  39. Daniel Rubery and José Luis Zapata, Device Bound Session Credentials (DBSC), Chrome for Developers, accessed 28 November 2026. https://developer.chrome.com/docs/web-platform/device-bound-session-credentials (opens in a new tab) ↩
  40. Chrome for Developers, Device Bound Session Credentials now available on Windows, Chrome blog, 3 March 2026. https://developer.chrome.com/blog/dbsc-windows-announcement (opens in a new tab) ↩
  41. GitHub, Authorizing a personal access token for use with single sign-on, GitHub Enterprise Cloud Docs, accessed 28 November 2026. https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on (opens in a new tab) ↩1 ↩2
  42. GitHub, Generating a user access token for a GitHub App, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app (opens in a new tab) ↩1 ↩2
  43. GitHub, OpenID Connect reference, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/actions/reference/security/oidc (opens in a new tab) ↩1 ↩2 ↩3
  44. Amazon Web Services, AssumeRoleWithWebIdentity, AWS Security Token Service API Reference, accessed 28 November 2026. https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html (opens in a new tab) ↩
  45. GitHub, OpenID Connect, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/actions/concepts/security/openid-connect (opens in a new tab) ↩1 ↩2
  46. GitHub, About rulesets, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  47. OpenSSF, Scorecard, GitHub repository ossf/scorecard, accessed 28 November 2026. https://github.com/ossf/scorecard (opens in a new tab) ↩
  48. PyPI, Trusted Publishers, PyPI Docs, accessed 28 November 2026. https://docs.pypi.org/trusted-publishers/ (opens in a new tab) ↩
  49. PyPI, Introducing ‘Trusted Publishers’, The Python Package Index Blog, 20 April 2023. https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/ (opens in a new tab) ↩
  50. npm, Trusted publishing for npm packages, npm Docs, accessed 28 November 2026. https://docs.npmjs.com/trusted-publishers (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  51. PyPI, PyPI in 2025: A Year in Review, The Python Package Index Blog, 31 December 2025. https://blog.pypi.org/posts/2025-12-31-pypi-2025-in-review/ (opens in a new tab) ↩
  52. Eliminating long-lived credentials with trusted publishing, LWN.net, 9 June 2026. https://lwn.net/Articles/1076205/ (opens in a new tab) ↩
  53. GitHub, npm classic tokens revoked, session-based auth and CLI token management now available, GitHub Changelog, 9 December 2025. https://github.blog/changelog/2025-12-09-npm-classic-tokens-revoked-session-based-auth-and-cli-token-management-now-available/ (opens in a new tab) ↩
  54. PyPI, Attestations, PyPI Docs, accessed 28 November 2026. https://docs.pypi.org/attestations/ (opens in a new tab) ↩
  55. GitHub, Using artifact attestations to establish provenance for builds, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds (opens in a new tab) ↩
  56. Sigstore, Sigstore overview, Sigstore documentation, accessed 28 November 2026. https://docs.sigstore.dev/about/overview/ (opens in a new tab) ↩1 ↩2
  57. GitHub, About push protection, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/code-security/secret-scanning/introduction/about-push-protection (opens in a new tab) ↩1 ↩2
  58. GitHub, Identifying audit log events performed by an access token, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/identifying-audit-log-events-performed-by-an-access-token (opens in a new tab) ↩1 ↩2 ↩3
  59. GitHub, Audit log events for your organization, GitHub Docs, accessed 28 November 2026. https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/audit-log-events-for-your-organization (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  60. GitHub, Accessing the audit log for your enterprise, GitHub Enterprise Cloud Docs, accessed 28 November 2026. https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/accessing-the-audit-log-for-your-enterprise (opens in a new tab) ↩1 ↩2 ↩3