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-module-service (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:03:06 UTC)
Source: GCVE Database
Product: npm-module-service

Description

The npm package 'npm-module-service' version 3.7.2 contains malicious code that performs an HTTPS request to a hardcoded IP address and executes attacker-supplied JavaScript code with full Node.js privileges on the host. The module masquerades as a CDN icon helper but actually targets an unauthenticated bare-IP host, enabling remote code execution when the module is imported and used.

Affected software

npmghsa
npm-module-service
Affected versions
=3.7.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/05/2026, 17:14:46 UTC

Technical Analysis

The default export function 'getPlugin' in 'index.js' of the 'npm-module-service' package (version 3.7.2) performs an HTTPS request to a hardcoded bare-IP endpoint (https://46.183.25.232:45000/icons/107). It retrieves the 'data.credits' field from the response and passes it to a Function constructor that is invoked with Node.js globals (require, module, process, Buffer, Promise) bound in scope. This results in execution of attacker-supplied JavaScript code with full privileges on the host running the package. The module uses variables such as 'iconDomain', 'font-awesome', 'cdnjs', and 'bearrtoken' to present itself as a CDN icon helper, but the actual network target is unrelated and unauthenticated, indicating malicious intent.

Potential Impact

Any consumer that imports and calls this module version executes arbitrary JavaScript code supplied by the attacker with full Node.js privileges on the host system. This can lead to complete compromise of the host environment, including data theft, system manipulation, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately avoid using version 3.7.2 of 'npm-module-service'. Verify the integrity and source of npm packages before installation. Monitor for updates from the package maintainer or npm security advisories for an official fix. Until a fix is available, do not install or use this package version.

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-12404
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735743bf8831d539159c2c

Added to database: 08/05/2026, 15:31:15 UTC

Last enriched: 08/05/2026, 17:14:46 UTC

Last updated: 08/05/2026, 17:14:46 UTC

Views: 2

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