Malicious code in @medisend/auth (npm)
The @medisend/auth npm package version 0.0.1-security-research contains malicious code that executes a postinstall script. This script sends the installer's hostname to a third-party endpoint controlled by an attacker, indicating a dependency confusion beaconing attack. Installation of this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.
AI Analysis
Technical Summary
The @medisend/auth npm package version =0.0.1-security-research includes a postinstall lifecycle script that automatically runs upon npm install. This script uses curl to send the installer's hostname as a query parameter to a webhook.site URL controlled by an attacker. This behavior is consistent with dependency confusion beaconing against an internal namespace. According to the ghsa-malware source, any system with this package installed or running should be considered fully compromised, with all secrets and keys needing immediate rotation from a different machine. Removal of the package alone may not eliminate all malicious software introduced.
Potential Impact
Installation of the malicious @medisend/auth package results in the transmission of the installer's hostname to an attacker-controlled endpoint, indicating potential reconnaissance or tracking. The package's presence implies full system compromise, risking exposure of all stored secrets and keys. Attackers may have established persistent control beyond the package itself, making remediation complex and urgent.
Mitigation Recommendations
Remove the @medisend/auth package version =0.0.1-security-research immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted machine. Because full system compromise is likely, conduct a thorough incident response to identify and remove any additional malicious software or backdoors. Monitor for any suspicious activity related to this compromise.
Malicious code in @medisend/auth (npm)
Description
The @medisend/auth npm package version 0.0.1-security-research contains malicious code that executes a postinstall script. This script sends the installer's hostname to a third-party endpoint controlled by an attacker, indicating a dependency confusion beaconing attack. Installation of this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @medisend/auth npm package version =0.0.1-security-research includes a postinstall lifecycle script that automatically runs upon npm install. This script uses curl to send the installer's hostname as a query parameter to a webhook.site URL controlled by an attacker. This behavior is consistent with dependency confusion beaconing against an internal namespace. According to the ghsa-malware source, any system with this package installed or running should be considered fully compromised, with all secrets and keys needing immediate rotation from a different machine. Removal of the package alone may not eliminate all malicious software introduced.
Potential Impact
Installation of the malicious @medisend/auth package results in the transmission of the installer's hostname to an attacker-controlled endpoint, indicating potential reconnaissance or tracking. The package's presence implies full system compromise, risking exposure of all stored secrets and keys. Attackers may have established persistent control beyond the package itself, making remediation complex and urgent.
Defensive Guidance
Remove the @medisend/auth package version =0.0.1-security-research immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted machine. Because full system compromise is likely, conduct a thorough incident response to identify and remove any additional malicious software or backdoors. Monitor for any suspicious activity related to this compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14421
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-cpvc-ph75-5rf3"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a9f9111acd9273b49ff2aff
Added to database: 09/08/2026, 04:37:37 UTC
Last enriched: 09/08/2026, 05:09:27 UTC
Last updated: 09/08/2026, 19:36:11 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.