Malicious code in fhirproxy (npm)
The fhirproxy npm package version 90.0.0 is a malicious package that impersonates OpenMRS tooling and executes attacker-controlled code during installation and on every invocation of common developer tools. It hijacks the names of widely used tools such as webpack, eslint, and jest, causing them to run malicious code instead of the legitimate tools. This results in full compromise of any computer where the package is installed or running.
AI Analysis
Technical Summary
The [email protected] package is a thin loader that pulls and executes the dependency fhirproxy-utils during npm install via preinstall and postinstall hooks. It impersonates OpenMRS REST tooling but is not affiliated with the official OpenMRS scoped packages. The package hijacks common developer tool command names by mapping them all to its malicious index.js, causing any invocation of these tools to execute attacker-controlled code. This leads to installer-side code execution at install time and persistent execution on subsequent tool usage, effectively compromising the host system.
Potential Impact
Any system with [email protected] installed or running is considered fully compromised. The attacker gains persistent code execution on the host machine, potentially exposing all secrets and keys stored on the system. Removal of the package does not guarantee elimination of all malicious artifacts due to the level of control gained.
Mitigation Recommendations
No official patch or fix is available. The package should be removed immediately from all affected systems. All secrets and keys stored on compromised machines must be rotated from a different, trusted system. Due to the full compromise risk, affected systems should be thoroughly audited and potentially rebuilt to ensure removal of all malicious components.
Malicious code in fhirproxy (npm)
Description
The fhirproxy npm package version 90.0.0 is a malicious package that impersonates OpenMRS tooling and executes attacker-controlled code during installation and on every invocation of common developer tools. It hijacks the names of widely used tools such as webpack, eslint, and jest, causing them to run malicious code instead of the legitimate tools. This results in full compromise of any computer where the package is installed or running.
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 [email protected] package is a thin loader that pulls and executes the dependency fhirproxy-utils during npm install via preinstall and postinstall hooks. It impersonates OpenMRS REST tooling but is not affiliated with the official OpenMRS scoped packages. The package hijacks common developer tool command names by mapping them all to its malicious index.js, causing any invocation of these tools to execute attacker-controlled code. This leads to installer-side code execution at install time and persistent execution on subsequent tool usage, effectively compromising the host system.
Potential Impact
Any system with [email protected] installed or running is considered fully compromised. The attacker gains persistent code execution on the host machine, potentially exposing all secrets and keys stored on the system. Removal of the package does not guarantee elimination of all malicious artifacts due to the level of control gained.
Mitigation Recommendations
No official patch or fix is available. The package should be removed immediately from all affected systems. All secrets and keys stored on compromised machines must be rotated from a different, trusted system. Due to the full compromise risk, affected systems should be thoroughly audited and potentially rebuilt to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5460
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-g7wh-3cfq-x8m2"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eee68715ace43b414a7
Added to database: 07/15/2026, 12:37:02 UTC
Last enriched: 07/15/2026, 12:55:07 UTC
Last updated: 07/28/2026, 14:06:54 UTC
Views: 15
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.