NetSight
criticalMalware report

GHSA-prff-jqwc-89h9

Malicious code in python3-shodan (PyPI)

Impact

## Source: kam193 (b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca) Packages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code). --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-05-sl4x01 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. - exfiltration-env-variables - impersonation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python3-shodan/MAL-2025-191845.json))

Affected packages

EcosystemPackageAffectedFixed in
pippython3-shodan= 0.0.1none recorded

Weakness classification

References