{"id":"MAL-2025-191730","summary":"Malicious code in flask-auth-sys (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41)\nOn importing the module, the code attempts to span a reverse shell. In the current version, the remote domain does not exist\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-flask-auth-sys\n\n\nReasons (based on the campaign):\n\n\n - dependency-confusion\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.\n\n\n - obfuscation\n","modified":"2025-12-12T20:39:36.596810Z","published":"2025-04-02T19:54:07Z","database_specific":{"iocs":{"domains":["beacon.kubershell.io"]},"malicious-packages-origins":[{"source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T22:30:55.198499251Z","id":"pypi/2025-04-flask-auth-sys/flask-auth-sys","sha256":"a4a7c8dfbe50ded80bf3d5990a7bace20f0842ce581595a86bccb50214639b20","modified_time":"2025-04-02T19:54:07Z"},{"source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T23:07:18.207707139Z","id":"pypi/2025-04-flask-auth-sys/flask-auth-sys","sha256":"a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41","modified_time":"2025-04-02T19:54:07Z"},{"import_time":"2025-12-10T21:38:57.492268254Z","source":"kam193","versions":["1.0.5"],"id":"pypi/2025-04-flask-auth-sys/flask-auth-sys","sha256":"641e383bf89a79f1b5a52f5ebeeca9e47e500aa60e20a403946c7a62ed69f595","modified_time":"2025-04-02T19:54:07Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/flask-auth-sys"}],"affected":[{"package":{"name":"flask-auth-sys","ecosystem":"PyPI","purl":"pkg:pypi/flask-auth-sys"},"versions":["1.0.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flask-auth-sys/MAL-2025-191730.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}