{"id":"MAL-2025-191731","summary":"Malicious code in flask-auth-system (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (debc87eb7af33e5146831c7e1b8ff69ccdebe2c9bbf353216c719b10ebe8431c)\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:33.035440Z","published":"2025-04-02T19:54:07Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:55.199319103Z","sha256":"c934eee6779ff735799b39b4a5355c0931e30914a49500afd183f066ec4af683","modified_time":"2025-04-02T19:54:07Z","id":"pypi/2025-04-flask-auth-sys/flask-auth-system","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"import_time":"2025-12-02T23:07:18.20850607Z","sha256":"debc87eb7af33e5146831c7e1b8ff69ccdebe2c9bbf353216c719b10ebe8431c","modified_time":"2025-04-02T19:54:07Z","id":"pypi/2025-04-flask-auth-sys/flask-auth-system","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"import_time":"2025-12-10T21:38:57.493576433Z","sha256":"83c824d3eff87fd20e3730c2d2b3cc52987ba4fb1e667448e35b453679c5bbd6","modified_time":"2025-04-02T19:54:07Z","id":"pypi/2025-04-flask-auth-sys/flask-auth-system","versions":["0.0.1","0.0.2"],"source":"kam193"}],"iocs":{"domains":["beacon.kubershell.io"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/flask-auth-system"}],"affected":[{"package":{"name":"flask-auth-system","ecosystem":"PyPI","purl":"pkg:pypi/flask-auth-system"},"versions":["0.0.1","0.0.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flask-auth-system/MAL-2025-191731.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"}]}