MAL-2025-913

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/datagov-harvester/MAL-2025-913.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2025-913
Published
2024-12-01T16:23:40Z
Modified
2025-12-03T00:21:56.051029Z
Summary
Malicious code in datagov-harvester (PyPI)
Details

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

Source: kam193 (cd1508013c2ef9abe7de7e4eb3bbdc492b545c3344ae4148b4e06165e8313229)

The package looks like a beginning for a further work. In fact, the uploader has shortly published a few similar packages appearing to be e.g. an integration for a known application, but containing only a "telemetry" module exfiltrating basic info about the user. This package has no other purpose than collecting data about users. In addition, it appears to be largely generated by an LLM.


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-12- sajansubedi

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • dependency-confusion

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2025-02-03T17:07:15Z",
            "sha256": "77f01f1be2038f17656e7523a8735bbb6e6e35181cacb1caf81c13a2ef12bc47",
            "import_time": "2025-02-03T18:38:05.590447067Z",
            "versions": [
                "20.0.0",
                "21.0.0"
            ],
            "source": "reversing-labs",
            "id": "RLMA-2025-00452"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "9d7476e34f62d92f7736383420735adc8c8748a83b8f6b0de545f31b1c592ec4",
            "modified_time": "2024-12-01T16:23:40Z",
            "import_time": "2025-12-02T22:30:55.974961284Z",
            "source": "kam193",
            "id": "pypi/2024-12- sajansubedi/datagov-harvester"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "cd1508013c2ef9abe7de7e4eb3bbdc492b545c3344ae4148b4e06165e8313229",
            "modified_time": "2024-12-01T16:23:40Z",
            "import_time": "2025-12-02T23:07:19.167448548Z",
            "source": "kam193",
            "id": "pypi/2024-12- sajansubedi/datagov-harvester"
        }
    ]
}
References
Credits

Affected packages

PyPI / datagov-harvester

Package

Name
datagov-harvester
View open source insights on deps.dev
Purl
pkg:pypi/datagov-harvester

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

20.*

20.0.0

21.*

21.0.0