npm · Malicious package advisory
Malware@medisend/shared
GHSA-5vr6-9r25-98g3
Malicious code in @medisend/shared (npm)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1-security-research` ## Source: amazon-inspector (cb5857b17f9935d83581e1a24e6d990211fe86631143c7025c3123d1274e7d28) package.json declares a postinstall lifecycle script that runs curl at install time and transmits the installer's hostname (via $(hostname)) as a query parameter to a webhook.site collector. The receiver ID in the URL is left as a `<your-id>` placeholder, so the beacon URL is not fully configured, but the postinstall hook still fires on `npm install` and issues an outbound request carrying host identification to a third-party collector. The package version tag also self-labels as `security-research`, but the shipped behavior — an automatic install-time beacon of host identity to an external collector — matches dependency-confusion / reconnaissance beacon shape rather than a benign library. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/72e5d8219b286d7332c4ad2364b87986138cf34c/osv/malicious/npm/@medisend/shared/MAL-2026-14423.json)) **References:** - https://github.com/ossf/malicious-packages/blob/72e5d8219b286d7332c4ad2364b87986138cf34c/osv/malicious/npm/@medisend/shared/MAL-2026-14423.json - https://www.npmjs.com/package/@medisend/shared/v/0.0.1-security-research - https://github.com/advisories/GHSA-5vr6-9r25-98g3
Compromised versions (1)
- = 0.0.1-security-research
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.