Repository navigation
security: remove malicious telemetry loader and payload - #1183
Merged
Merged
Conversation
A malicious commit (065ee8e, "Revert 'Implemented weekend discount'", authored-dated 2025-08-24) hid a supply-chain worm in core/telemetry/. It was publicly reported on 2026-06-08 and is removed here on 2026-06-11. Removed: - core/telemetry/_runtime.bin — obfuscated Bun-compiled JS payload - core/telemetry/_hooks.py — loader that auto-ran on import, silently downloaded the Bun runtime, and executed the payload in the background - the _setup_reporting block in core/telemetry/__init__.py that auto-started the loader on import The payload is a Shai-Hulud-class credential stealer (harvests cloud/AWS keys, GitHub/npm tokens, SSH keys, and can self-propagate). Anyone who ran GPT Pilot from source between ~2025-08-24 and 2026-06-11 should rotate the credentials present on that machine. A security notice was added to the top of the README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Merged
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes a supply-chain worm that was hidden in this repository, and adds a security notice to the top of the README.
A malicious commit (
065ee8eb, "Revert 'Implemented weekend discount'", authored-dated 2025-08-24) added a hidden credential-stealing worm undercore/telemetry/. It was publicly reported on 2026-06-08 by an external security researcher. This PR removes it.What was removed
core/telemetry/_runtime.bin— 758 KB obfuscated Bun-compiled JavaScript payload (a Shai-Hulud-class credential stealer).core/telemetry/_hooks.py— the loader. It auto-ran onimport core.telemetry, silently downloaded the Bun runtime to a temp dir, and executed the payload in the background._setup_reportingblock incore/telemetry/__init__.py— the 9 injected lines that started the loader automatically on import.Verified that no other code references the removed files, and
core/telemetry/__init__.pystill parses cleanly after the edit.README
Adds a security notice at the very top with the timeline (introduced 2025-08-24, reported 2026-06-08, removed 2026-06-11), a plain explanation of what the worm did, and instructions for anyone who ran GPT Pilot from source in that window — rotate credentials and check for the indicators of compromise.
Important follow-ups (not in this PR)
maingoing forward, but does not purge it from git history — the payload is still reachable via the old commit SHA until history is rewritten (git filter-repo) and GitHub Support is asked to garbage-collect the blob.CODE20promo messages infrontend.py/spec_writer.py) were intentionally left as-is, since they are stale product messaging and not security-relevant.🤖 Generated with Claude Code