mal-2026-3413
Vulnerability from ossf_malicious_packages
Published
2026-05-10 20:29
Modified
2026-05-10 20:29
Summary
Malicious code in django-b64-img (PyPI)
Details

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

Source: kam193 (f5ebdaebc61cf7a888322348e074f219519b7d09a24ab91732d8bc5061d86b2e)

The package provides a special image-storing field for Django REST Framework based on a legitimate implementation from the Hipo/drf-extra-fields repository. The malicious modification appends the cloud credentials and full settings values to the serialized form of specific image types. This way, an attacker can retrieve sensitive values by downloading back once uploaded image.


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

Campaign: 2026-05-old-django-b64-img

Reasons (based on the campaign):

  • exfiltration-credentials

  • obfuscation

  • backdoor

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "django-b64-img"
      },
      "versions": [
        "1.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-05-old-django-b64-img/django-b64-img",
        "import_time": "2026-05-10T21:20:42.442704837Z",
        "modified_time": "2026-05-10T20:29:46.824334Z",
        "sha256": "f5ebdaebc61cf7a888322348e074f219519b7d09a24ab91732d8bc5061d86b2e",
        "source": "kam193",
        "versions": [
          "1.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f5ebdaebc61cf7a888322348e074f219519b7d09a24ab91732d8bc5061d86b2e)\nThe package provides a special image-storing field for Django REST Framework based on a legitimate implementation from the Hipo/drf-extra-fields repository. The malicious modification appends the cloud credentials and full `settings` values to the serialized form of specific image types. This way, an attacker can retrieve sensitive values by downloading back once uploaded image.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-05-old-django-b64-img\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-credentials\n\n\n - obfuscation\n\n\n - backdoor\n",
  "id": "MAL-2026-3413",
  "modified": "2026-05-10T20:29:46Z",
  "published": "2026-05-10T20:29:46Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/django-b64-img"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in django-b64-img (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…