mal-2025-1514
Vulnerability from ossf_malicious_packages
Published
2024-08-23 22:55
Modified
2025-12-31 02:45
Summary
Malicious code in ninjainjtest1337 (PyPI)
Details

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

Source: kam193 (53b486443b3f2ffe278aa364b7455c2a522fbf1a514d4c8f70474974bf2be009)

Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.


Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-simple-tests

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

Source: ossf-package-analysis (334ea071d3d2127435d95bdf47129449b33f6c542fe9c91d19d4c5365f86d77f)

The OpenSSF Package Analysis project identified 'ninjainjtest1337' @ 0.1.5 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "ninjainjtest1337"
      },
      "versions": [
        "0.1.5",
        "0.1.6",
        "0.1.4",
        "0.1.1",
        "0.1.0",
        "0.1.3"
      ]
    }
  ],
  "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": "ANALYST"
    },
    {
      "contact": [
        "https://github.com/ossf/package-analysis",
        "https://openssf.slack.com/channels/package_analysis"
      ],
      "name": "OpenSSF: Package Analysis",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2025-02-21T17:34:35.397235215Z",
        "modified_time": "2025-02-21T17:31:59Z",
        "sha256": "334ea071d3d2127435d95bdf47129449b33f6c542fe9c91d19d4c5365f86d77f",
        "source": "ossf-package-analysis",
        "versions": [
          "0.1.5"
        ]
      },
      {
        "import_time": "2025-02-21T17:34:35.303576444Z",
        "modified_time": "2025-02-21T17:31:43Z",
        "sha256": "7dc9c53dc88e1b23e6a443eb6820f89d5b866c8e610b0c8b3ab69a534799f7c1",
        "source": "ossf-package-analysis",
        "versions": [
          "0.1.6"
        ]
      },
      {
        "import_time": "2025-02-21T17:34:35.11897411Z",
        "modified_time": "2025-02-21T17:07:09Z",
        "sha256": "fd7c71e57cd743cb8de4b5f52f3be1f4956e0fd105748b3d047834068011926b",
        "source": "ossf-package-analysis",
        "versions": [
          "0.1.4"
        ]
      },
      {
        "id": "pypi/GENERIC-simple-tests/ninjainjtest1337",
        "import_time": "2025-12-02T22:30:56.250925639Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "25f834fdd3843d8d1bb3c977e15adea6465c662a69b3d85c9ceb492e38e7a60a",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-simple-tests/ninjainjtest1337",
        "import_time": "2025-12-02T23:07:19.435956935Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "53b486443b3f2ffe278aa364b7455c2a522fbf1a514d4c8f70474974bf2be009",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-simple-tests/ninjainjtest1337",
        "import_time": "2025-12-10T21:38:58.553006108Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "sha256": "0373c0945e8f1956caa05c9ae65b6152468adf11bf504159f0829ad4dcfcf3f8",
        "source": "kam193",
        "versions": [
          "0.1.1",
          "0.1.0",
          "0.1.4",
          "0.1.3",
          "0.1.5",
          "0.1.6"
        ]
      },
      {
        "id": "pypi/GENERIC-simple-tests/ninjainjtest1337",
        "import_time": "2025-12-30T22:39:04.320225036Z",
        "modified_time": "2024-08-23T22:55:41Z",
        "sha256": "0057edfac0d3f5184a3a41c9574865cb18ec8fc6b2128d8ca356677c9e223190",
        "source": "kam193",
        "versions": [
          "0.1.0",
          "0.1.1",
          "0.1.3",
          "0.1.4",
          "0.1.5",
          "0.1.6"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (53b486443b3f2ffe278aa364b7455c2a522fbf1a514d4c8f70474974bf2be009)\nPackages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-simple-tests\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n## Source: ossf-package-analysis (334ea071d3d2127435d95bdf47129449b33f6c542fe9c91d19d4c5365f86d77f)\nThe OpenSSF Package Analysis project identified \u0027ninjainjtest1337\u0027 @ 0.1.5 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n",
  "id": "MAL-2025-1514",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2024-08-23T22:55:41Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/ninjainjtest1337"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ninjainjtest1337 (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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…