mal-2025-191730
Vulnerability from ossf_malicious_packages
Published
2025-04-02 19:54
Modified
2025-12-11 09:27
Summary
Malicious code in flask-auth-sys (PyPI)
Details

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

Source: kam193 (a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41)

On importing the module, the code attempts to span a reverse shell. In the current version, the remote domain does not exist


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

Campaign: 2025-04-flask-auth-sys

Reasons (based on the campaign):

  • dependency-confusion

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

  • obfuscation


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "flask-auth-sys"
      },
      "versions": [
        "1.0.5"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "beacon.kubershell.io"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-04-flask-auth-sys/flask-auth-sys",
        "import_time": "2025-12-02T22:30:55.198499251Z",
        "modified_time": "2025-04-02T19:54:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "a4a7c8dfbe50ded80bf3d5990a7bace20f0842ce581595a86bccb50214639b20",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-04-flask-auth-sys/flask-auth-sys",
        "import_time": "2025-12-02T23:07:18.207707139Z",
        "modified_time": "2025-04-02T19:54:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-04-flask-auth-sys/flask-auth-sys",
        "import_time": "2025-12-10T21:38:57.492268254Z",
        "modified_time": "2025-04-02T19:54:07Z",
        "sha256": "641e383bf89a79f1b5a52f5ebeeca9e47e500aa60e20a403946c7a62ed69f595",
        "source": "kam193",
        "versions": [
          "1.0.5"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41)\nOn importing the module, the code attempts to span a reverse shell. In the current version, the remote domain does not exist\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-flask-auth-sys\n\n\nReasons (based on the campaign):\n\n\n - dependency-confusion\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim\u0027s machine.\n\n\n - obfuscation\n",
  "id": "MAL-2025-191730",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-04-02T19:54:07Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/flask-auth-sys"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in flask-auth-sys (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…