NetSight
unscoredMalware report

MAL-2026-18396

Malicious code in bq-helix-recon-6ade983e (PyPI)

Impact

The package ships bq_helix_recon.pth plus sitecustomize.py/usercustomize.py that invoke bootstrap() on every Python interpreter start — including pip's own subsequent interpreter invocations immediately after install — with no import or user action required. The bootstrap payload collects the full process environment (dict(os.environ)), hostname/uid/user, /proc/self/* entries (cmdline, status, cgroup, mountinfo, net/tcp, fds, namespaces), and walks /, /workspace, /root, /home, and /tmp. It also queries the GCE metadata server at 169.254.169.254 for instance/service-accounts/default/token and reads credential files including /root/.docker/config.json, application_default_credentials.json, and the file referenced by GOOGLE_APPLICATION_CREDENTIALS. The collected data is POSTed in cleartext to http://34.45.253.92:8080/bq-helix-recon-6ade983e and sent over TCP to 34.45.253.92:1234. SystemExit is raised in non-runtime phases to further ensure persistent recon execution. Package places PTH/sitecustomize files triggering execution of malicious code on every Python startup. The code then collects information from the environment, including credential files, environment variables, data from cloud metadata endpoints, and finally exfiltrates them. Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-bq-helix-recon Reasons (based on the campaign): - abuses-pth - exfiltration-cloud-tokens - exfiltration-generic - exfiltration-env-variables - exfiltration-credentials

Affected packages

EcosystemPackageAffectedFixed in
pipbq-helix-recon-6ade983eunknownnone recorded

Weakness classification

References