GHSA-93qj-5q5v-3c2h: Pantheon agents Trojanized Pantheon-agents 0.6.1 And 0.6.2 Vulnerability

CRITICAL
CWE-522 CWE-506
Published
Advisory Summary

GHSA-93qj-5q5v-3c2h is a CRITICAL trojanized pantheon-agents 0.6.1 and 0.6.2 vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Pantheon agents libraries in the PyPI ecosystem. The issue involves trojanized pantheon-agents 0.6.1 and 0.6.2 on pypi ship a credential stealer (supply-chain account compromise). Remediation is available by upgrading affected packages to version 0.6.4.

GHSA-93qj-5q5v-3c2h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-93qj-5q5v-3c2h
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Pantheon agents
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-93qj-5q5v-3c2h

To remediate this vulnerability, upgrade all affected Pantheon agents dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pantheon-agents fixed: 0.6.4
pip install pantheon-agents>=0.6.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show pantheon-agents

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-93qj-5q5v-3c2h, inspect your installed packages using pip:

pip show pantheon-agents

Analyze the terminal output to locate any version of Pantheon agents in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.4), your application is affected.

Note: The pip show pantheon-agents command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Pantheon agents, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary The PyPI account that publishes `pantheon-agents` was compromised in the June 2026 "Hades" PyPI supply-chain attack (Mini Shai-Hulud / Miasma lineage). The attacker used a stolen, long-lived PyPI API token to upload **trojanized releases `pantheon-agents` 0.6.1 and 0.6.2 directly to PyPI**. **Only the PyPI artifacts are affected.** The GitHub source repository, its git tags, and all other distribution channels are clean — no malicious code was committed to the repository. ## Affected - `pantheon-agents` **0.6.1** and **0.6.2** on PyPI. Not affected: installs from the GitHub source, version 0.6.0 and earlier, and the Desktop / Online apps. ## Indicators of compromise The malicious wheels ship a `*-setup.pth` file that executes on Python startup. It downloads the Bun JavaScript runtime and runs an obfuscated credential stealer (`_index.js`) that harvests and exfiltrates credentials reachable from the host — environment variables, `~/.pypirc`, `~/.npmrc`, cloud credentials (`~/.aws`, etc.), SSH keys, and API tokens. Check your environment's `site-packages` for an unexpected `*-setup.pth`, and your home directory for `_index.js` or a Bun runtime (`~/.bun`). ## Impact Anyone who `pip install`ed `pantheon-agents` 0.6.1 or 0.6.2 should assume **every credential present on that machine has been exfiltrated.** ## Remediation 1. **Do not install `pantheon-agents` from PyPI** until distribution resumes. 2. If you installed 0.6.1 or 0.6.2: - Run `pip uninstall pantheon-agents` immediately and check for the IoCs above. - **Rotate every credential** that was present on that machine (API keys, tokens, SSH keys, cloud credentials). 3. Install only from the clean GitHub source: ``` pip install "git+https://github.com/aristoteleo/PantheonOS.git" ``` ## Status The PyPI account is suspended and the malicious token has been disabled. PyPI distribution will resume after account recovery and migration to PyPI Trusted Publishing (OIDC). Sibling projects by the same maintainer (e.g. executor-engine, funcdesc, cmd2func, pantheon-toolsets, coolbox, ufish, magique, executor-http) were hit by the same campaign and are being remediated separately.

GHSA-93qj-5q5v-3c2h Affected Pantheon agents Versions

1 component(s)
Fixed Versions:
0.6.4
Product / Package Ecosystem Affected Versions Fixed Version
pantheon-agents
PyPI
≥ 0.6.1
< 0.6.4
0.6.4

References

Frequently Asked Questions

What is GHSA-93qj-5q5v-3c2h?
GHSA-93qj-5q5v-3c2h is a security vulnerability in Pantheon agents involving Trojanized pantheon-agents 0.6.1 and 0.6.2 on PyPI ship a credential stealer (supply-chain account compromise) under CWE-522: Insufficiently Protected Credentials.
Which Pantheon agents versions are affected?
Affected versions include releases prior to 0.6.4 across affected packages: pantheon-agents.
What version fixes GHSA-93qj-5q5v-3c2h?
Upgrading to 0.6.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pantheon-agents affected?
Yes, pantheon-agents is affected in releases prior to 0.6.4. Upgrade your dependency to 0.6.4 or later.
What CWE is associated with GHSA-93qj-5q5v-3c2h?
GHSA-93qj-5q5v-3c2h is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check PyPI dependencies for GHSA-93qj-5q5v-3c2h?
Run the dependency tree command: 'pip show pantheon-agents'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-93qj-5q5v-3c2h",
  "modified" : "2026-08-26T14:36:45Z",
  "published" : "2026-08-26T14:36:45Z",
  "aliases" : [ ],
  "summary" : "Trojanized pantheon-agents 0.6.1 and 0.6.2 on PyPI ship a credential stealer (supply-chain account compromise)",
  "details" : "## Summary\nThe PyPI account that publishes `pantheon-agents` was compromised in the June 2026 \"Hades\" PyPI supply-chain attack (Mini Shai-Hulud / Miasma lineage). The attacker used a stolen, long-lived PyPI API token to upload **trojanized releases `pantheon-agents` 0.6.1 and 0.6.2 directly to PyPI**.\n\n**Only the PyPI artifacts are affected.** The GitHub source repository, its git tags, and all other distribution channels are clean — no malicious code was committed to the repository.\n\n## Affected\n- `pantheon-agents` **0.6.1** and **0.6.2** on PyPI.\n\nNot affected: installs from the GitHub source, version 0.6.0 and earlier, and the Desktop / Online apps.\n\n## Indicators of compromise\nThe malicious wheels ship a `*-setup.pth` file that executes on Python startup. It downloads the Bun JavaScript runtime and runs an obfuscated credential stealer (`_index.js`) that harvests and exfiltrates credentials reachable from the host — environment variables, `~/.pypirc`, `~/.npmrc`, cloud credentials (`~/.aws`, etc.), SSH keys, and API tokens.\n\nCheck your environment's `site-packages` for an unexpected `*-setup.pth`, and your home directory for `_index.js` or a Bun runtime (`~/.bun`).\n\n## Impact\nAnyone who `pip install`ed `pantheon-agents` 0.6.1 or 0.6.2 should assume **every credential present on that machine has been exfiltrated.**\n\n## Remediation\n1. **Do not install `pantheon-agents` from PyPI** until distribution resumes.\n2. If you installed 0.6.1 or 0.6.2:\n   - Run `pip uninstall pantheon-agents` immediately and check for the IoCs above.\n   - **Rotate every credential** that was present on that machine (API keys, tokens, SSH keys, cloud credentials).\n3. Install only from the clean GitHub source:\n   ```\n   pip install \"git+https://github.com/aristoteleo/PantheonOS.git\"\n   ```\n\n## Status\nThe PyPI account is suspended and the malicious token has been disabled. PyPI distribution will resume after account recovery and migration to PyPI Trusted Publishing (OIDC). Sibling projects by the same maintainer (e.g. executor-engine, funcdesc, cmd2func, pantheon-toolsets, coolbox, ufish, magique, executor-http) were hit by the same campaign and are being remediated separately.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "pantheon-agents"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.6.1"
      }, {
        "fixed" : "0.6.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.6.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aristoteleo/PantheonOS/security/advisories/GHSA-93qj-5q5v-3c2h"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aristoteleo/PantheonOS"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-506", "CWE-522" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-26T14:36:45Z",
    "nvd_published_at" : null
  }
}