Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in npm-wold (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 04:19:28 UTC)
Source: GCVE Database
Product: npm-wold

Description

The npm package 'npm-wold' versions 1.1.1 and 1.1.2 contain malicious code that executes during installation. A postinstall script fetches JSON data from a remote attacker-controlled server and dynamically invokes a global function with attacker-supplied arguments, enabling arbitrary code execution on the installer's machine. This behavior is unexpected for the package's advertised functionality as an object-flatten utility.

Affected software

npmghsa
npm-wold
Affected versions
=1.1.1=1.1.2

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

AILast updated: 08/19/2026, 14:26:20 UTC

Technical Analysis

The 'npm-wold' package versions 1.1.1 and 1.1.2 include a postinstall lifecycle script that performs an HTTPS GET request to a hardcoded remote endpoint. The response JSON dictates which global function to invoke and with what argument, allowing the remote server to execute arbitrary code during package installation. This dynamic invocation is implemented via 'fetch' followed by 'globalThis[data.success](data.id)', where both the function name and argument are attacker-controlled. The package's legitimate functionality does not justify such behavior, indicating a staged or injected malicious loader.

Potential Impact

This vulnerability allows an attacker to execute arbitrary code on the system of anyone installing the affected versions of the 'npm-wold' package. The code runs with the privileges of the user performing the installation, potentially leading to system compromise, data theft, or further malware installation.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or updating to versions 1.1.1 and 1.1.2 of 'npm-wold'. Verify package integrity and source before installation. Monitor vendor advisories for updates or official fixes. Consider removing the package if already installed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14252
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c0acd9273b4925241e

Added to database: 08/19/2026, 13:50:56 UTC

Last enriched: 08/19/2026, 14:26:20 UTC

Last updated: 08/19/2026, 15:16:29 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses