Malicious code in messenger-style (npm)
The npm package 'messenger-style' version 1.0.1 contains malicious code that executes during installation. Instead of providing messaging functionality, its preinstall script collects sensitive host information such as hostname, username, home directory, DNS servers, and contents of /etc/passwd and /etc/hosts. This data is then exfiltrated via HTTPS to an attacker-controlled domain used for out-of-band interaction. No legitimate functionality is present in the package.
AI Analysis
Technical Summary
The 'messenger-style' npm package version 1.0.1 includes a malicious preinstall hook that runs 'node index.js' during installation. This script gathers host identifiers including the operating system hostname, the current user's username, home directory path, DNS server information, and reads sensitive system files (/etc/passwd and /etc/hosts). The collected data is sent over HTTPS to a hardcoded attacker-controlled domain (pkdzrreksftymvx4d0o5olnxiooic80x.oastify.com), which is a Burp Collaborator out-of-band interaction endpoint. The package name suggests messaging functionality, but no such features exist; the sole purpose is reconnaissance and data exfiltration.
Potential Impact
The malicious package compromises the confidentiality of the host system by exfiltrating sensitive system and user information during installation. This can lead to further targeted attacks or system compromise if the attacker leverages the collected data. There is no indication of direct code execution beyond the preinstall script or persistence mechanisms, but the data leakage itself poses a significant privacy and security risk.
Mitigation Recommendations
No official patch or remediation is available for this package version. The package should be considered malicious and avoided entirely. Users and organizations should audit their dependencies to ensure 'messenger-style' version 1.0.1 is not installed. Remove the package if found and investigate any potential data exposure. Use trusted sources and verify package integrity before installation.
Malicious code in messenger-style (npm)
Description
The npm package 'messenger-style' version 1.0.1 contains malicious code that executes during installation. Instead of providing messaging functionality, its preinstall script collects sensitive host information such as hostname, username, home directory, DNS servers, and contents of /etc/passwd and /etc/hosts. This data is then exfiltrated via HTTPS to an attacker-controlled domain used for out-of-band interaction. No legitimate functionality is present in the package.
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
The 'messenger-style' npm package version 1.0.1 includes a malicious preinstall hook that runs 'node index.js' during installation. This script gathers host identifiers including the operating system hostname, the current user's username, home directory path, DNS server information, and reads sensitive system files (/etc/passwd and /etc/hosts). The collected data is sent over HTTPS to a hardcoded attacker-controlled domain (pkdzrreksftymvx4d0o5olnxiooic80x.oastify.com), which is a Burp Collaborator out-of-band interaction endpoint. The package name suggests messaging functionality, but no such features exist; the sole purpose is reconnaissance and data exfiltration.
Potential Impact
The malicious package compromises the confidentiality of the host system by exfiltrating sensitive system and user information during installation. This can lead to further targeted attacks or system compromise if the attacker leverages the collected data. There is no indication of direct code execution beyond the preinstall script or persistence mechanisms, but the data leakage itself poses a significant privacy and security risk.
Mitigation Recommendations
No official patch or remediation is available for this package version. The package should be considered malicious and avoided entirely. Users and organizations should audit their dependencies to ensure 'messenger-style' version 1.0.1 is not installed. Remove the package if found and investigate any potential data exposure. Use trusted sources and verify package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12796
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a73573ebf8831d539153690
Added to database: 08/05/2026, 15:31:10 UTC
Last enriched: 08/05/2026, 16:52:48 UTC
Last updated: 09/07/2026, 22:03:03 UTC
Views: 17
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.