Malicious code in @shared-runtime/modules (npm)
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.
AI Analysis
Technical Summary
@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.
Malicious code in @shared-runtime/modules (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.