MAL-2026-3695
Vulnerability from ossf_malicious_packages
Published
2026-05-12 07:43
Modified
2026-05-12 19:03
Summary
Malicious code in pirxcypackage (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (5de481a31a831804a096bf6cf87157c0b0ee158aa7306c95080447764f9f7540)

PirxcyPackage/init.py fetches https://pastebin.com/raw/91tFF63S and passes the response body to exec() on every import. This is a textbook remote-code-execution supply-chain pattern: the payload is mutable, unauthenticated, unsigned, and controlled by a third-party paste owner, so any installer importing this package runs arbitrary attacker-chosen Python. The staging via Pastebin also ensures static review of the wheel cannot observe actual behavior. Installer harm is direct and unambiguous.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits
Amazon Inspector actran@amazon.com

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "domains": [
            "pastebin.com"
          ],
          "evidence_files": [
            {
              "path": "PirxcyPackage/__init__.py",
              "sha256": "5c742188cdac2f649dc78f48a46d4a0a42b7ec19ef290af1945adda6f913023e",
              "tlsh": "23211129bc8ad73317c701597b8fc4dfd12ed168175a62d1952180586277a3c06df4dc"
            }
          ],
          "package_integrity": [
            {
              "filename": "PirxcyPackage-8.0.0-py2-none-any.whl",
              "hashes": {
                "blake2b_256": "1f2511888159b71760cf8a0734ec9b943e0d1b405b40690ed03382862fc080d2",
                "md5": "161d9d5f8e87ea66bc518757b968bd79",
                "sha256": "cff907689a5abfba582b5e214544b96b34f352b7a0248607b269f5807bd4819b"
              }
            },
            {
              "filename": "PirxcyPackage-8.0.0.tar.gz",
              "hashes": {
                "blake2b_256": "51d3f93e232ece104772889ee4323ccc0cf362820d2366b37dde6087a058b6b4",
                "md5": "f3afe26816bd54b99f8783e9cb979e01",
                "sha256": "8eaca3a630758dc513060ab76a283bdb066f11b3ac4f21f0dd5c1728d7e1374d"
              }
            }
          ],
          "urls": [
            "https://pastebin.com/raw/91tFF63S"
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "PirxcyPackage"
      },
      "versions": [
        "8.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-002316",
        "import_time": "2026-05-13T20:10:55.711401902Z",
        "modified_time": "2026-05-12T19:03:07Z",
        "sha256": "5de481a31a831804a096bf6cf87157c0b0ee158aa7306c95080447764f9f7540",
        "source": "amazon-inspector",
        "versions": [
          "8.0.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5de481a31a831804a096bf6cf87157c0b0ee158aa7306c95080447764f9f7540)\nPirxcyPackage/__init__.py fetches https://pastebin.com/raw/91tFF63S and passes the response body to exec() on every import. This is a textbook remote-code-execution supply-chain pattern: the payload is mutable, unauthenticated, unsigned, and controlled by a third-party paste owner, so any installer importing this package runs arbitrary attacker-chosen Python. The staging via Pastebin also ensures static review of the wheel cannot observe actual behavior. Installer harm is direct and unambiguous.\n",
  "id": "MAL-2026-3695",
  "modified": "2026-05-12T19:03:07Z",
  "published": "2026-05-12T07:43:27Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/PirxcyPackage/8.0.0/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in pirxcypackage (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…