{"id":"MAL-2025-2974","summary":"Malicious code in markitanalysis (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0181af7442259bbe6dfbeec39c99bc62b711e38ec00c2ce460dc47162390c591)\nIf installed using source package, the package collects selected environment variables, including GITHUB_TOKEN if set, and sends to an external service. The package doesn't hide its actions at all, but there are already multiple different packages with the same code.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-01-markitanalysis\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - exfiltration-env-variables\n","modified":"2026-03-19T12:54:29.888358Z","published":"2025-01-26T18:01:08Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-01972","import_time":"2025-03-31T07:07:05.871223479Z","sha256":"18531f9f237a5e62ca2df58868cc4b67ca096600e119e2de549de03078bc53b1","versions":["0.0.1","0.1.0"],"source":"reversing-labs","modified_time":"2025-03-28T13:05:50Z"},{"id":"pypi/2025-01-markitanalysis/markitanalysis","import_time":"2025-12-02T22:30:55.324523284Z","sha256":"03e02ea1cd483a1827fe1bb9e76b1ee25b130d93f1771c621a7cfe07eb4793ad","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","modified_time":"2025-01-26T18:01:08Z"},{"id":"pypi/2025-01-markitanalysis/markitanalysis","import_time":"2025-12-02T23:07:18.352214623Z","sha256":"0181af7442259bbe6dfbeec39c99bc62b711e38ec00c2ce460dc47162390c591","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","modified_time":"2025-01-26T18:01:08Z"},{"id":"pypi/2025-01-markitanalysis/markitanalysis","import_time":"2025-12-10T21:38:57.584813903Z","sha256":"0ad61b77969396f45539edb8f8a72394bf14141922f165aeb0af4858aca24875","versions":["0.1.0","0.0.1"],"source":"kam193","modified_time":"2025-01-26T18:01:08Z"},{"id":"pypi/2025-01-markitanalysis/markitanalysis","import_time":"2025-12-30T22:39:04.125919282Z","sha256":"ccb7acf38e3c7df20d9e0b5bd52120e77ed9ea6e0c29ce58f5e2144718e71277","versions":["0.0.1","0.1.0"],"source":"kam193","modified_time":"2025-01-26T18:01:08Z"},{"id":"RLUA-2026-00497","import_time":"2026-03-19T12:20:01.989836431Z","sha256":"6e66bba612285b75bfd948b0e6695491d53f544145e6b5d146378def20d2b92f","source":"reversing-labs","modified_time":"2026-03-18T12:15:52Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/markitanalysis"}],"affected":[{"package":{"name":"markitanalysis","ecosystem":"PyPI","purl":"pkg:pypi/markitanalysis"},"versions":["0.0.1","0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/markitanalysis/MAL-2025-2974.json"}}],"schema_version":"1.7.5","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"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}