{"id":"MAL-2026-5335","title":"Malicious code in xfoobar (PyPI)","summary":"Malicious code in xfoobar (PyPI)","severity":"none","vendor":"xfoobar","product":"xfoobar","ecosystem":"pip","affected":["xfoobar"],"published":"2026-06-08","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5335","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/xfoobar"},{"url":"https://pypi.org/project/xfoobar/0.0.5/"}],"tags":["osv","pip"],"ingestedAt":"2026-07-09T11:56:19.424Z","slug":"MAL-2026-5335","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d82d6f4e4dba40d2e4677eb00c301bc816c8fe442704bdb9ed1f51a3d90e8f75)\nThe package was found to contain malicious code or consuming dependency that contains malicious code\n\n## Source: kam193 (a54c1c17d20a069af19c48751aada9e426bcbf55484c360cf21ac70f35d3d0dd)\nDuring import, the package starts a reverse shell\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-06-anthropy\n\n\nReasons (based on the campaign):\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## Affected packages\n\n- `xfoobar`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}