{"id":"MAL-2026-6929","title":"Malicious code in paysafe-sdk (PyPI)","summary":"Malicious code in paysafe-sdk (PyPI)","severity":"none","vendor":"paysafe-sdk","product":"paysafe-sdk","ecosystem":"pip","affected":["paysafe-sdk"],"published":"2026-07-07","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6929","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/paysafe-sdk"},{"url":"https://socket.dev/blog/npm-pypi-campaign-typosquats-popular-secure-payment-apps"}],"tags":["osv","pip"],"ingestedAt":"2026-07-08T18:25:55.267Z","slug":"MAL-2026-6929","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (ae864f77805fa7e1facccf45d1af67d37603c5a085f55d733d9d3eb8cf4d26c8)\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-sdk`\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":[]}