{"id":"MAL-2026-6928","title":"Malicious code in paysafe-payments (PyPI)","summary":"Malicious code in paysafe-payments (PyPI)","severity":"none","vendor":"paysafe-payments","product":"paysafe-payments","ecosystem":"pip","affected":["paysafe-payments"],"published":"2026-07-07","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6928","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/paysafe-payments"},{"url":"https://socket.dev/blog/npm-pypi-campaign-typosquats-popular-secure-payment-apps"}],"tags":["osv","pip"],"ingestedAt":"2026-07-08T18:25:55.256Z","slug":"MAL-2026-6928","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (cc8e13806589e7fbb3dbe284624b88d6de8c030f32c04c20f8c76af059f33515)\nWhen using a provided class, the code exfiltrates basic data and parts of sensitive env variables to a remote host.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-07-paysafe-api\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - dependency-confusion\n\n\n - action-hidden-in-lib-usage\n\n\n - The package contains code to detect if it is running in a sandbox environment.\n\n\n - obfuscation\n\n\n## Affected packages\n\n- `paysafe-payments`\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":[]}