# Elementary-data PyPi package (v0.23.3 & latest tag) compromised

**URL:** <https://ifin.network/t/elementary-data-pypi-package-v0-23-3-latest-tag-compromised/329>\
**Category:** Threat Intel\
**Tags:** supplychain, hunt, pypi, python\
**Created:** [April 27, 2026, 6:19pm UTC](https://ifin.network/t/elementary-data-pypi-package-v0-23-3-latest-tag-compromised/329 "2026-04-27T18:19:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![don](https://ifin.network/letter_avatar_proxy/v4/letter/d/ed655f/32.png) [@don](https://ifin.network/u/don)\
**Post date:** [April 27, 2026, 6:19pm UTC](https://ifin.network/t/elementary-data-pypi-package-v0-23-3-latest-tag-compromised/329/1 "2026-04-27T18:19:04Z")

</div>

The `elementary-data` PyPi package and associated GHCR container image were compromised by an unknown threat actor. Version 0.23.3 of the package is malicious, and the `latest` tag of the container image was redirected to point at a malicious commit, along with a newly added malicious 0.23.3 tag.

## Technical Details

The compromise originated from a GitHub Actions script injection vulnerability in a workflow that improperly handled untrusted input from pull request comments. An attacker exploited this flaw to execute arbitrary commands within the CI pipeline, gaining access to the repository’s `GITHUB_TOKEN`. This allowed them to forge a signed commit and trigger the legitimate release pipeline, publishing elementary-data v0.23.3 to PyPI and corresponding container images to GHCR - without modifying the main branch or submitting a pull request.

The malicious package included a `.pth` file (`elementary.pth`) that executes automatically on Python interpreter startup. This file deployed a three-stage credential harvesting payload, leveraging layered obfuscation (base64 + XOR/MD5) to evade detection. The final payload collected sensitive data from local files and live cloud APIs, including SSH keys, cloud credentials (AWS, GCP, Azure), Kubernetes secrets, developer tokens, and crypto wallets. The data was compressed and exfiltrated via HTTP POST to a remote command-and-control (C2) domain. The same payload was embedded in the compromised GHCR container image, including the `:latest` tag—impacting environments using unpinned images.

## Affected Products

- elementary-data (PyPI)

- Container Images (GHCR)

**Indicators of Compromise (IOCs)**

Package: elementary-data==0.23.3  
Container Image [Package elementary · GitHub](http://ghcr.io/elementary-data/elementary:0.23.3) (Trojanized image)  
Container Image [Package elementary · GitHub](http://ghcr.io/elementary-data/elementary:latest) (Malicious during exposure window)  
Image Digest: sha256:31ecc5939de6d24cf60c50d4ca26cf7a8c322db82a8ce4bd122ebd89cf634255; multi-arch linux/amd64 + linux/arm64) Compromised multi-arch image  
File: elementary.pth (Malicious execution file (~245KB base64 payload))  
Git Commit: b1e4b1f3aad0d489ab0e9208031c67402bbb8480 (Forged release commit)  
C2 Domain: igotnofriendsonlineorirl-imgonnakmslmao.skyhanni.cloud (Data exfiltration endpoint)  
Header: X-Rise-To-The-Trinny: agree (Exfiltration header)  
Archive: trin.tar.gz (Exfiltrated data bundle)  
Temp File: $TMPDIR/.trinny-security-update (Persistence marker)  
GitHub Actor: realtungtungtungsahur (Malicious account)

Source: [elementary-data Compromised on PyPI and GHCR: Forged Release Pushed via GitHub Actions Script Injection - StepSecurity](https://www.stepsecurity.io/blog/elementary-data-compromised-on-pypi-and-ghcr-forged-release-pushed-via-github-actions-script-injection)

---

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [April 27, 2026, 6:22pm UTC](https://ifin.network/t/elementary-data-pypi-package-v0-23-3-latest-tag-compromised/329/2 "2026-04-27T18:22:49Z")

</div>

What is the source for this information? I don’t see a reference.

---

<div class="post-metadata">

**Author:** ![chilly](https://ifin.network/user_avatar/ifin.network/chilly/32/114_2.png) [@chilly](https://ifin.network/u/chilly)\
**Post date:** [April 27, 2026, 7:14pm UTC](https://ifin.network/t/elementary-data-pypi-package-v0-23-3-latest-tag-compromised/329/3 "2026-04-27T19:14:18Z")

</div>

Found one here

> **[elementary-data Compromised on PyPI and GHCR: Forged Release Pushed via...](https://www.stepsecurity.io/blog/elementary-data-compromised-on-pypi-and-ghcr-forged-release-pushed-via-github-actions-script-injection)**
>
> A malicious version of elementary-data (0.23.3) was published to PyPI and is, at the time of writing, still listed as the latest release. The same release run also pushed a multi-arch container image to GitHub Container Registry at...
