Malicious code in @resolvx/core (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4639df1cd39850efb8106cbc5ecf3648f386c0cc5cff6c457d90f6a4d569cef0) On `npm install`, scripts/postinstall.js connects to a hardcoded attacker IP (http://213.218.160.189:8080, fallback:80), sends a base64-encoded host fingerprint (hostname, username, platform, arch) as the `q` query parameter, optionally XOR-decrypts the HTTP response with an embedded hex key, writes the decrypted bytes to a hidden file (`.node_<rand>.js`) under /tmp or %LOCALAPPDATA%/Temp, spawns it as a detached Node process with stdio ignored and windowsHide set, calls unref(), and deletes the staging file ~5 seconds later. The script also performs anti-analysis checks (scans `tasklist` for wireshark/fiddler/procmon/x64dbg/ida), introduces a randomized 0.5–2.5s start delay, and skips execution when `npm_config_dry_run` is set to evade dry-run inspection. The combination of plaintext HTTP fetch from a bare IP, payload decryption, hidden filename staging, detached background execution, and anti-analysis gating is a textbook install-time dropper that yields full code execution on the installer's machine and exfiltrates host identification to the attacker for follow-on targeting. ## Source: ghsa-malware (fe1f5e89ee0d8a218fe820d79c429a0178e4266b0720568eba6814f37702bc07) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The malicious code in @resolvx/core (versions =1.0.0, =2.4.1, =2.4.2) activates during npm install via a postinstall.js script. It connects over plaintext HTTP to a hardcoded IP address, sending a base64-encoded fingerprint of the host environment. The response is optionally XOR-decrypted and saved as a hidden file in temporary directories, then executed as a detached Node.js process with no visible output. The script includes anti-analysis checks for common debugging tools and delays execution to evade detection. This install-time dropper grants attackers full code execution and exfiltrates host data for further targeting. Removal of the package alone may not eliminate persistent malicious components.
Potential Impact
Systems installing the affected versions of @resolvx/core are subject to full compromise due to arbitrary code execution initiated during package installation. Attackers gain persistent control by running hidden background processes and can exfiltrate sensitive host information, including hostname, username, platform, and architecture. All secrets and credentials on compromised machines should be considered exposed and rotated immediately. The presence of anti-analysis and evasion techniques increases the risk of undetected compromise.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Immediate removal of the @resolvx/core package versions 1.0.0, 2.4.1, and 2.4.2 is strongly recommended. Assume full system compromise if these versions were installed; rotate all secrets and credentials from a clean environment. Monitor for suspicious processes and network connections related to the described behavior. Avoid installing packages from untrusted sources and verify package integrity before installation.
Malicious code in @resolvx/core (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4639df1cd39850efb8106cbc5ecf3648f386c0cc5cff6c457d90f6a4d569cef0) On `npm install`, scripts/postinstall.js connects to a hardcoded attacker IP (http://213.218.160.189:8080, fallback:80), sends a base64-encoded host fingerprint (hostname, username, platform, arch) as the `q` query parameter, optionally XOR-decrypts the HTTP response with an embedded hex key, writes the decrypted bytes to a hidden file (`.node_<rand>.js`) under /tmp or %LOCALAPPDATA%/Temp, spawns it as a detached Node process with stdio ignored and windowsHide set, calls unref(), and deletes the staging file ~5 seconds later. The script also performs anti-analysis checks (scans `tasklist` for wireshark/fiddler/procmon/x64dbg/ida), introduces a randomized 0.5–2.5s start delay, and skips execution when `npm_config_dry_run` is set to evade dry-run inspection. The combination of plaintext HTTP fetch from a bare IP, payload decryption, hidden filename staging, detached background execution, and anti-analysis gating is a textbook install-time dropper that yields full code execution on the installer's machine and exfiltrates host identification to the attacker for follow-on targeting. ## Source: ghsa-malware (fe1f5e89ee0d8a218fe820d79c429a0178e4266b0720568eba6814f37702bc07) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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 malicious code in @resolvx/core (versions =1.0.0, =2.4.1, =2.4.2) activates during npm install via a postinstall.js script. It connects over plaintext HTTP to a hardcoded IP address, sending a base64-encoded fingerprint of the host environment. The response is optionally XOR-decrypted and saved as a hidden file in temporary directories, then executed as a detached Node.js process with no visible output. The script includes anti-analysis checks for common debugging tools and delays execution to evade detection. This install-time dropper grants attackers full code execution and exfiltrates host data for further targeting. Removal of the package alone may not eliminate persistent malicious components.
Potential Impact
Systems installing the affected versions of @resolvx/core are subject to full compromise due to arbitrary code execution initiated during package installation. Attackers gain persistent control by running hidden background processes and can exfiltrate sensitive host information, including hostname, username, platform, and architecture. All secrets and credentials on compromised machines should be considered exposed and rotated immediately. The presence of anti-analysis and evasion techniques increases the risk of undetected compromise.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Immediate removal of the @resolvx/core package versions 1.0.0, 2.4.1, and 2.4.2 is strongly recommended. Assume full system compromise if these versions were installed; rotate all secrets and credentials from a clean environment. Monitor for suspicious processes and network connections related to the described behavior. Avoid installing packages from untrusted sources and verify package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5798
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-5fvj-272r-496w"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff5168715ace432f00c1
Added to database: 07/14/2026, 09:20:17 UTC
Last enriched: 07/14/2026, 09:26:48 UTC
Last updated: 07/30/2026, 18:43:55 UTC
Views: 13
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.
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.