Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in onsokets (PyPI)

Type: advisorySources: OSV

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (86e89c263593521f9795193907958f4c642d34253fe9a65526dea1c681808760) onsokets/run.py walks the Android primary storage path /storage/emulated/0/, collects files ending in.json,.py,.pyrubi, and.txt, zips them by extension, and POSTs each archive to https://tapi.bale.ai/bot/sendDocument with chat_id 5263487757. The Bale bot token is hardcoded in the source as the default for BALE_BOT_TOKEN, so installing or running this package exfiltrates installer-owned source, configuration, and text files to an author-controlled Bale chat. The destination is not caller-configurable in any meaningful sense and does not relate to any declared purpose of the package. ## Source: kam193 (844774819aa502a53d6d364b6636fa62eb412fe8b30973c226aeb9b7b89865f9) The package contains code for automated files exfiltration. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-proxyrubika Reasons (based on the campaign): - files-exfiltration - target:android

Products
onsokets
Affected versions
0.1.0
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:32 UTC · Revision 1

Source evidence

Malicious code in onsokets (PyPI)

core-osv · Original source

Published 23 Oct 2026, 12:42 UTC

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (86e89c263593521f9795193907958f4c642d34253fe9a65526dea1c681808760) onsokets/run.py walks the Android primary storage path /storage/emulated/0/, collects files ending in.json,.py,.pyrubi, and.txt, zips them by extension, and POSTs each archive to https://tapi.bale.ai/bot/sendDocument with chat_id 5263487757. The Bale bot token is hardcoded in the source as the default for BALE_BOT_TOKEN, so installing or running this package exfiltrates installer-owned source, configuration, and text files to an author-controlled Bale chat. The destination is not caller-configurable in any meaningful sense and does not relate to any declared purpose of the package. ## Source: kam193 (844774819aa502a53d6d364b6636fa62eb412fe8b30973c226aeb9b7b89865f9) The package contains code for automated files exfiltration. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-proxyrubika Reasons (based on the campaign): - files-exfiltration - target:android

osv:MAL-2026-18219

onsokets

Fixed versions: Not specified

Complete source record
{
  "id": "778d540c1ef5e72d3205552fae6743446d0622f1560801f50c0e3b1fa1ab0288",
  "url": "https://osv.dev/vulnerability/MAL-2026-18219",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in onsokets (PyPI)",
    "summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (86e89c263593521f9795193907958f4c642d34253fe9a65526dea1c681808760) onsokets/run.py walks the Android primary storage path /storage/emulated/0/, collects files ending in.json,.py,.pyrubi, and.txt, zips them by extension, and POSTs each archive to https://tapi.bale.ai/bot/sendDocument with chat_id 5263487757. The Bale bot token is hardcoded in the source as the default for BALE_BOT_TOKEN, so installing or running this package exfiltrates installer-owned source, configuration, and text files to an author-controlled Bale chat. The destination is not caller-configurable in any meaningful sense and does not relate to any declared purpose of the package. ## Source: kam193 (844774819aa502a53d6d364b6636fa62eb412fe8b30973c226aeb9b7b89865f9) The package contains code for automated files exfiltration. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-proxyrubika Reasons (based on the campaign): - files-exfiltration - target:android",
    "evidence": "osv:MAL-2026-18219",
    "products": [
      {
        "name": {
          "value": "onsokets",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.0",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-18219",
      "aliases": [
        "MAL-2026-18219"
      ],
      "affected": [
        {
          "package": {
            "name": "onsokets",
            "purl": "pkg:pypi/onsokets",
            "ecosystem": "PyPI"
          },
          "versions": [
            "0.1.0"
          ],
          "database_specific": {
            "cwes": [
              {
                "name": "Embedded Malicious Code",
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/onsokets/MAL-2026-18219.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "onsokets/run.py",
                  "tlsh": "1531114628002f70d2c3823e48559854432b7dab7403f925759d63a48fa2c724f62bcc",
                  "sha256": "d81315e6c1fb013c625c6e66cdf7ff460c3829ee2dde43b1b0f9a08e7edc3be6"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "md5": "28cb4ea904b6e21a9a41407222fc7f1e",
                    "sha256": "208682a9e8f05277f9d3ef1e060fd6c856759e3cc140cdcb9dec2868153d045d",
                    "blake2b_256": "3b754bf09cd3ffcb7d43507df43d1e7793a138ff5d694f6936d3b0421788e56a"
                  },
                  "filename": "onsokets-0.1.0-py3-none-any.whl"
                },
                {
                  "hashes": {
                    "md5": "db17494c55e7c09b2f810682f30343ca",
                    "sha256": "a48762fc55387da109c3013c78ea6a725080b554426e0d1e419125c00e87b6c9",
                    "blake2b_256": "a2f5c157fb0f12da879217946c40855a0d3d2333ec42a1c981f576a04536940c"
                  },
                  "filename": "onsokets-0.1.0.tar.gz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-26T19:00:41.048738849Z",
      "provider": "osv",
      "references": [
        "https://bad-packages.kam193.eu/pypi/package/onsokets",
        "https://pypi.org/project/onsokets/0.1.0/"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "pypi/2026-10-proxyrubika/onsokets",
            "sha256": "844774819aa502a53d6d364b6636fa62eb412fe8b30973c226aeb9b7b89865f9",
            "source": "kam193",
            "versions": [
              "0.1.0"
            ],
            "import_time": "2026-10-23T13:17:20.702240213Z",
            "modified_time": "2026-10-23T12:42:59.93431Z"
          },
          {
            "id": "IN-MAL-2026-021814",
            "sha256": "86e89c263593521f9795193907958f4c642d34253fe9a65526dea1c681808760",
            "source": "amazon-inspector",
            "versions": [
              "0.1.0"
            ],
            "import_time": "2026-10-26T18:56:20.410506985Z",
            "modified_time": "2026-10-26T18:36:48Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 458001,
  "published_at": "2026-10-23T12:42:59+00:00"
}