Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningcredential-stealer-activitydata-exfiltration-methodcloud-misconfiguration

Trojanized Xinference PyPI Releases Deployed a Multi-Stage Credential Stealer

Updated 2mo agoFirst seen Apr 23, 20267 sources

Three consecutive xinference releases on PyPI—2.6.0, 2.6.1, and 2.6.2—were compromised with malicious code injected into xinference/__init__.py, causing a payload to run on import before the packages were yanked by maintainers. Researchers said the trojanized package launched a detached Python subprocess that decoded and executed a multi-stage stealer, with later versions refining the injection to make it less obvious while preserving the same second-stage collector. JFrog and StepSecurity linked the activity to the broader TeamPCP campaign based on payload structure, actor markers, and tradecraft, though JFrog noted the group publicly denied involvement and claimed a copycat reused its name and tooling.

The malware harvested SSH keys, cloud credentials, Kubernetes tokens, package manager secrets, environment files, TLS keys, developer secrets, and cryptocurrency wallets, and included AWS-focused logic to query instance metadata and enumerate secrets-related services. Stolen data was archived as love.tar.gz and exfiltrated to whereisitat.lucyatemysuperbox.space using a POST request with the custom header X-QT-SR: 14; StepSecurity said its Harden-Runner blocked the outbound transfer in testing. Security firms advised organizations to treat any host that installed or imported the affected versions as fully compromised, rotate all accessible credentials, audit logs for misuse, and rebuild impacted environments from a trusted baseline.

Share:
Trojanized Xinference PyPI Releases Deployed a Multi-Stage Credential Stealer
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

8 events from the most recent confirmed update back to the earliest known activity.

8 EVENTS
Apr 28, 20262mo ago

Gurucul publishes IOCs and detection guidance for malicious xinference releases

Gurucul released additional technical details on the xinference PyPI compromise, including SHA-256 hashes and detection queries to help defenders identify affected systems and related activity. The report also emphasized theft of SSH keys, API tokens, cloud credentials, and cryptocurrency wallet data from versions 2.6.0, 2.6.1, and 2.6.2.

Xinference PyPI Supply Chain Attack: Credential Theft, Cloud Abuse, and Crypto Wallet Targeting | Community Portal | Gurucul
Apr 23, 20262mo ago

Further reporting warns js-logger-pack 1.1.27 compromises hosts

Subsequent coverage highlighted that systems executing js-logger-pack version 1.1.27 should be considered fully compromised until persistence is removed and secrets are rotated. The reporting reiterated that the package abused Hugging Face both as a malware CDN and as an exfiltration backend.

Apr 22, 20262mo ago

TeamPCP publicly denies involvement in xinference compromise

An update in JFrog's reporting said TeamPCP publicly denied responsibility for the xinference attack and claimed a copycat used its name and payload. This introduced uncertainty into the initial attribution.

JFrog and StepSecurity publish analyses linking xinference attack to TeamPCP or copycat

On the same day the malicious xinference releases were disclosed, JFrog and StepSecurity published technical analyses of the compromise. Both linked the activity to the broader TeamPCP campaign based on payload overlaps, while noting the possibility that the actor was a copycat rather than TeamPCP itself.

Maintainers yank compromised xinference releases from PyPI

After the malicious behavior was identified, the xinference maintainers removed versions 2.6.0, 2.6.1, and 2.6.2 from PyPI. Security researchers advised treating any host that installed or imported those versions as compromised and rotating exposed secrets.

Trojanized xinference 2.6.0, 2.6.1, and 2.6.2 released on PyPI

Three consecutive xinference releases published on PyPI on April 22, 2026 contained malicious code injected into xinference/__init__.py that executed on import. The payload harvested credentials and sensitive files, then exfiltrated them to whereisitat.lucyatemysuperbox.space as love.tar.gz using a custom X-QT-SR: 14 header.

Apr 19, 20262mo ago

JFrog details js-logger-pack using Hugging Face for payload hosting and exfiltration

JFrog reported that malicious js-logger-pack versions, including 1.1.27, downloaded cross-platform implant binaries from the attacker-controlled Hugging Face repository Lordplay/system-releases. The implant established persistence, communicated with C2 at 195.201.194.107:8010, and exfiltrated stolen data into private Hugging Face datasets controlled by the attacker.

Malicious js-logger-pack versions tracked as MAL-2026-2827

SafeDep and OSV previously tracked malicious npm package activity involving js-logger-pack as MAL-2026-2827 before JFrog published its deeper technical analysis. The campaign involved trojanized package versions that acted as a supply-chain dropper.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

31 LINKEDOpen in app
Threat actors
1 linked
Affected products
12 linked
NpmWindowsPowershellHarden RunnerLinuxLitellmHarden RunnerMacosTelegram DesktopTrivyTrivyTelnyx
Organizations
15 linked
JfrogGuruculHugging FaceHetznerTelnyxAmazon Web ServicesLinkedinNSFOCUSXOx SecurityStepSecuritySafeDepPolymarketGoogleXorbits
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.