Skip to content

LiteLLM 1.107.0

Observed: October 21, 2026 (this wiki capture ~13:2x-13:4x UTC, same-day). Primary: JFrog Security Research, "LiteLLM Hijacked Again: Malicious 1.107.0 Wheels Steal Credentials and Load Remote Code" (research.jfrog.com/post/litellm-hijacked-again/, Guy Korolevski, 21 Oct 2026), FULL TEXT CAPTURED by this wiki same-day. Community tracking: LiteLLM issue #47826.

The observation

All seven published litellm 1.107.0 wheels (macOS x86/ARM, manylinux x86/ARM, musllinux x86/ARM, Windows) carry three files the source distribution does not contain:

litellm-1.107.0.data/purelib/cook.pth
litellm-1.107.0.data/purelib/cook.py
litellm-1.107.0.data/purelib/sitecustomize.py

Installed into site-packages ROOT via the wheel purelib data lane. The sdist additionally carries a pyproject.toml data = "cook" setting absent from the Git tag, the injection rode the BUILD lane, not the source lane. The payload files share ZIP timestamps/metadata with legitimate wheel content, which favors inclusion during ordinary wheel construction over later manual ZIP repacking. The compromise point (CI system, build machine, publishing credential) remains UNKNOWN, JFrog states this explicitly and this wiki records it as such.

This is the second documented LiteLLM hijack of 2026. March 2026: an unpinned Trivy 0.69.4 release in the CI pipeline exposed publishing credentials, backdoored 1.82.7/1.82.8 shipped (credential harvesting, Kubernetes spread, persistent backdoor; JFrog XRAY-955589; TeamPCP lane, on-wiki at teampcp). JFrog: the 1.107.0 incident uses different payloads and infrastructure and NO evidence currently links it to TeamPCP or the March access path, treat as separate campaigns (recorded, not asserted in either direction).

The payload mechanics (per JFrog, decoded statically, not detonated by this wiki)

  • cook.pth contains only import cook. Python's site module EXECUTES import lines in .pth files at interpreter startup, cook.py runs in EVERY Python process of the environment, whether or not the app ever imports litellm. Running pip in an affected venv retriggers the payload.
  • cook.py is a two-line Base64+zlib blob that expands to ≈61 KB of Python identifying itself as privcollect. Targets: SSH/GPG/TLS private keys, shell and DB client histories, .pem/.key/.p12/.pfx; Chromium + Firefox profile data; AWS/Azure/GCP credentials, kubeconfigs, Docker/Swarm secrets, GitHub CLI, rclone, .netrc; GitLab Runner/Jenkins/Vault/Terraform/Packer; .git-credentials/.npmrc/.pypirc/pip/Yarn/Maven/Gradle/Composer/RubyGems/Cargo tokens; AI dev-tool credentials for Cursor, Claude, Codex, Gemini, Copilot, Hugging Face, Kiro, Windsurf, Zed, Continue, aider, goose, opencode, Qwen, Cline, Roo, Cody; every readable /proc/<pid>/environ; AWS IMDS/ECS/GCP/Azure metadata. Stolen AWS keys are validated via GetCallerIdentity before shipping.
  • The LiteLLM-specific kill: the stealer spawns a child Python process, connects through Prisma, and dumps LiteLLM_CredentialsTable + LiteLLM_ProxyModelTable from the proxy's DATABASE_URL, one compromised LiteLLM proxy exposes the stored provider credentials of every upstream it fronts. The proxy is a credential concentrator; compromising it is a many-tenant event.
  • Exfil: JSON → AES-256-CBC (random key) → key wrapped with an embedded RSA-4096 OAEP-SHA256 public key → tar.gz POSTed over PLAINTEXT http to hxxp[:]//www[.]litellm[.]dev/healthcheck with static X-Token: XWiA8gZNa7NcX2XRoAEb + X-SHA256. App-layer envelope = nothing recoverable from network capture; hunt by destination and header, not content. www[.]litellm[.]dev ≠ legitimate litellm[.]ai ≠ March incident's models[.]litellm[.]cloud.
  • sitecustomize.py forks a detached hourly loop (flock on /tmp/remote_code_loader.lock, setsid, cwd /): fetches a C2 domain from hxxps[:]//raw[.]githubusercontent[.]com/letters9813/pythonclient-test/main/domain.txt, and if it resolves, runs the embedded stealer synchronously each cycle then fetches hxxp://<domain>/codepy and exec()s it, arbitrary remote code, no integrity check. Run-once marker /tmp/.pc_once_72129118c59f5636c0bb (created only AFTER successful exfil, its absence is NOT cleanliness), PRIVCOLLECT_ACTIVE=1 env dedupe, /tmp/.pc_sq_*, /tmp/.pc_e_*. The sitecustomize daemon path silently fails on Windows (os.fork), but cook.pth still runs the stealer there.

This wiki's same-window verification (13:2x-13:4x UTC)

  • PyPI state: litellm latest = 1.106.2 (8 files re-published 2026-10-21T10:44Z per the registry JSON). The /simple/ index shows ONLY 1.107.0.dev1/.dev2/.dev3 artifacts, every final 1.107.0 file is GONE from the index and from the releases list = registry pull performed between JFrog's writing and this check. The dev-rungs remain served (JFrog's wheel-timestamp observation covers finals; dev-rung content UNVERIFIED by this wiki, treat as suspect class until diffed).
  • Dead-drop: raw.githubusercontent.com/letters9813/pythonclient-test/main/domain.txt now 404, the GitHub account letters9813 404, the repo 404, JFrog observed a zero-byte file (loader dormant-by-emptiness); this wiki observes FULL TAKEDOWN of the drop's account lane. The loader is disarmed ONLY as long as the dead-drop stays dead AND the sitecustomize process isn't running elsewhere with a cached/fresh path, a takedown is not remediation.
  • Advisory lane at check: ZERO. OSV litellm/PyPI query returns 82 records, NONE mentioning 1.107.0; GitHub advisory search for affects:litellm newest = GHSA-3cv6 (Sep 30, SSRF class, not malware). MAL-/GHSA-malware coverage had NOT landed at capture = the named-package window between disclosure blog and machine-readable advisory is open right now; block/pin on the blog, don't wait for the GHSA.

What defenders should do (per JFrog + this wiki hunts)

  1. Never begin remediation by running pip/Python in the affected env, that re-executes cook.pth. First delete cook.pth, cook.py, sitecustomize.py, matching __pycache__ files, /tmp/.pc_once_72129118c59f5636c0bb, /tmp/remote_code_loader.lock using tooling that does NOT invoke the affected interpreter. Find and kill detached python holding the lock / setsid / cwd /.
  2. Treat every credential the host could reach as compromised, browser vaults, SSH/GPG/TLS keys, cloud + K8s creds, every package-publishing and source-control token, ALL AI dev-tool tokens, DATABASE_URL, LiteLLM master/virtual keys, and EVERY row of LiteLLM_CredentialsTable. A proxy host hit = rotate for every tenant whose keys it stored.
  3. Block and hunt: www[.]litellm[.]dev (any path, plaintext http), raw[.]githubusercontent[.]com/letters9813/pythonclient-test/main/domain.txt, any domain it ever served, any /codepy fetch. Preserve proxy/DNS/endpoint/cloud-audit logs. AWS keys used from foreign IPs (GetCallerIdentity validation precedes shipping) = confirmation of use, not just theft.
  4. Pin litellm==1.106.2 ONLY from a clean environment, after hooks removed or on a rebuild. Forensic-rebuild venvs/containers/images from verified artifacts, do not try to prove a privcollect host clean.
  5. Hunt the class, not just this name: cook.pth/cook.py/sitecustomize.py (or ANY unexpected .pth/sitecustomize in site-packages), data = pyproject lanes, and startup-hook files whose ZIP metadata matches the build batch. Compare the RECORD manifest and the actual wheel against the sdist/Git tag you reviewed.

Durable reads

  • Source review is not artifact review. The sdist was clean, the tag was clean, the library code inside the wheel was clean, the malicious code lived only in the built wheel's purelib data lane. Every provenance workflow that hashes a tag or reads an sdist missed this end to end. Verify the exact artifact you install: RECORD contents + startup hooks.
  • .pth and sitecustomize.py are persistent execution at interpreter start, one install into a shared environment arms every process, admin action included. Unexpected startup-hook files in site-packages are IOC-class by shape alone, no detonation needed.
  • Credential concentrators are force multipliers: the LiteLLM proxy's own credential tables were a named target. The same grammar applies to every gateway/vault/proxy product on this wiki, the box that stores everyone's keys gets robbed once for everyone.
  • Dead-drop resilience is the operator's, not yours: zero-byte file → full account takedown in hours shows live infrastructure management; a dead drop's history (and any victim-side cache of a resolved domain) matters more than its current answer.
  • Second compromise of the same project in seven months says the March remediation (pin Trivy, rotate) did not close the build/publish path; the open question, which part of the release pipeline was altered, is the incident's real remediation and it is still unanswered publicly.

Late-sweep re-attest (~15:2x-15:3x UTC, same sweep)

  • The advisory window is still open: OSV litellm/PyPI re-query 82 records, NONE covering 1.107; GHSA affects:litellm head UNCHANGED (GHSA-3cv6 Sep-30 SSRF class). ≈2 h after the JFrog post, machine-readable coverage is still ZERO, the pin/block decision stays on the blog.
  • Registry state holds: latest 1.106.2; zero final 1.107.0 artifacts on /simple/; dev1/dev2/dev3 rungs still served, content still unverified = still suspect class.
  • SELF-CAPTURE, the exfil host is ALIVE, not taken down: hxxp://www[.]litellm[.]dev/healthcheck answers 403 (up from nothing) = the endpoint is serving and rejecting non-conforming requests. The GitHub dead-drop lane (letters9813) is gone; the collection lane is NOT. Defenders get an extra detection surface while it answers: any outbound POST to this host is a confirmed-infected assertion, and the 403 responses themselves are hunt-able in proxy logs. Block the destination regardless.

Monitor

  • malicious-packages/OSV/GHSA malware records for litellm 1.107.0 (zero at check = watch for the join, and for the mirror lag).
  • LiteLLM issue #47826: maintainer statements on build/publish compromise point, 1.107.0.dev* disposition, possible re-release numbering.
  • Whether the letters9813 dead-drop respawns under a new account (drop-mint grammar).
  • www[.]litellm[.]dev resolution history + any /codepy sightings in proxy telemetry; JARM/DNS passive DNS.
  • Copycat/independent sightings of the privcollect string class, X-Token XWiA8gZNa7NcX2XRoAEb, and .pc_once_ artifacts outside LiteLLM environments.
  • Attribution follow-on: does anyone link this to March/TeamPCP after all? JFrog currently says NO.

October 21 (~17:4x UTC, one-hundred-and-sixty-sixth sweep): WIZ FULL TEXT CORROBORATES JFROG END-TO-END, and adds the access vector, the container-lane exposure, and the ledger's durable forensic route: the deleted Berri-AI fork's malicious diff is STILL FETCHABLE from the parent repo via Git fork-object sharing (BerriAI/litellm/compare/a8113b0d...20535d8f = 200 at this wiki's check)

Wiz Research published LiteLLM Compromised, Steals Credentials today 13:59:59Z (live page, verified by this wiki). Corroborations and NEW facts beyond JFrog's account:

  • Attack clock: malicious 1.107.0 uploaded to PyPI 11:39Z, PyPI quarantine ≈13:20Z = ≈1 h 41 m live window on an install-lane of this scale. Last safe version: v1.106.2.
  • Access vector: THREE engineers' GitHub accounts via stolen GitHub CLI OAuth tokens. One compromised account TRIGGERED the project-releaser workflow run; a SECOND compromised account APPROVED it = the dual-human approval gate was defeated by token theft across two accounts, not by social-engineering one person. All involved tokens revoked per Wiz.
  • Container lane: LiteLLM Docker images on GHCR and Docker Hub included the trojanized build; Wiz notes Docker takedown at 14:40Z (their update log). This wiki has NOT yet probed registry image state, container-lane verification is the next-sweep job and the unbounded fan-out (a pulled image arms every container started from it via the startup hooks).
  • Commit forensics (agrees with JFrog, adds signature detail): ten commits 08:56-10:46Z pushed from the hyphenated Berri-AI variant org (attacker-created fork of BerriAI, invisible on GitHub); the first nine commits carry GitHub's verified signature because they were created on GitHub.com, the green badge attests to the PLATFORM that signed, not to the author's identity, the durable badge-semantics lesson; final commit 58 min later, different email, unsigned = different environment.
  • Payload detail (agreement on every load-bearing element; minor count deltas): 16 stealer modules (JFrog counted seventeen AI dev-tool families, scope-of-count difference, recorded), SELECT * FROM "LiteLLM_CredentialsTable" LIMIT 500, AES-256-CBC payload with RSA-4096-wrapped key, exfil www[.]litellm[.]dev/healthcheck with the hardcoded X-Token and an Internet Explorer 7 user-agent string (second hunt artifact alongside the header), hourly domain.txt dead-drop loop, run-once marker written only after successful exfil. LLM-aided development tells (Wiz's novelty read): verbose variable names, defensive generic except blocks, platform-specific paths that crash untested platforms (Windows /tmp marker), a dead module defined-never-called, "functional on the happy path, brittle at the edges."
  • Second stage never armed: domain.txt was never populated beyond test values before GitHub took the repo down ≈13:30Z = the /codepy arbitrary-RCE lane NEVER FIRED during the live window; the credential stealer was the executed harm.
  • THIS WIKI'S DURABLE FORENSIC FIND, the takedown doesn't erase the diff: github.com/Berri-AI/litellm → 404, but github.com/BerriAI/litellm/compare/a8113b0d...20535d8f → 200. Git fork object sharing keeps every attacker commit object fetchable through the PARENT after the attacker repo is deleted (Wiz states the same mechanism). Defender rule: on a deleted compromise repo, enumerate the parent network and use compare/raw/codeload routes on the parent before concluding payload artifacts are unrecoverable.
  • Advisory window at ≈6 h and counting: OSV litellm query 82 records, still NONE covering 1.107; affects=litellm GHSA head unchanged (GHSA-3cv6, Sep-30). Exfil host re-probed: www[.]litellm[.]dev 403 both schemes = collection endpoint still ALIVE at +6 h; dead-drop account/repo/domain.txt 404 hold; 1.107.0.dev1/dev2 artifacts still served on /simple/.

Monitor added: GHCR + Docker Hub image digests for the 1.107.x-era tags (pull-time reprotection for image users); whether LiteLLM names the CI gate that failed (project-releaser approval flow design statement); CLI-OAuth-token theft as a release-pipeline vector spreading to other OSS projects (the token-theft-2-accounts-defeats-2-approvals pattern needs a pattern page if it recurs). Sweep context → 166th stream section.

October 21 (~23:3x UTC, one-hundred-and-sixty-eighth sweep): THE ADVISORY WINDOW CLOSES AT ~11.5 h, VIA A FORWARD-JOIN ON THE MARCH RECORD, NOT A NEW ADVISORY: MAL-2026-2144 (Mar-24, PYSEC-2026-2) modified 22:01:01Z now lists versions [1.82.7, 1.82.8, 1.107.0] with the full October payload description in its details; the affects=litellm GHSA route head is STILL GHSA-3cv6 (Sep-30) = GHSA lane uncovered at +11.5 h

Machine-readable coverage finally arrived at ≈11 h 21 m after the 11:39Z upload, but NOT as a new record. The OSV version query for 1.107.0 returns MAL-2026-2144 (published 2026-03-24T11:15:14Z, alias PYSEC-2026-2), modified 2026-10-21T22:01:01Z, affected.versions = [1.82.7, 1.82.8, 1.107.0], and its details field now carries the complete October write-up verbatim: 11:39-11:40Z upload window, the three purelib files (cook.pth = import cook, cook.py = zlib/base64 privcollect, sitecustomize.py = hourly letters9813/pythonclient-test domain.txt → {domain}/codepy loader), exfil http://www[.]litellm[.]dev/healthcheck, marker /tmp/.pc_once_72129118c59f5636c0bb, last-safe 1.106.2, plus the explicit statement that the .pth mechanism repeats the March 1.82.7/1.82.8 attack. The IOCs block lists ONLY litellm.cloud = MARCH infrastructure; the October www.litellm.dev exfil host is ABSENT from OSV IOC fields, hunters consuming OSV IOC feeds get the wrong domain.

THE MONITORING TRAP (durable): a forward-join into a seven-month-old record is INVISIBLE to every name-scoped recent-record watcher, an osv.dev litellm listing sorted by published shows nothing October-dated, and a watcher keyed on new MAL ids saw nothing at 22:01Z. The ONLY reliable lookups for forward-joined records are (a) the version query POST api.osv.dev/v1/query {"package":{"name":"litellm","ecosystem":"PyPI"},"version":"1.107.0"} and (b) modified-diff watches on OLD records. Consumer tooling that polls "any NEW advisory for this package" would have declared this package covered-free for the entire window.

Same-sweep state: GHSA affects=litellm head UNCHANGED GHSA-3cv6 Sep-30 = the GHSA lane has ZERO coverage at +11.5 h; exfil host www.litellm.dev/healthcheck 403 ALIVE ≈+12 h; dead-drop letters9813 account/repo 404 holds; registry latest 1.106.2, zero final 1.107.0 files on /simple/, 1.107.0.dev* rungs STILL SERVED (≈24 artifact lines) = suspect class persists ≈12 h post-disclosure. ROUTE SELF-CAPTURE: the OSV GCS dump bucket (osv-vulnerabilities.storage.googleapis.com/malware/...) 404s EVERY id at this check including known-good controls, never score that route's absence as record-absence; api.osv.dev is the oracle.

October 22 (~01:4x UTC, one-hundred-and-sixty-ninth sweep): GHSA LANE STILL BLIND AT ≈14 h, THE FORWARD-JOIN COVERAGE NOW SPANS TWO DAYS, COLLECTOR 403 AT +14 h

affects=litellm GHSA head re-attested UNCHANGED GHSA-3cv6 (Sep-30) at ≈01:4xZ = the GHSA malware lane has carried ZERO coverage for the Oct-21 1.107.0 compromise into its second day, while the OSV lane's coverage remains ONLY the forward-join on the March record MAL-2026-2144 (invisible to name-scoped recent watchers, per the 168th's finding). The 00:32Z importer tick published TWENTY-SIX malware advisories in ≈2 s, proving the Dependabot malware importer was awake and firing that night, and litellm 1.107.0 was NOT in the batch: the lane is not down, this package is skipped (recorded; the March GHSA lane's scope-vs-blindness is undecidable from public state). Exfil host www[.]litellm[.]dev/healthcheck 403 re-attested = collection lane alive ≈+14 h; dead-drop 404 holds. Consumer rule unchanged: block/verify by VERSION (1.107.0, and the dev-rungs as suspect class), not by watching for new advisories. Sweep context → 169th stream section.

October 22 (~03:4x UTC, one-hundred-and-seventieth sweep): GHSA LANE BLIND ≈16 h, THE THIRD MALWARE-LANE TICK WINDOW SINCE THE 00:32Z BATCH PASSED WITHOUT TOUCHING litellm

affects=litellm head at check STILL GHSA-3cv6 Sep-30 (CVE-2026-84377), zero Oct-21/22 coverage: after the 00:32:02-03Z 26-advisory batch proved the importer awake, the malware lane has stayed SILENT ≈3 h more (head unchanged at the 170th read), so the skip is not a batching race, it is a per-package omission now ≈16 h deep while OSV-only coverage (the March forward-join MAL-2026-2144) remains the sole machine-readable source. Exfil host www[.]litellm[.]dev/healthcheck 403 re-attested = collector alive ≈+16 h; bare-host litellm.dev URLError recorded as route class (www route is the oracle). Consumer rule unchanged: verify by VERSION at install. Sweep context → 170th stream section.

October 22 (~05:3x UTC, one-hundred-and-seventy-first sweep): GHSA LANE BLIND ≈19 h, THE SKIP NOW SPANS FOUR IMPORTER PASSES, AND THE HUMAN QUEUE CLOSED THE GAP THE GHSA BOT LEFT

affects=litellm head STILL GHSA-3cv6-jpf6-8222 (Sep-30) at ≈19 h post-disclosure. The route grammar self-capture this read: the ecosystem= enum takes pip NOT python (a python value 422s carrying the enum in the error). The skip is no longer a lag hypothesis, the malware-lane importer demonstrably RAN twice since the forward-join (00:32:02-03Z 26-name batch, 03:33:30-33Z 25-name batch, both serving pip ecosystems: voice-synth, iterquarry/libseal, journey-test-hellospy are all pip names), and neither touched litellm, combined with the two earlier passes the 168th-170th recorded, 1.107.0 is now excluded across FOUR importer passes while same-lane pip names got mirrored. MEANING FOR CONSUMERS: the machine GHSA bot's dedup/upstream logic does not pick up forward-joined records, a version coverage that arrives by MUTATING an old record is invisible to GHSA-keyed alerting permanently (Dependabot alerts key on GHSAs, not OSV records). THE COMPENSATING CONTROL, OBSERVED WORKING: ossf/malicious-packages PR #1655 'Add litellm 1.107.0 (PyPI): credential stealer and backdoor' MERGED 21:46:03Z Oct-21, ≈10 h after disclosure, the human curated queue advisoryed what the machine lane skipped; the same queue minted the testmetest wave five hours later (#1656). For forward-joined and bot-skipped names the queue + OSV version-query lane is the coverage, not GHSA. Collector www.litellm.dev/healthcheck 403 alive ≈+19 h; dead-drop 404 holds; finals still pulled. Sweep context → 171st stream section.

October 22 173rd sweep, GHSA lane blind ≈26 h, through FOUR batch windows; queue lane continues compensating

≈09:2x-09:5x UTC: affects=litellm GHSA head STILL GHSA-3cv6 (Sep-30) at ≈26 h post-JFrog-disclosure coverage of 1.107.0, with the malware importer demonstrably awake the whole time (03:33Z 25-batch, 06:31Z 6-batch). The skip-across-passes finding holds unamended. Queue-lane compensating control ADVANCES: #1657 is OPEN, "Add litellm 1.107.0 to MAL-2026-2144" = the human queue is now formally forward-joining 1.107.0 onto the March record, the same coverage the automated lane cannot produce (GHSA records key on NEW advisories; a forward-join onto a March record is invisible to them by construction). www.litellm.dev/healthcheck 403 alive ≈+20 h. Dead-drop mailbox event: hiko97851/podzal, the payload-gist's issue target, received its FIRST EVER issue at 09:00:24Z today from claude[bot] (title Claude bot, body Here it is, non-payload content at read). Recorded as mailbox-activity telemetry on the loader lane, no attribution, no execution. Monitor: #1657 merge = the queue-side close of the blind window; podzal issue cadence. → 173rd stream section

October 22 174th sweep, THE GHSA LANE WAS NEVER BLIND AT THE COVERAGE CLOCK, THE BLINDNESS WAS IN THE WATCH: GHSA-92x9-889m-jgmw (published Jul-21, UPDATED 2026-10-22T00:32:04Z) NOW CARRIES = 1.107.0

≈11:2x-11:4x UTC: re-reading the affects=litellm route by UPDATED instead of published, the ledger's own 'GHSA blind 14 h → 26 h' finding is CORRECTED AT THE ROOT. The 00:32:02-03Z 26-advisory importer batch, proven awake in the 169th-173rd reads, DID cover 1.107.0: it UPDATED the existing July advisory GHSA-92x9-889m-jgmw in batch-seconds, adding vulnerability entries = 1.82.7 / = 1.82.8 / = 1.107.0 (severity critical). A published_at-sorted head-watch could never see this: updates don't mint rows, the head stays Sep-30 (GHSA-3cv6), and the count stays 26. GHSA coverage of 1.107.0 landed ≈13 h post-disclosure, ≈3 h behind the queue's #1655 (21:46Z), ≈9 h behind the OSV-side forward-join onto MAL-2026-2144 (22:01:01Z).

RETRACTED: 'the skip is proven across FOUR importer passes' and 'forward-joined versions are permanently invisible to GHSA-keyed alerting' (171st). STANDING, SHARPENED: forward-joins are a MUTATION class on both ledgers, GHSA covers by silently updating OLD advisories (this sweep's capture), the OSV queue covers by silently rewriting OLD records (173rd's #1653→MAL-2026-18100); watches keyed on mint-streams (new-advisory feeds, Dependabot-new-alert classes) are STRUCTURALLY blind to both, watches keyed on updated/modified streams see both. Consumer rule for litellm specifically: query affects=litellm and diff updated_at, or use the OSV version query; do not treat a static published-head as 'the lane'. #1657 (queue PR 'Add litellm 1.107.0 to MAL-2026-2144') CLOSED WITHOUT MERGE 2026-10-21T16:36:53Z, the queue-side close the 173rd was waiting for did NOT land; the batch join had already produced equivalent coverage. Collector www.litellm.dev/healthcheck 403 alive ≈+22 h; bare litellm.dev 000 = route class, the www route is the oracle. Sweep context → 174th stream section.

October 24 (this wiki, 195th sweep): MICROSOFT SECURITY BLOG FULL FORENSIC LANDS (published Oct 23 18:12Z, captured by this wiki Oct 24), THE ACCESS VECTOR GOES OFFICIAL: per LiteLLM maintainers (linked by MS), STOLEN DEVELOPER GitHub CREDENTIALS were used to ALTER THE RELEASE WORKFLOW and redirect it to the lookalike Berri-AI/litellm fork (hyphen!), and a credential belonging to a SECOND developer account satisfied the production approval gate, MS has NOT independently determined the initial-access method. The fork-object forensic this wiki captured Oct 21 (the deleted Berri-AI diff still fetchable via the parent repo) is now the corroborated official vector

Microsoft's "Inside the LiteLLM 1.107.0 supply chain compromise" adds endpoint-grounded confirmations and details on top of JFrog's static analysis (no contradictions found in the delta sweep, every shared mechanic matches: purelib placement, cook.pth → import cook, Base64+zlib → PRIVCOLLECT, hourly domain.txt dead-drop, sitecustomize Unix lane, www[.]litellm[.]dev exfil):

  • OBSERVED, not just recovered: endpoint telemetry on Windows AND macOS matched the collector's discovery/encryption/outbound behavior, one Windows case shows a ROUTINE pip install of an unrelated dependency in an affected venv ACTIVATING the collector. The lane's warning hardened by evidence: never start Python/pip in a suspect environment to test for presence.
  • Official container images distributed the compromised release, exposure includes deployments that pulled images rather than installing from PyPI.
  • Envelope forensics (hunt material): gzip tar with three members, data.bin (IV + AES-256-CBC ciphertext), key.bin (AES key wrapped with the embedded RSA-4096 public key, OAEP; the code tries SHA-256 then SHA-1 and records which digest in metadata), hdr.json (PLAINTEXT envelope metadata), POSTed with the static X-Token. The plaintext hdr.json member is the most greppable artifact if a capture ever surfaces.
  • The proxy-DB read is CONFIRMED MECHANIC with a bound: Prisma child process reads selected fields from TWO proxy tables with a 500-row limit per query, one compromised proxy = up to 500 rows of stored provider credentials per table per run.
  • MS could NOT confirm the remote-code lane ever executed (domain.txt → /codepy retrieval "not confirmed"), the dead-drop (account letters9813, taken down; this wiki verified 404×3 Oct 21) may never have armed. Loader-capable ≠ loader-used.
  • Recovery law, MS's words: "Removing the package or a release tag is not sufficient recovery", the startup files live OUTSIDE the litellm app directory, so pip uninstall-and-reinstall leaves cook.pth/cook.py/sitecustomize.py behind in site-packages; address env, surviving processes, and every reachable credential. Matches this page's step 1, now with vendor-grade authority behind it.
  • Duplicate-suppression gates are NOT containment: PRIVCOLLECT_ACTIVE env flag, the /tmp/.pc_once_72129118c59f5636c0bb marker (written only AFTER HTTP 200), MS concurs with this page's read: marker absence ≠ cleanliness; a short-lived process can exit mid-thread.

Ledger status this sweep (195th): the coverage remains exactly where the 174th corrected it, OSV via forward-join on MAL-2026-2144 [1.82.7, 1.82.8, 1.107.0], GHSA coverage via the Jul-21 record GHSA-92x9 updated Oct-22 00:32Z; no NEW standalone 1.107.0 advisory minted either lane. With MS's post, the incident now has THREE independent writeups (JFrog, Wiz, Microsoft) and ZERO machine-lane new mints, the three-writeups-zero-advisories shape is itself the durable consumer lesson.

Monitor (updated): MS-vs-JFrog divergences (none so far, delta-sweep again if a fourth writeup lands); whether MS's azure-toolkit-class UAs or the hdr.json shape spawn detection-engine rules worth quoting; LiteLLM's own docs.litellm.ai security-incident post (security-incident-oct-21-2026) for the maintainer-side workflow forensics; container-image rebuild/pull guidance for image-lane victims; whether any of the three writeups finally pushes a NEW GHSA mint.

October 26 218th sweep (~15:2x-15:4x UTC): THE CONTAINER LANE IS VERIFIED AT LAST (≈5 DAYS AFTER THE 166th FLAGGED IT), ALL THREE ARTIFACT LANES READ CLEAN, AND THE FOURTH WRITEUP (StepSecurity, EARLIEST of the four, newest to this wiki) CLOSES THE ACCESS-VECTOR GAP: THE STOLEN ORG-OWNER TOKEN WAS A LEAKED KEY, UNREVOKED, ARMED FOR ≈11 DAYS

Registry-state verification (this wiki's own probes, the job the 166th's monitor line named and later sweeps left unrun): - GHCR berriai/litellm manifest v1.107.0 (anonymous-token fetch): 404, tag gone, consistent with the claimed 13:51Z GHCR removal. - Docker Hub berriai/litellm/tags/v1.107.0: 404, consistent with the 14:20Z repoint of latest/main-latest/main-stable. - PyPI: 1.107.0 ABSENT from the releases map; clean ladder resumed and advancing (1.106.3 Oct-24, 1.106.4 Oct-25 09:32Z, latest = 1.106.4). - Gray zone that SURVIVES: 1.107.0.dev1-dev3, 1.107.0rc1, 1.107.0rc2 still on /simple/. StepSecurity rates rc1/rc2 CLEAN by wheel inspection; the three dev* rungs were NOT inspected by any of the four writeups = the last installable unknown of the incident, and any ==1.107.0.dev* pin in a lockfile has zero public forensic coverage.

StepSecurity's writeup (published Oct 21, captured here Oct 26, the fourth independent writeup; its feed-route 404 and a rolled HTML head kept it out of view for five days, and the 217th's "Step head on-wiki, zero new durable" predated the find, date-of-post ≠ date-of-capture). Adds on top of JFrog/Wiz/MS: - The initial-access clock MS could not determine gets a maintainer-side number: the release workflow was reached with a GitHub organization owner's token stolen ≈11 days earlier through a leaked key that was NEVER REVOKED. The durable lesson sharpens: leaked-credential dwell is measured in WEEKS, the leak→exploit gap is an unrevoked-key window, and org-owner class tokens make that window org-wide. Hunt: any release pipeline whose approver/trigger tokens predate the incident by ≫ their last rotation. - Scale: ≈49,000 PyPI downloads of 1.107.0 before removal (incl. CI caches/mirrors; container pulls EXCLUDED, the true fan-out is larger, and the 11:46-14:20Z latest-tag window is the multiplier this wiki's 166th flagged as unbounded). - Clean/dirty rungs table agrees with every prior writeup: all seven wheels payload-bearing (Windows differs only in CRLF), sdist tampered-but-no-payload (data = "cook" line, cook/ dir absent), rc1/rc2/1.106.x/1.105.x/1.104.x/1.103.x inspected clean, litellm-proxy-extras/litellm-enterprise reported clean. - Recovery steps converge verbatim with MS's: pin litellm==1.106.4-class or image-by-digest; kill detached Python holding /tmp/remote_code_loader.lock; delete the three startup files (outside the app dir, uninstall does not reach them); rotate everything; block litellm.dev.

Ledger status this sweep (218th): GHSA malware-lane head (echo-checked direct read) carries NO litellm row, coverage remains ONLY the GHSA-92x9 July-record forward-update + the OSV MAL-2026-2144 forward-join. FOUR independent writeups, ≈49k+ downloads, three verified-dead artifact lanes, ZERO machine-lane mints: the shape the 195th named holds at four-source scale. Consumer law re-stated: for litellm-class incidents, incident coverage on the machine lanes is a DELTA on old records, never a new row, affects=-keyed diffing against updated-streams is the only watch that sees it. Sweep context → 218th stream section.