{"id":"MAL-2026-18045","title":"Malicious code in asurion (PyPI)","summary":"Malicious code in asurion (PyPI)","severity":"critical","exploited":true,"vendor":"asurion","product":"asurion","ecosystem":"pip","affected":["asurion"],"published":"2026-10-19","updated":"2026-10-20","sourceUpdated":"2026-10-20T18:30:11.145410844Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-18045","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/asurion"},{"url":"https://pypi.org/project/asurion/99.0.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-21T11:54:42.738Z","slug":"MAL-2026-18045","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (393ccbeed4c71a6a21a3a697f0809845dddec09ddc8884662f40e2b2257a28a9)\nsetup.py executes at `pip install` time and POSTs a JSON payload containing the full `os.environ` dictionary along with hostname, username, current working directory, and platform details to the hardcoded endpoint https://webhook.site/b2967b0a-1b24-4670-8ae1-e09e3cf272c4 via urllib.request. Environment variables on developer and CI hosts routinely contain credential-grade secrets (AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN, NPM_TOKEN, database passwords, cloud session tokens), so this install-time beacon is a bulk credential-sweep. The package name, implausibly high version number, and single webhook.site exfil destination are consistent with a dependency-confusion canary/exfil payload targeting an internal `asurion` namespace.\n\n## Source: kam193 (05820dd77e1f73d1a01797af6f10c6fa4ae22038be3fcd6a8cbd8c117cf6436c)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n## Affected packages\n\n- `asurion`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}