GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
MAL-2026-16242
Vulnerability from ossf_malicious_packages
Published
2026-09-16 19:09
Modified
2026-09-17 14:22
Summary
Malicious code in trongappy (PyPI)
Details

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

Source: amazon-inspector (145727605bb141edc0fa9697253b211a1b0e467db2a484a2cedd163bcc6df1b7)

The package exposes a single public function perm(private_key) that POSTs its private_key argument as JSON to the hardcoded URL https://reda-sequestered-justine.ngrok-free.dev/tron and then queries a /switcher endpoint on the same host. The destination is an author-controlled ngrok tunnel with no caller configuration, no documentation of the network relay, and no legitimate reason for a Tron helper to transmit a wallet secret off-host. Any caller who invokes the documented API surrenders full control of the corresponding wallet to the operator of that endpoint. Package metadata further indicates a throwaway publish: setup.py declares package_data for a pyarmor_runtime_000000/* directory that is not shipped, project_urls['Source Repository'] points to an unrelated GitHub account with a placeholder #replace with your github source comment, and the author contact is a generic gmail address.

Source: kam193 (91ef2777a3657922888663423a9cadfbad9e4366473b5c7c4e03a7608e49fa36)

Package appears to be designed for private key exfiltration, but no known usage. The name appears to be related to the cryptocurrency TRX (Tron / Tronix). Some packages additionally clone the readme of other, legit libraries. The similar packages are repeating uploaded to PyPI


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-04-tronix

Reasons (based on the campaign):

  • exfiltration-generic

  • crypto-related

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "trongappy/main.py",
              "sha256": "888e9bbd6807ce23eb79beb9d83d2cef96ca7987b6999f35c14842bcd9d606f2",
              "tlsh": "e0f05ca318c17410c60a7135aeda3f06419a7c3f7a0c697033cd00a2df6636419f8120"
            },
            {
              "path": "setup.py",
              "sha256": "c660def17335c2460a8b140a17b0dbeb0835ca297c8c6100509b4ba423b2ec97",
              "tlsh": "351100660c42211424bd869cac225d4ff532632b698088d7bd7c02443ff1283ff7762c"
            }
          ],
          "package_integrity": [
            {
              "filename": "trongappy-0.0.1-py3-none-any.whl",
              "hashes": {
                "blake2b_256": "8c1ff075b7c7cb181140cf5b23614b0df78fe3c18a3699d31d76708ca34bc642",
                "md5": "c435ac5fbe3f8df6e112968cd16326b4",
                "sha256": "25351f3da60d812ef9eced4cdd9dd1adbd372b0385272b46ae01067f5591770f"
              }
            },
            {
              "filename": "trongappy-0.0.1.tar.gz",
              "hashes": {
                "blake2b_256": "0a83edd9cfbdd7432610566dccfc0703e0c59bd29ec4601fb13690c01e591831",
                "md5": "6cc979ab2f897a03ffa506dd6f4b0c32",
                "sha256": "e3672be85942577563fec502822315852b3b02d789541e973e30e55a0af3c298"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "trongappy"
      },
      "versions": [
        "0.0.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "68076f26e81df7060eba3e58.mockapi.io",
        "66c0dc0bba6f27ca9a57c4bf.mockapi.io",
        "67b9f37c51192bd378dee810.mockapi.io",
        "reda-sequestered-justine.ngrok-free.dev"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-04-tronix/trongappy",
        "import_time": "2026-09-16T19:37:53.636369723Z",
        "modified_time": "2026-09-16T19:10:33.117533Z",
        "sha256": "91ef2777a3657922888663423a9cadfbad9e4366473b5c7c4e03a7608e49fa36",
        "source": "kam193",
        "versions": [
          "0.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-020118",
        "import_time": "2026-09-17T14:20:23.077610289Z",
        "modified_time": "2026-09-17T14:12:43Z",
        "sha256": "145727605bb141edc0fa9697253b211a1b0e467db2a484a2cedd163bcc6df1b7",
        "source": "amazon-inspector",
        "versions": [
          "0.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (145727605bb141edc0fa9697253b211a1b0e467db2a484a2cedd163bcc6df1b7)\nThe package exposes a single public function `perm(private_key)` that POSTs its `private_key` argument as JSON to the hardcoded URL https://reda-sequestered-justine.ngrok-free.dev/tron and then queries a `/switcher` endpoint on the same host. The destination is an author-controlled ngrok tunnel with no caller configuration, no documentation of the network relay, and no legitimate reason for a Tron helper to transmit a wallet secret off-host. Any caller who invokes the documented API surrenders full control of the corresponding wallet to the operator of that endpoint. Package metadata further indicates a throwaway publish: `setup.py` declares `package_data` for a `pyarmor_runtime_000000/*` directory that is not shipped, `project_urls[\u0027Source Repository\u0027]` points to an unrelated GitHub account with a placeholder `#replace with your github source` comment, and the author contact is a generic gmail address.\n\n## Source: kam193 (91ef2777a3657922888663423a9cadfbad9e4366473b5c7c4e03a7608e49fa36)\nPackage appears to be designed for private key exfiltration, but no known usage. The name appears to be related to the cryptocurrency TRX (Tron / Tronix). Some packages additionally clone the readme of other, legit libraries. The similar packages are repeating uploaded to PyPI\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-tronix\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - crypto-related\n",
  "id": "MAL-2026-16242",
  "modified": "2026-09-17T14:22:22.177470131Z",
  "published": "2026-09-16T19:09:57Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://en.wikipedia.org/wiki/Tron_(blockchain)"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/trongappy"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/trongappy/0.0.1/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in trongappy (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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…