Skip to main content
Menu
Advisories

Malicious code in math-helpers-extra-utils (npm)

GHSA-5H37-69P7-R37WPublished Updated GitHubMalware

Description

Source: amazon-inspector (cc75601c6416f2ac62b69fb197e0338f1e9a878fe15e83a48fc25c9aea8bbe55)

math-helpers-extra-utils@1.0.0 is advertised as 'Extra math helper utilities' and ships an empty index.js, but also includes thunderboltRegistry.js which registers factories under Wix-internal registry names (thunderboltRegistry, siteAssetsRegistry, editorRegistry, corvidRegistry, dataBindingRegistry, thunderboltBuilderRegistry, thunderboltPreviewRegistry) and a manifest referencing static.parastorage.com/unpkg/math-helpers-extra-utils@1.0.0/. When loaded via Wix's dynamic registry loader, a top-level IIFE in thunderboltRegistry.js executes child_process.execSync for id, hostname, and uname -a, collects platform, pid, and Node version, and issues a GET with those fields to the hardcoded third-party collector webhook.site/0492a36c-4d7b-408a-865c-226db25987ba. The declared package name is unrelated to Wix thunderbolt, and the registry-name hijack is the mechanism by which the exfiltration payload is reached — a dependency-confusion shape targeting Wix's internal build pipeline, with host reconnaissance of the building environment sent off-host.

---

Credit: OpenSSF (source)

Affected versions

References