Skip to navigation

Threat reportSupply ChainTL-2026-6865

LLM Supply Chain Attacks (OWASP LLM04:2026): Malicious Models, Poisoned Packages and Compromised AI Tooling

highACTIVE

Third-party models, adapters, packages, scanners and serving tools are being compromised to reach AI applications through trusted components. Documented 2026 incidents include the TeamPCP PyPI campaign (litellm 1.82.7/1.82.8, telnyx 4.87.1/4.87.2), the fake OpenAI repo Open-OSS/privacy-filter on Hugging Face (about 244,000 downloads, Windows infostealer) and the malicious litellm 1.107.0 release (PyPI and Docker, 2026-10-21). First disclosed .

Key facts

IdentifiersTL-2026-6865, CVE-2025-10155, CVE-2025-10156, CVE-2025-10157, CVE-2025-32434, CVE-2024-23496, CVE-2024-37032, CVE-2023-48022, CVE-2024-0132
Also known asOWASP LLM04:2026, TeamPCP campaign, Open-OSS/privacy-filter, litellm 1.107.0 compromise
SeverityHIGH
First disclosed
EPSSCVE-2024-37032: 89.6% (99.7th percentile); CVE-2023-48022: 83.9% (99.6th percentile); CVE-2024-0132: 4.3% (92.0th percentile)
Affected productsBerriAI litellm (PyPI and Docker); Telnyx telnyx (PyPI); Aqua Security Trivy and GitHub Actions (trivy, trivy-action, setup-trivy); Hugging Face Model hub repositories (Open-OSS/privacy-filter, anthfu/*, baller423/goober2, star23/baller13); mmaitre314 PickleScan; PyTorch torch (torch.load weights_only)
Weaknesses (CWE)CWE-502, CWE-506, CWE-829, CWE-22
AttributionTeamPCP (medium confidence)
MITRE ATT&CK / ATLAS techniquesAML.T0010 AI Supply Chain Compromise, T1036.005 Match Legitimate Resource Name or Location, T1053.005 Scheduled Task, T1059.001 PowerShell, T1059.006 Python, T1078.004 Cloud Accounts, T1102.001 Dead Drop Resolver, T1195.001 Compromise Software Dependencies and Development Tools, T1195.002 Compromise Software Supply Chain, T1204.002 Malicious File, T1485 Data Destruction, T1543.002 Systemd Service and 7 more in the attack flow
MotivationUNKNOWN
Target sectorstechnology, development, finance, cloud services, software development
Target regionsGlobal
Detection rules9 (1 shown free)
Sources16 cited sources

Detection coverage

As of 2026-11-25, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6865 across Splunk SPL, Microsoft KQL and Sigma, covering 30 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Malicious litellm/telnyx Package Install and Python Startup-Hook Drop - Exploitation

Behaviour-first detection of the TeamPCP and litellm 1.107.0 supply-chain compromises: pip/uv installing litellm 1.82.7, 1.82.8, 1.107.0 or telnyx 4.87.1/4.87.2, or the stealer's Python startup-hook files (litellm_init.pth, cook.pth, cook.py) being written into site-packages. The .pth files execute on every Python start, so a hit means credentials on the host are likely stolen.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1195.001, T1195.002, T1546.018, T1059.006
  • Data sources: sysmon (Windows EventCode 1/11), sysmon:linux, mde DeviceProcessEvents, mde DeviceFileEvents
  • Severity: critical
  • Confidence: high

Splunk SPL

index=sysmon (sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" OR sourcetype="sysmon:linux") earliest=-24h
  ((EventCode=1 CommandLine="*install*" (CommandLine="*litellm==1.82.7*" OR CommandLine="*litellm==1.82.8*" OR CommandLine="*litellm==1.107.0*" OR CommandLine="*telnyx==4.87.1*" OR CommandLine="*telnyx==4.87.2*"))
   OR (EventCode=11 (TargetFilename="*site-packages*litellm_init.pth" OR TargetFilename="*site-packages*cook.pth" OR TargetFilename="*site-packages*cook.py")))
| eval detection_stage=if(EventCode=1,"malicious_package_install","python_startup_hook_dropped")
| eval evidence=coalesce(CommandLine,TargetFilename)
| stats count min(_time) as first_seen max(_time) as last_seen values(detection_stage) as stages values(evidence) as evidence by host, User
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

let proc_hits = DeviceProcessEvents
| where Timestamp > ago(24h)
| where ProcessCommandLine has "install"
| where ProcessCommandLine matches regex @"(litellm==1\.(82\.7|82\.8|107\.0)|telnyx==4\.87\.[12])"
| project Timestamp, DeviceName, Account = AccountName, Stage = "malicious_package_install", Evidence = ProcessCommandLine, Parent = InitiatingProcessFileName;
let file_hits = DeviceFileEvents
| where Timestamp > ago(24h)
| where ActionType in ("FileCreated", "FileModified")
| where FolderPath contains "site-packages"
| where FileName in~ ("litellm_init.pth", "cook.pth", "cook.py")
| project Timestamp, DeviceName, Account = InitiatingProcessAccountName, Stage = "python_startup_hook_dropped", Evidence = FolderPath, Parent = InitiatingProcessFileName;
union proc_hits, file_hits
| order by Timestamp desc

Sigma

title: Malicious litellm or telnyx PyPI Release Installed (TeamPCP and litellm 1.107.0)
id: 7c2f1b9e-4d3a-4f6b-8a1e-2b5d9c0e1a11
status: experimental
description: Detects pip or uv installing the compromised litellm 1.82.7, 1.82.8, 1.107.0 or telnyx 4.87.1, 4.87.2 PyPI releases pinned by version (TL-2026-6865).
references:
    - https://securitylabs.datadoghq.com/articles/litellm-compromised-pypi-teampcp-supply-chain-campaign/
    - https://docs.litellm.ai/blog/security-incident-oct-21-2026
author: Threadlinqs Team
date: 2026-11-25
tags:
    - attack.initial_access
    - attack.t1195.001
    - attack.t1195.002
    - attack.persistence
    - attack.t1546.018
logsource:
    category: process_creation
detection:
    selection_install:
        CommandLine|contains: ' install'
    selection_pkg:
        CommandLine|contains:
            - 'litellm==1.82.7'
            - 'litellm==1.82.8'
            - 'litellm==1.107.0'
            - 'telnyx==4.87.1'
            - 'telnyx==4.87.2'
    condition: all of selection_*
falsepositives:
    - Incident-response or sandbox hosts deliberately installing the malicious version to analyse it
level: high

Known false positives:

  • Security researchers or sandbox hosts that deliberately install the malicious release for analysis
  • Package-mirror or SCA scanners that download and unpack the bad versions to inspect them

Tuning notes: Allowlist known malware-analysis hosts by host/User. Version pins only catch pinned installs; the file-drop branch (litellm_init.pth, cook.pth, cook.py in site-packages) catches unpinned installs. Add SHA256 hashes from research.json (cook.pth 7f191632..., cook.py 9dd0a392...) if file hashing is enabled. Re-point index/sourcetype to your EDR if Sysmon is not deployed.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Python Model Loader Spawning Hidden PowerShell / Dead-Drop Stage 2 - Exploitation · unlock with TL Creds
  • TeamPCP litellm Persistence: sysmon.service Unit, Staging Files and Startup-Folder RAT - Post-Exploitation · unlock with TL Creds
  • Stolen AWS Role Credentials: Attacker-IP Use and Bedrock/IAM Enumeration - C2 / Lateral Movement · unlock with TL Creds
  • Malicious Model Load: Python Reverse Shell / Payload-Host Connection - Exploitation · unlock with TL Creds
  • TeamPCP Kubernetes node-setup Privileged Pods and kamikaze Wiper - Post-Exploitation · unlock with TL Creds
  • Campaign C2/Exfil Domain Resolution and Python Dead-Drop Lookup - C2 · unlock with TL Creds
  • Fake Hugging Face Loader Stage 2: Defender Exclusion and Masquerading SYSTEM Task - Post-Exploitation · unlock with TL Creds
  • TeamPCP / litellm / Open-OSS Stealer C2, Exfiltration and Dead-Drop Web Traffic - C2 · unlock with TL Creds

Indicators of compromise

As of 2026-11-25, Threadlinqs Intelligence tracks 30 indicators of compromise for TL-2026-6865.

Sample indicators (3 of 30)

  • IP address: 210.117.212[.]93
  • Domain: models[.]litellm[.]cloud
  • URL: hxxps://raw[.]githubusercontent[.]com/letters9813/pythonclient-test/main/domain.txt

Defanged, TLP:CLEAR. Full set of 30 indicators: unlock with TL Creds.

30 indicators of compromise · unlock with TL Creds. Compare plans

Community OSINT corroboration

2 of this threat's indicators have also been reported by the open-source security community. Community sightings are unverified and are kept separate from Threadlinqs' curated indicators. Indicator values, reporters and campaign linkage are available to authenticated Red-tier users.

Technical analysis

OWASP LLM04:2026 (Supply Chain) covers compromise of any third-party component an LLM application depends on: pretrained models and adapters (LoRA), datasets, Python packages, model-serving software, model hubs, scanners and CI/CD pipelines. The Picus Security overview (2026-11-25, Umut Bayram) aggregates earlier incidents; this record follows each cited incident back to primary research from Datadog, Akamai, HiddenLayer, StepSecurity, JFrog and the LiteLLM project.

TeamPCP campaign (March 2026): Datadog and Akamai describe a chain that began with the Trivy project. A malicious trivy v0.69.4 was published on 2026-03-19, trivy-action and setup-trivy tags were force-pushed, and the malicious actions dumped Runner.Worker memory and exfiltrated secrets (scan.aquasecurtiy.org, with a public tpcp-docs repo as fallback). Credentials harvested from CI/CD were then reportedly used to publish litellm 1.82.7 and 1.82.8 to PyPI on 2026-03-24. 1.82.7 hid a base64 payload in litellm/proxy/proxy_server.py; 1.82.8 added litellm_init.pth, which runs on every Python start. The stealer collected environment variables, SSH keys, cloud credentials, Kubernetes data, Docker configs and CI/CD secrets, encrypted them (AES-256 session key wrapped with RSA-4096), and POSTed tpcp.tar.gz to models.litellm.cloud. It persisted as ~/.config/sysmon/sysmon.py with a sysmon.service user unit, polled https://checkmarx.zone/raw, and created privileged node-setup-* pods in Kubernetes. A March 22 Kubernetes script deployed a wiper container named kamikaze on hosts that appeared to be Iranian. On 2026-03-27 telnyx 4.87.1 and 4.87.2 were published; they run at import time, fetch ringtone.wav (Linux) or hangup.wav (Windows) from 83.142.209.203:8080, XOR-decode it, and on Windows drop a RAT (msbuild.exe in the Startup folder, process hollowing into dllhost.exe, shellcode hidden in a PNG, RC4 config). Researchers believe the telnyx PyPI token was taken from hosts that installed the malicious LiteLLM release.

Hugging Face model impersonation (May 2026): HiddenLayer reports that Open-OSS/privacy-filter copied OpenAI's Privacy Filter model card, reached the top of trending (about 244,000 downloads and 667 likes in roughly 18 hours; counts probably inflated) and told users to run start.bat or python loader.py. loader.py ran decoy code, disabled SSL verification, read a base64 URL pointing at a jsonkeeper.com dead drop, and ran the returned command in hidden PowerShell. That fetched update.bat from api.eth-fastscan.org, which added Microsoft Defender exclusions, downloaded a roughly 1.07 MB Rust infostealer, and launched it once as SYSTEM through a scheduled task named like MicrosoftEdgeUpdateTaskCore plus 8 random characters. The stealer harvests Chromium and Gecko credentials (including an App-Bound Encryption bypass), Discord data, crypto wallets, SSH/VPN/FTP files and screenshots, and POSTs to recargapopular.com. Six anthfu repos uploaded on 2026-04-24 carry a similar loader and the same dead-drop URL.

litellm 1.107.0 (2026-10-21): per the LiteLLM disclosure and StepSecurity, an Agent Platform master key committed to a public repo in May 2026 was used on 2026-10-10 to obtain a GitHub organization-owner token. The attacker exfiltrated CI secrets via throwaway ci-tmp-* branches (webhook.site), altered the private release workflow to build from a lookalike repository (Berri-AI/litellm), and published all seven PyPI wheels (live 11:39:51 to 13:23 UTC) and the v1.107.0 and floating Docker tags. Each wheel installed cook.pth, cook.py and sitecustomize.py: a 16-module credential stealer (cloud, browser, SSH/GPG, CI/CD, AI developer tools, LiteLLM database keys) posting to http://www.litellm.dev/healthcheck, plus an hourly loader that fetches a hostname from a GitHub dead drop and exec()s /codepy. The dead drop was empty at release, so no second stage was observed. Stolen AWS role credentials were used the same day for bedrock and IAM enumeration.

Model-file attacks and scanner bypasses: JFrog (2024-02-27) found Hugging Face PyTorch models using pickle __reduce__ to open reverse shells (baller423/goober2 to 210.117.212.93:4242; star23/baller13 to 136.243.156.120:53252). JFrog's PickleScan research (disclosed 2025-06-29, fixed in 0.0.31 on 2025-09-02) assigned CVE-2025-10155 (extension bypass), CVE-2025-10156 (ZIP CRC bypass) and CVE-2025-10157 (unsafe-globals subclass bypass). CVE-2025-32434 is a torch.load(weights_only=True) bypass affecting PyTorch 2.5.1 and earlier. Picus also cites ReversingLabs nullifAI (7z-packed models with a corrupted pickle), PoisonGPT, exposed Hugging Face tokens, namespace reuse (Unit 42), SFconvertbot, GGUF and LoRA manipulation, slopsquatting, torchtriton dependency confusion, the ultralytics PyPI compromise, and serving-stack flaws (CVE-2024-37032 Ollama, CVE-2023-48022 Ray, CVE-2024-0132 NVIDIA Container Toolkit, CVE-2024-23496 GGUF parser).

Note: the Picus article is a vendor educational overview. Incident details here were checked against the primary sources named above; no single CVSS score applies to the topic as a whole.

MITRE ATT&CK / ATLAS techniques by tactic:

Initial Access

AML.T0010 AI Supply Chain Compromise; T1078.004 Cloud Accounts; T1195.001 Compromise Software Dependencies and Development Tools; T1195.002 Compromise Software Supply Chain

Defense Evasion

T1036.005 Match Legitimate Resource Name or Location

Persistence

T1053.005 Scheduled Task; T1543.002 Systemd Service; T1546.018 Python Startup Hooks

Execution

T1059.001 PowerShell; T1059.006 Python; T1204.002 Malicious File; T1610 Deploy Container

Command and Control

T1102.001 Dead Drop Resolver

Impact

T1485 Data Destruction

Credential Access

T1552.001 Credentials In Files; T1552.005 Cloud Instance Metadata API; T1555.003 Credentials from Web Browsers

Privilege Escalation

T1611 Escape to Host

defense-impairment

T1685 Disable or Modify Tools

Remediation

Patches

  • Upgrade PickleScan to 0.0.31 or later (CVE-2025-10155, CVE-2025-10156, CVE-2025-10157)
  • Upgrade PyTorch beyond 2.5.1 (CVE-2025-32434) and apply vendor fixes for CVE-2024-37032 (Ollama), CVE-2023-48022 (Ray mitigations), CVE-2024-0132 (NVIDIA Container Toolkit) and CVE-2024-23496
  • Use a clean litellm release (1.106.x or earlier per StepSecurity/LiteLLM guidance); 1.107.0 will be skipped permanently

Immediate actions

  • Treat any host or container that installed litellm 1.82.7, 1.82.8 or 1.107.0, or telnyx 4.87.1/4.87.2, as compromised: rotate all reachable credentials (cloud and instance roles, SSH/GPG keys, CI/CD secrets, LiteLLM provider keys, DATABASE_URL) from a clean machine
  • For litellm 1.107.0, stop the detached loader daemon (lock /tmp/remote_code_loader.lock) before running pip or python, then delete cook.pth, cook.py and sitecustomize.py and rebuild venvs and images from scratch
  • Reimage Windows hosts that ran Open-OSS/privacy-filter start.bat or loader.py; reset browser, Discord, SSH/FTP credentials and move crypto assets to a new wallet
  • Block and hunt for models.litellm.cloud, checkmarx.zone, litellm.dev, api.eth-fastscan.org, recargapopular.com and the listed IPs; treat any request to /codepy as evidence of second-stage execution
  • Check CloudTrail for GetCallerIdentity and Bedrock/IAM enumeration from instance roles around install time, and for use of role credentials from outside your infrastructure

Workarounds

  • Do not rely on a single model scanner; remove any model whose scan fails or errors
  • Restrict egress from build, notebook and model-serving hosts and require authentication on Ray, Ollama and model-serving endpoints

Longer-term hardening

  • Pin dependencies by hash and container images by digest; use an internal package mirror with a cooldown on new releases
  • Prefer safetensors over pickle-based model formats; load untrusted models only in sandboxes and avoid torch.load on untrusted files
  • Adopt PyPI Trusted Publishing, short-lived CI tokens and mandatory multi-party release approval; never commit service keys to repositories
  • Maintain an ML-BOM / AI-BOM for models, adapters, datasets and serving tools, and verify model provenance and publisher namespaces before use

Affected and fixed versions

  • BerriAI — litellm (PyPI and Docker)
    Vulnerable versions: 1.82.7; 1.82.8; 1.107.0
    Fixed in: 1.106.x or earlier clean releases
  • Telnyx — telnyx (PyPI)
    Vulnerable versions: 4.87.1; 4.87.2
    Fixed in: releases published after removal of 4.87.1/4.87.2
  • Aqua Security — Trivy and GitHub Actions (trivy, trivy-action, setup-trivy)
    Vulnerable versions: trivy 0.69.4; 0.69.5; 0.69.6 (Docker images per Datadog); setup-trivy 0.2.0-0.2.6
  • Hugging Face — Model hub repositories (Open-OSS/privacy-filter, anthfu/*, baller423/goober2, star23/baller13)
    Vulnerable versions: repositories listed in IOCs
    Fixed in: repositories disabled or removed by Hugging Face
  • mmaitre314 — PickleScan
    Vulnerable versions: versions before 0.0.31
    Fixed in: 0.0.31
  • PyTorch — torch (torch.load weights_only)
    Vulnerable versions: 2.5.1 and earlier
    Fixed in: later releases per GHSA-53q9-r3pm-6pq6

Timeline

  • Malicious torchtriton package on PyPI was pulled in by PyTorch-nightly installs on Linux between Dec 25 and Dec 30, 2022, stealing system info, environment variables and SSH keys (cited by Picus).
  • JFrog publishes research on malicious Hugging Face PyTorch models using pickle __reduce__ reverse shells (baller423/goober2 to locked-ioc-20:4242; star23/baller13 to locked-ioc-18:53252).
  • PickleScan 0.0.31 fixes the three JFrog-reported bypasses (CVE-2025-10155, CVE-2025-10156, CVE-2025-10157), reported to maintainers on 2025-06-29.
  • TeamPCP publishes malicious trivy v0.69.4 and force-pushes trivy-action and setup-trivy tags; CI secrets are exfiltrated to locked-ioc-12.
  • Malicious litellm 1.82.7 and 1.82.8 published to PyPI with a credential stealer (locked-ioc-17 in 1.82.8); PyPI later quarantines the project.
  • Malicious telnyx 4.87.1 and 4.87.2 published to PyPI; stagers fetch WAV payloads from locked-ioc-21:8080 and are removed within hours.
  • Six anthfu Hugging Face repos uploaded with a similar loader.py and the same locked-ioc-23 dead-drop URL.
  • HiddenLayer reports Open-OSS/privacy-filter, a fake OpenAI Privacy Filter repo with about 244,000 downloads whose loader.py delivers a Rust infostealer on Windows; Hugging Face disables the repo.
  • LiteLLM Agent Platform master key committed in opencode.json to a public repository and never revoked.
  • Attacker uses the leaked key from locked-ioc-25 and obtains a GitHub organization-owner OAuth token; CI secrets are then exfiltrated via ci-tmp-* branches.
  • Malicious litellm 1.107.0 published to PyPI (live 11:39 to 13:23 UTC) and to official Docker tags; stolen AWS role credentials are used later that day for Bedrock and IAM enumeration.
  • LiteLLM publishes the canonical attack-chain report and rotates its cosign key; clean releases resume Oct 24.
  • Picus Security publishes its OWASP LLM04:2026 overview of LLM supply chain attacks.

Sources cited

Showing 15 of 16 sources, primary sources first.

More from TeamPCP

Further reading

Drafted by the Threadlinqs research pipeline from 16 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats