{"id":"MAL-2026-18395","title":"Malicious code in bq-helix-build-hook-6ade983e (PyPI)","summary":"Malicious code in bq-helix-build-hook-6ade983e (PyPI)","severity":"critical","exploited":true,"vendor":"bq-helix-build-hook-6ade983e","product":"bq-helix-build-hook-6ade983e","ecosystem":"pip","affected":["bq-helix-build-hook-6ade983e"],"published":"2026-10-29","updated":"2026-10-30","sourceUpdated":"2026-10-30T12:45:13.380141410Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-18395","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/bq-helix-build-hook-6ade983e"},{"url":"https://pypi.org/project/bq-helix-build-hook-6ade983e/0.1.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-30T19:05:36.391Z","slug":"MAL-2026-18395","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2ff13fe63e15fdf4130e7219776edbe4d34fe2c2b83011099a0ddec9c10ebf6)\nOn `pip install`, setup.py collects the full process environment (dict(os.environ)), process command lines, and /proc/self/{status,cgroup,mountinfo,fd}, and queries the GCP instance metadata service at http://169.254.169.254/computeMetadata/v1/ (with the required `Metadata-Flavor: Google` header) for the default service account's token, email, scopes, and project id. The collected JSON blob is sent to a hardcoded remote endpoint at 34.45.253.92 — both as an HTTP POST to http://34.45.253.92:8080/bq-sdist-hook-... and over a raw TCP socket to 34.45.253.92:1234. The destination IP is unrelated to any legitimate publisher infrastructure and the behavior fires automatically from the build backend during installation.\n\n## Source: kam193 (ee26602dfa25f574d440b2c1e8ef0a9516fdfb5db4b59f995b88784332476413)\nDuring installation the code collects information from the environment, including credential files, environment variables, data from cloud metadata endpoints, and finally exfiltrates them.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-bq-helix-recon\n\n\nReasons (based on the campaign):\n\n\n - abuses-pth\n\n\n - exfiltration-cloud-tokens\n\n\n - exfiltration-generic\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-credentials\n\n\n## Affected packages\n\n- `bq-helix-build-hook-6ade983e`\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":[]}