Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-5098 — js-shared-modules

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in js-shared-modules (npm)

Source: amazon-inspector

package.json declares "postinstall": "node poc.js", which fires automatically on every npm install. poc.js reads os.hostname(), hex-encodes it, and issues an HTTPS GET to zcpesvvighyuzqlzkqgdydwp9jn54hfeg.oast.fun (an Interactsh out-of-band callback host), exfiltrating the installer's hostname to a third-party canary. The package has no legitimate functionality — index.js is an empty module.exports = {} and the source banner self-identifies as a dependency-confusion proof-of-concept squatting a generic internal-style name (js-shared-modules) to shadow a private package. Any installer who resolves this public package leaks their host identity to the canary domain.

Source: ghsa-malware

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.

Source: ossf-package-analysis

The OpenSSF Package Analysis project identified 'js-shared-modules' @ 1.11.7 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Affected software

MAL-2026-5098 is recorded against 1 package.

  • js-shared-modules

Timeline and source

Published on 31 May 2026 and last revised on 23 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

www.npmjs.com (Package)
github.com (Advisory)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-05-31
Updated 2026-08-20
Modified 2026-07-23
Fix URL N/A

Affected Packages

Software From version Fixed in
js-shared-modules — —

Free Vulnerability Check

Is your site affected by MAL-2026-5098?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-5098 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓