Skip to main content

Malicious code in @shared-runtime/modules (npm)

0
High
Published: 09/18/2026 (09/18/2026, 20:25:02 UTC)
Source: GCVE Database
Product: @shared-runtime/modules

Description

The npm package @shared-runtime/modules version 9.9.10 contains malicious code that collects the installer's OS username, hostname, and current working directory basename. It then leaks this information via DNS queries to an attacker-controlled domain. The malicious behavior is obfuscated and triggered both during installation and when the package is required, while suppressing errors to avoid detection.

Affected software

npmghsa
@shared-runtime/modules
Affected versions
=9.9.10

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: 09/19/2026, 01:36:27 UTC

Technical Analysis

@shared-runtime/[email protected] executes code that gathers sensitive environment information including os.userInfo().username, os.hostname(), and the basename of the current working directory. This data is exfiltrated through DNS resolution queries to a subdomain constructed dynamically and sent to oob.algamil7x.xyz, controlled by the attacker. The code uses obfuscation techniques by storing strings as hex byte arrays and reconstructing them at runtime, and loads the os and dns modules via indirect means to evade static detection. The malicious code runs both at install time (via package.json install script) and at runtime when the module is required, with errors caught and suppressed to ensure npm install reports success. The README falsely claims no network calls occur in module scope, contradicting the actual behavior.

Potential Impact

Sensitive environment information such as the OS username, hostname, and current working directory is leaked to an attacker-controlled domain. This can lead to privacy violations and may aid attackers in further reconnaissance or targeted attacks. The malicious code executes silently during installation and runtime, increasing the risk of unnoticed data exfiltration.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or using @shared-runtime/modules version 9.9.10. Review and remove this package if present in your environment. Monitor for suspicious DNS queries to unknown domains such as oob.algamil7x.xyz. Check vendor advisories or npm security advisories for updates or patches.

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-16291
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6aade4fd55bf5e2cf5eda93e

Added to database: 09/19/2026, 01:27:25 UTC

Last enriched: 09/19/2026, 01:36:27 UTC

Last updated: 09/19/2026, 02:01:10 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