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