Skip to navigation

Threat reportSupply ChainTL-2026-6483

LiteLLM Supply Chain Attack (TeamPCP) via Compromised Trivy Build — Malicious PyPI litellm 1.82.7/1.82.8 with SANDCLOCK Credential Stealer; 2,500+ Companies / 434,000 CI/CD Pipelines Potentially Exposed

criticalACTIVE

On 2026-03-24 threat actor TeamPCP published malicious litellm 1.82.7 and 1.82.8 to PyPI (available roughly 40 minutes per LiteLLM) after a prior compromise of the Trivy scanner exposed LiteLLM's publishing credentials. The payload (tracked by Google as SANDCLOCK) harvests cloud, Kubernetes, SSH, CI/CD and LLM API secrets; CloudSEK's 2,500+ companies / 434,000 pipelines figures are potential exposure, not confirmed compromise. First disclosed .

Key facts

IdentifiersTL-2026-6483
Also known asTeamPCP supply chain campaign, SANDCLOCK, LiteLLM PyPI compromise
SeverityCRITICAL
First disclosed
Affected productsBerriAI litellm (PyPI); Aqua Security Trivy / trivy-action / setup-trivy; Checkmarx kics-github-action / ast-github-action
Weaknesses (CWE)CWE-506
AttributionTeamPCP (medium confidence)
MalwarePython, cipherforce, vect
MITRE ATT&CK techniquesT1003.007 Proc Filesystem, T1027 Obfuscated Files or Information, T1036.005 Match Legitimate Resource Name or Location, T1059.006 Python, T1074.001 Local Data Staging, T1078.004 Cloud Accounts, T1195.002 Compromise Software Supply Chain, T1485 Data Destruction, T1543.002 Systemd Service, T1552.001 Credentials In Files, T1552.004 Private Keys, T1552.005 Cloud Instance Metadata API and 4 more in the attack flow
MotivationFINANCIAL
Target sectorstechnology, software-development, cloud, finance, ai-ml
Target regionsGlobal
Detection rules9 (1 shown free)
Sources11 cited sources

Detection coverage

As of 2026-11-19, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6483 across Splunk SPL, Microsoft KQL and Sigma, covering 29 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: TeamPCP LiteLLM Supply Chain - Malicious litellm 1.82.7/1.82.8 Install or litellm_init.pth Dropped (Exploitation)

Detects the initial-access artifacts of the TeamPCP / SANDCLOCK PyPI compromise (TL-2026-6483): installation of the malicious litellm 1.82.7 or 1.82.8 releases and the litellm_init.pth file that litellm 1.82.8 writes to site-packages, which executes on every Python interpreter start without importing LiteLLM. Uses Linux auditd PATH/EXECVE records; any hit means the host or CI runner must be isolated and every reachable credential rotated.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1195.002, T1059.006
  • Data sources: linux_auditd, edr_file_events, edr_process_events
  • Severity: critical
  • Confidence: high

Splunk SPL

index=linux sourcetype=linux:audit (type=PATH OR type=EXECVE) ("litellm_init.pth" OR "litellm==1.82.7" OR "litellm==1.82.8" OR "litellm-1.82.7" OR "litellm-1.82.8")
| eval indicator=case(like(_raw,"%litellm_init.pth%"),"pth_dropper_file",like(_raw,"%1.82.7%"),"malicious_litellm_1.82.7",like(_raw,"%1.82.8%"),"malicious_litellm_1.82.8",true(),"other")
| stats count earliest(_time) as first_seen latest(_time) as last_seen values(indicator) as indicators values(name) as paths by host
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

let lookback = 7d;
union
(DeviceFileEvents
 | where Timestamp > ago(lookback)
 | where ActionType in ("FileCreated", "FileModified", "FileRenamed")
 | where FileName =~ "litellm_init.pth"
 | project Timestamp, DeviceName, Indicator = "litellm_init.pth written to site-packages", Detail = FolderPath, Actor = InitiatingProcessCommandLine, Account = InitiatingProcessAccountName),
(DeviceProcessEvents
 | where Timestamp > ago(lookback)
 | where ProcessCommandLine has "litellm"
 | where ProcessCommandLine contains "litellm==1.82.7" or ProcessCommandLine contains "litellm==1.82.8"
 | project Timestamp, DeviceName, Indicator = "malicious litellm release requested", Detail = ProcessCommandLine, Actor = InitiatingProcessCommandLine, Account = AccountName)
| order by Timestamp desc

Sigma

title: Malicious LiteLLM litellm_init.pth Written to site-packages (TeamPCP)
id: 5b0f3a7e-2c1d-4e8a-9f64-7a1d2c3b4e51
status: experimental
description: Detects creation of litellm_init.pth, the .pth file dropped by the malicious litellm 1.82.8 PyPI release (TeamPCP / SANDCLOCK) that executes on every Python interpreter startup.
references:
  - https://docs.litellm.ai/blog/security-update-march-2026
  - https://research.jfrog.com/post/litellm-compromised-teampcp/
  - https://unit42.paloaltonetworks.com/teampcp-supply-chain-attacks/
author: Threadlinqs Team
date: 2026/11/19
tags:
  - attack.initial-access
  - attack.t1195.002
  - attack.execution
  - attack.t1059.006
logsource:
  product: linux
  category: file_event
detection:
  selection:
    TargetFilename|endswith: '/litellm_init.pth'
  condition: selection
falsepositives:
  - Security researchers or malware analysts unpacking the malicious package in a sandbox
level: critical

Known false positives:

  • Incident responders or analysts deliberately extracting the malicious litellm wheel in a lab or sandbox
  • Vulnerability scanners or SBOM tools that log the string litellm==1.82.7 or 1.82.8 while inspecting lockfiles

Tuning notes: Requires auditd watches on Python site-packages directories (for example auditctl -w /usr/lib/python3 -p wa -k pth_write) so PATH records are produced. Exclude known analysis sandboxes by host. Extend the version list if LiteLLM publishes additional bad releases; v1.82.6 and earlier and v1.83.0 are clean.

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 Interpreter Executing Double-Base64 Decoded Payload - SANDCLOCK Loader (Exploitation) · unlock with TL Creds
  • Privileged node-setup-* Pods Created in kube-system - TeamPCP Kubernetes Node Backdooring (Lateral Movement) · unlock with TL Creds
  • Execution of [indicator] Second-Stage Payload or Children of sysmon.py Backdoor (C2 Tasking) · unlock with TL Creds
  • TeamPCP Exfiltration Archive [indicator] or docs-tpcp GitHub Fallback Repository Command Line (Exfiltration) · unlock with TL Creds
  • Python Process Mass-Reading Credential and Secret Files - SANDCLOCK Credential Harvesting (Post-Exploitation) · unlock with TL Creds
  • DNS to Cloudflare Quick Tunnel or Internet Computer Canister - TeamPCP Alternate Exfiltration and Dead-Drop C2 (C2) · unlock with TL Creds
  • TeamPCP sysmon.service Masquerading Persistence and [indicator] Second-Stage Artifacts (Post-Exploitation) · unlock with TL Creds
  • TeamPCP Typosquat C2 and Exfiltration Infrastructure Contact (C2 / Exfiltration) · unlock with TL Creds

Indicators of compromise

As of 2026-11-19, Threadlinqs Intelligence tracks 29 indicators of compromise for TL-2026-6483.

Sample indicators (3 of 29)

  • IP address: 45.148.10[.]212
  • Domain: models[.]litellm[.]cloud
  • File hash: 0880819ef821cff918960a39c1c1aada55a5593c61c608ea9215da858a86e349

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

29 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

TeamPCP (aliases PCPcat, ShellForce, DeadCatx3) is a financially motivated group active since at least September 2025 that pivoted from ransomware/cryptomining to CI/CD supply-chain compromise in March 2026. After a minor breach of the Aqua Security Trivy repository in late February 2026 and incomplete credential rotation, the actor compromised the aqua-bot account on 2026-03-19 and force-pushed malicious code to Trivy and trivy-action tags (malicious Trivy v0.69.4; last known-good v0.69.3). LiteLLM's CI installed Trivy unpinned from apt, so the poisoned scanner exposed LiteLLM's PyPI publishing credentials. LiteLLM's own advisory states it cannot confirm the mechanism (possible maintainer account compromise linked to the Trivy incident) and that the attacker appears to have bypassed official CI/CD and uploaded directly to PyPI.

litellm 1.82.7 carries a base64-encoded payload in proxy_server.py; 1.82.8 additionally drops litellm_init.pth into site-packages, which executes on every Python interpreter startup without importing LiteLLM (and therefore bypasses install-script controls). Per LiteLLM the packages became available 2026-03-24 10:39 UTC and were quarantined about 40 minutes later (Snyk reports roughly three hours; sources differ). The multi-stage payload (double base64 to evade static analysis) (1) bootstraps a decoded Python subprocess, (2) harvests system recon data, SSH keys/configs, Git credentials, AWS (including IMDSv2 role credentials, Secrets Manager/SSM), GCP and Azure credentials, Kubernetes configs/service-account tokens and secrets across all namespaces, Docker registry creds, .env and database credential files, CI/CD and IaC configs, TLS private keys, .npmrc/.netrc/.vault-token, shell histories, WireGuard configs, LLM API keys and crypto wallets, and (3) installs a persistent backdoor ~/.config/sysmon/sysmon.py with a user systemd unit sysmon.service ('System Telemetry Service') that waits 300 seconds and then polls the C2 roughly every 3000 seconds, downloading and running arbitrary second-stage binaries (staged at /tmp/pglog, state in /tmp/.pg_state).

Data is archived, encrypted with AES-256-CBC using a random session key that is wrapped with a hard-coded RSA-4096 (OAEP) public key, and POSTed over HTTPS with the filename header tpcp.tar.gz to the typosquatted domain models.litellm.cloud (not affiliated with LiteLLM). Related TeamPCP waves used checkmarx.zone and scan.aquasecurtiy.org, and a fallback of creating a public GitHub repository (docs-tpcp / tpcp-docs/docs-tpcp) in the victim's account using the stolen GITHUB_TOKEN to hold exfiltrated data as a release asset. When a Kubernetes service-account token is present, the malware enumerates all nodes and deploys privileged node-setup-* pods in kube-system that mount the host filesystem and chroot to install the backdoor on each node. The same campaign included the CanisterWorm wiper (kube.py), observed 2026-03-23 targeting Iran, which bricks Kubernetes clusters via privileged DaemonSets.

Scope: LiteLLM states the official ghcr.io/berriai/litellm Docker image, LiteLLM Cloud, v1.82.6 and earlier, and GitHub-source installs were not affected. CloudSEK (2026-08-11) estimates 2,500+ companies and 434,000 CI/CD pipelines potentially exposed; this is exposure modelling, not confirmed compromise. The FBI issued FLASH-20260702-01 warning that harvested credentials may be weaponized later, and Sophos/Unit 42 report TeamPCP partnering with Vect and CipherForce ransomware/extortion operations. Clean release v1.83.0 was published 2026-03-30 through a new CI/CD v2 pipeline. The FBI FLASH text and BeaconBeagle data could not be retrieved during this research (403/404).

MITRE ATT&CK techniques by tactic:

Credential Access

T1003.007 Proc Filesystem; T1552.001 Credentials In Files; T1552.004 Private Keys; T1552.005 Cloud Instance Metadata API

Defense Evasion

T1027 Obfuscated Files or Information; T1036.005 Match Legitimate Resource Name or Location

Execution

T1059.006 Python

Collection

T1074.001 Local Data Staging

Initial Access

T1078.004 Cloud Accounts; T1195.002 Compromise Software Supply Chain

Impact

T1485 Data Destruction

Persistence

T1543.002 Systemd Service

Exfiltration

T1567.001 Exfiltration to Code Repository

Command and Control

T1573.002 Asymmetric Cryptography

Privilege Escalation

T1611 Escape to Host

Discovery

T1613 Container and Resource Discovery

Remediation

Patches

  • Use litellm v1.82.6 or earlier (audited from v1.78.0) or clean release v1.83.0
  • Trivy v0.69.3 or earlier; trivy-action 0.35.0; setup-trivy 0.2.6; checkmarx kics-github-action v2.1.20 or newer

Immediate actions

  • Identify any host, CI runner, image or cache that installed litellm 1.82.7 or 1.82.8 (24 Mar 2026 window) and isolate it
  • Search site-packages for litellm_init.pth and ~/.config/sysmon/sysmon.py, sysmon.service, /tmp/pglog, /tmp/.pg_state
  • Rotate every credential reachable by affected processes: cloud keys, Kubernetes tokens, SSH keys, GitHub/GitLab tokens, npm/PyPI/registry tokens, database passwords, LLM API keys
  • Block models.litellm.cloud, checkmarx.zone and scan.aquasecurtiy.org at DNS and egress
  • Hunt for node-setup-* pods in kube-system and unexpected public GitHub repos named docs-tpcp / tpcp-docs/docs-tpcp

Workarounds

  • Rebuild affected environments from known-clean sources rather than cleaning in place
  • Verify Docker image signatures with cosign (from v1.83.0-nightly)

Longer-term hardening

  • Pin dependencies and GitHub Actions to verified hashes/commit SHAs; do not install scanners unpinned from apt
  • Shorten credential lifetimes and scope; prefer workload identity/OIDC over static keys
  • Monitor CI/CD runtime behaviour and egress; use trusted publishing for PyPI
  • Inventory AI assets and gateway/API-key exposure

Affected and fixed versions

  • BerriAI — litellm (PyPI)
    Vulnerable versions: 1.82.7; 1.82.8
    Fixed in: 1.82.6 and earlier (if not upgraded in window); 1.83.0
  • Aqua Security — Trivy / trivy-action / setup-trivy
    Vulnerable versions: Trivy v0.69.4; malicious trivy-action and setup-trivy tags (2026-03-19)
    Fixed in: Trivy v0.69.3 and earlier; trivy-action 0.35.0; setup-trivy 0.2.6
  • Checkmarx — kics-github-action / ast-github-action
    Vulnerable versions: 35 force-pushed version tags (March 2026)
    Fixed in: kics-github-action v2.1.20 or newer

Timeline

  • TeamPCP compromises the aqua-bot account and force-pushes malicious code to Trivy (v0.69.4) and trivy-action tags, following a minor late-February breach and incomplete credential rotation.
  • CanisterWorm wiper (locked-ioc-26) observed targeting Iran; Checkmarx KICS/AST GitHub Action tags force-pushed to malicious commits (CSA reports 23 Mar, Unit 42 reports 21 Mar).
  • LiteLLM publishes its security incident post and GitHub issue; packages removed and users told to rotate secrets and look for locked-ioc-12.
  • Malicious litellm 1.82.7 and 1.82.8 become available on PyPI at 10:39 UTC; quarantined roughly 40 minutes later per LiteLLM (Snyk reports ~3 hours).
  • LiteLLM adds the domain locked-ioc-13 to its indicators of compromise.
  • TeamPCP Telnyx wave (versions 4.87.1 and 4.87.2); LiteLLM publishes verified safe versions with SHA-256 checksums.
  • LiteLLM publishes clean release v1.83.0 through its new CI/CD v2 pipeline.
  • Palo Alto Unit 42 publishes its TeamPCP supply chain campaign analysis with IOCs.
  • FBI issues FLASH-20260702-01 warning that credentials harvested by TeamPCP may be weaponized later; Sophos reports TeamPCP and Vect ransomware partnership.
  • CloudSEK publishes its analysis estimating 2,500+ companies and 434,000 CI/CD pipelines potentially exposed.

Sources cited

More from TeamPCP

Previous and next in supply chain

Further reading

Drafted by the Threadlinqs research pipeline from 11 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