mal-2024-12303
Vulnerability from ossf_malicious_packages
Published
2024-10-15 16:27
Modified
2025-12-31 02:45
Summary
Malicious code in maliciouspackage (PyPI)
Details

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

Source: kam193 (d0e8a8d581266436f0546b5039ee82ab734d45f8489e281322dd871124dad9ce)

Clearly a demo malicious package, attempting to exfiltrate a token from the git config


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: 2024-10-old-maliciouspackage

Reasons (based on the campaign):

  • exfiltration-generic



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "maliciouspackage"
      },
      "versions": [
        "0.5",
        "0.4",
        "0.3",
        "0.2",
        "0.1"
      ]
    }
  ],
  "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": {
    "malicious-packages-origins": [
      {
        "id": "pypi/2024-10-old-maliciouspackage/maliciouspackage",
        "import_time": "2025-12-02T22:30:56.187097696Z",
        "modified_time": "2024-10-15T16:27:48Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "a17fbba816fdf42b4bdac0d9a16ad4ec7dacfbc367a4f57bfd936d2239b88917",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-old-maliciouspackage/maliciouspackage",
        "import_time": "2025-12-02T23:07:19.369386127Z",
        "modified_time": "2024-10-15T16:27:48Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "d0e8a8d581266436f0546b5039ee82ab734d45f8489e281322dd871124dad9ce",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-10-old-maliciouspackage/maliciouspackage",
        "import_time": "2025-12-10T21:38:58.494899691Z",
        "modified_time": "2024-10-15T16:27:48Z",
        "sha256": "1829cac32365b4cacd5c304a6efc6a7bab4e65f48c7e7f3fc2d598a2e62a5715",
        "source": "kam193",
        "versions": [
          "0.5",
          "0.4",
          "0.3",
          "0.2",
          "0.1"
        ]
      },
      {
        "id": "pypi/2024-10-old-maliciouspackage/maliciouspackage",
        "import_time": "2025-12-30T22:39:04.309907126Z",
        "modified_time": "2024-10-15T16:27:48Z",
        "sha256": "1a98553a381d9f9e235b782ea1a5f5d1c66e903d32df86b73588abc2070143bd",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.2",
          "0.3",
          "0.4",
          "0.5"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d0e8a8d581266436f0546b5039ee82ab734d45f8489e281322dd871124dad9ce)\nClearly a demo malicious package, attempting to exfiltrate a token from the git config\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: 2024-10-old-maliciouspackage\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n",
  "id": "MAL-2024-12303",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2024-10-15T16:27:48Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/maliciouspackage"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in maliciouspackage (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…