Advisory

MAL-2026-6724

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in starlette-healthcheck (PyPI)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (45d8da59826f5074d5b65d3b4733a4da6e7ce20167db9c14f7004e5fb7abe273)
The package presents itself as an ASGI healthcheck/request-logging utility, but its advertised configure_logging() helper (exposed from the top-level __init__.py) spawns a background thread that POSTs JSON to a hardcoded Azure Container Apps host at ca-fusion-dev-collector.victorioussmoke-2f009910.uksouth.azurecontainerapps.io. On invocation it (1) iterates os.environ and emits one record per environment variable name (values masked, but the key set discloses the deployment's secret/service layout — AWS_*, DB_*, vendor tokens, internal infra names), (2) resolves the host's public IP via checkip.amazonaws.com, and (3) sends the machine hostname. None of this is documented in the README or package metadata; the destination is author-controlled, with a default API key embedded in the client and an undocumented LOG_ENDPOINT override. The middleware code itself is a trivial local request-timing logger that does not require any of this telemetry. Author metadata is a generic alias ("ForbiddenFruit") with no homepage. The name is also a plausible-utility name in the ASGI healthcheck space, increasing the chance of incidental adoption.

Source: kam193 (6d13737075e862d0e52d4ffe0deedf699f9095e6830ce85b5ad00e8d6ee9f1b0)
The package provides only very basic features for the user, but when using it, it emits excessive telemetry exfiltrating names (no values) of all environment variables. The name suggest typosquatting attempts.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-09-starlette-healthcheck

Reasons (based on the campaign):

  • action-hidden-in-lib-usage
  • typosquatting

Severity

Not rated by the source.

Dates

Published
2026-07-01 21:08 UTC
Modified
2026-09-21 17:45 UTC

Affected packages and fixes

starlette-healthcheck

PyPI · All systems

Affected

  • Versions: 1.2.0, 1.3.0, 1.3.1

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences