A GitHub commit can still show a familiar name, message, and date after the code behind that entry has changed.
Apiiro’s PolinRider investigation shows why maintainers need records outside the current branch before deciding which version was actually reviewed or approved for release.

Overview
The name on the commit was not enough
Apiiro reported that the PolinRider campaign used stolen GitHub access to change previously published repository history while retaining familiar details on some commit entries.
The researchers found signs of the campaign in at least 7,609 repositories belonging to 2,330 accounts, based on the scope of their public-data review.
Those are observed repositories and accounts, not a count of successful infections, compromised downloads, or affected users of any named project.
GitHub activity can answer a different question from the commit view
A trusted copy of a previous release helps establish which content was accepted, while available push or audit records can help establish when the remote branch changed.
The displayed author and date describe properties of a commit, and they do not prove that the same account actually pushed the current version at that time.
Apiiro used external records of repository activity in its analysis, which is why the timing did not depend entirely on the date shown by the repository.
How you used the project determines the next step
Reading the repository, building its contents, and publishing a release from that build create different exposure questions, even if they involve one branch.
- Use an independently recorded commit identifier or artifact before treating a familiar commit message as evidence of an unchanged release.
- Preserve the current records and identify any builds that ran before restoring the branch or changing credentials.
Do not start by forcing the branch back to an old date
A familiar entry can help you find a point in the history, but neither a timestamp nor the words in a commit message identifies the code by itself.
Begin with a release record you already trust, such as a prior approved revision, a preserved artifact, or a formally signed and verified release copy.
Check who recorded it and when, since a copy taken from the repository after an unexpected change is not independent confirmation that the newer content is legitimate.
A signed commit can be useful evidence when your team understands which identity signed it and which revision the signature actually covers.
If there is no trustworthy reference, use release management records and an approved archived copy rather than designating one developer’s local branch as correct by default.
Do not continue a normal build to see whether the altered project still works, because a successful normal function does not clear unrelated behavior elsewhere.
Instead, note the current branch and affected release separately and ask the repository and build owners to preserve the evidence they need.

Establish whether the issue is the account, the code, or a release
The repository is unfamiliar and you only browsed it
Reading source in a browser is different from installing a package, opening an executable, building the project, or running an automated environment based on its contents.
If you bookmarked it for later, choose a verified source and released version before deciding whether you need that dependency at all.
Do not assume another fork is safe simply because it has a different owner displayed, particularly when it preserves the same underlying project history.
Your team cloned or built a version that may be affected
Record the exact revision and tell the build owner what commands or jobs ran, but do not rerun them as part of ordinary evidence collection.
If a pipeline approved or published artifacts, identify the resulting package, container, or release and who received it before clearing the repository problem.
If someone built it on a managed workstation, report that to the incident team rather than assuming a clean CI environment handles the workstation exposure.
Your team owns the repository and did not authorize the change
Ask the account owner and organization administrator to review current access and activity, including app authorizations and the permission assigned to build or deployment identities.
Where available, compare the effective push date with maintained release records, then preserve entries that show which account or integration acted.
Review the scope of the identity involved rather than assuming the suspicious change stopped at the first repository someone happened to notice.
What to Do When a Known GitHub Revision No Longer Matches
- Retain the current branch identifiers, relevant GitHub activity, release IDs, and timestamps through your security process before altering a shared history.
- Pause releases and deployments from the suspect revisions, then ask the repository owner and build owner which jobs and downstream artifacts were involved.
- Use trusted administration access to review unauthorized sessions, tokens, applications, and other access that could still affect the repository or release workflow.
- Choose a verified clean source and rebuild in an approved environment, then check whether an older already published release also needs attention.
- Return the repository and pipeline to normal work only when access and source integrity have both been verified against the expected records.
Read the records without changing the suspected evidence
Step 1: Compare the release reference with the current revision
Find a record that existed before the suspicious change, such as an approved deployment receipt naming a revision or a packaged source archive kept separately.
Compare the identifiers as well as the content, because the visible author name is not a substitute for a trustworthy reference to the code itself.
Preserve the current observation and ask the release owner who approved the earlier record, so a change can be evaluated without relying on one person’s memory.
If you cannot identify a known good revision, keep affected releases on hold while the owner gathers evidence from several approved copies.
Step 2: Review personal and organization activity through their own routes
For a personal account, sign in from a trusted device, open the account settings, and choose Security log to review relevant account activity.
For an organization, have an authorized owner open Settings for the organization and select Audit log under the applicable archives or log section.
Use GitHub’s audit-log guidance for available filters and retention limits, and preserve the timestamps and records your team is authorized to keep.
The user’s log and the organization’s log answer different questions, so a missing entry in one place does not prove a change never happened.
Step 3: Review and revoke access under the appropriate owner
In personal settings, review authorized applications and personal access tokens, then revoke unfamiliar or confirmed exposed access from the device you now trust.
Have the organization review affected integrations, deployment identities, and applicable permissions separately, since a person’s password is not what authorizes every build credential.
Use GitHub’s credential instructions to distinguish the type of access, and let the appropriate owner plan replacements for any required automation.
Do not print secrets in an incident ticket or store new tokens on a workstation still under review, even if the repository itself has been restored.
Step 4: Restore trustworthy code and verify the release path
Have the repository owner choose the last verifiable trusted state, or reconstruct the approved changes from separate records if no single archive is suitable.
Use protected branch controls and an authorized review to restore clean code while retaining affected evidence through the team’s security process.
Build and verify replacements from the recovered reference, then compare the recorded release source, artifact, and destination before resuming the ordinary publishing workflow.
Notify consumers of specific affected versions when needed, without asking them to download or execute the suspected source as a confirmation.
Retain evidence if the same repository has multiple consumers
List the organizations and teams that used built releases separately from those that only tracked the source, because the recovery tasks are not identical.
If another package repackages the affected source, contact its maintainer through an established channel and provide the relevant release and revision details.
Give consumers a verified replacement or a temporary hold recommendation, depending on what the incident team can substantiate at that time.
If the organization has fine-grained records for package publishing and releases, retain the origin of each identifier so a later correction cannot confuse version numbers.
Keep the reporting language precise, particularly if some copies are confirmed affected and others merely came from the same project during a broad time window.
Use a second person to verify the recovered deployment
Ask an authorized colleague to read the replacement release receipt and confirm which revision produced it and where the resulting artifact actually landed.
If the deployment system used a cached copy or a floating label, reconcile that record before treating the first successful build as the final result.
Leave an owner responsible for checking access and release logs later, especially if relevant audit data becomes available after the first recovery decision.
What to do when independent records disagree
A deployment receipt points to a different revision than the one in a release note
Save both records and look for the actual artifact identifier the deployment system used, rather than choosing the account of the last person who edited the notes.
Check whether the name referred to a moving label or to an immutable record, because the same wording can remain after a different release moves into place.
Ask the release owner to state which version customers received, which ones are still under review, and how they will confirm the answer.
A maintainer says the displayed change was previously approved
Ask for the approved reference and the time it was recorded, so you can compare it with the current content without relying on the displayed name.
Review how approved builds and the current branch relate rather than assuming a familiar maintainer authorized each item that now appears below a familiar commit.
If approvals were recorded in a separate system, keep that evidence in the incident record and note where the current repository no longer agrees.
One part of the application was released outside the main pipeline
Ask whether installers, archives, or images were distributed through another approved system, and preserve delivery records for outputs that did not pass through the main build.
If a third party ships a corresponding package, confirm which revision their build used instead of assuming they automatically moved when your team changed the branch.
Tell affected downstream maintainers what artifact to check, where to find the corrected release, and whether there is an unresolved access concern.
Multiple maintainers need access again before development can continue
Use the organization’s verified account recovery and access workflow to grant only what each maintainer requires to complete a specific task.
An urgent fix does not require bringing back every older integration at once, especially if you have not established who issued or controlled its credential.
Record what continued to operate with replacement access and which functions remain paused, so the next team does not discover the change through a failed release.
A short record for people who maintain projects part time
Keep a trusted release reference and enough details about the build to identify it after the person who prepared it is away.
Know which personal account and which service account are allowed to publish, because the two can require different recovery steps when access is revoked.
Have another maintainer know where to find the process for reporting a suspicious change, even if that person cannot make the final access decision alone.
If your account shows unfamiliar activity, warn collaborators through a known route outside the potentially affected account and avoid sending the suspect file as an example.
When you change which identities can release a package, verify that an ordinary new release uses those identities before relying on the replacement workflow.
Keep any archive of suspected artifacts separate from files that a maintainer might accidentally install during routine support or a future recovery exercise.
Frequently Asked Questions
Does this mean GitHub itself was compromised?
Apiiro described abuse of repository access and history in the observed campaign, which is not a finding that GitHub’s underlying platform was breached.
Is a date in the commit history enough to check exposure?
Compare it with independent push or release records, because the date shown by a commit does not establish when someone introduced that content.
Should I run the old project to see whether it is compromised?
Do not run suspected content on a trusted machine, especially if you can answer the question with repository, release, and build records.
Why is changing a password not the whole job?
Check tokens, app permissions, integration identities, and released artifacts separately, because none of those is necessarily reversed by a password change.
Does restoring the branch remove already published packages?
No, consumers may still have the older release, so identify affected artifacts and give those users verified replacement instructions when appropriate.
Does reading a repository prove that my computer was infected?
Reading the page does not mean you executed its code, while building or running the affected source calls for a separate review.
The Bottom Line
Treat familiar commit wording as context rather than proof, and verify the revision you trust against a record independent of the current branch.
If the code was built or distributed, keep credentials and release recovery separate, then verify both before reopening the affected workflow.
Join the discussion
0 commentsShare your experience or ask a question about this article.
Discussion
Start the conversation
Have a question or something useful to share? Add the first comment.