Malicious code in ecinc-cloud-moaxmpp (npm)
The npm package ecinc-cloud-moaxmpp versions 9.7.1 and 9.7.2 contains malicious code exhibiting multiple harmful behaviors including Office document access and encryption, database interaction, local storage clearing, and arbitrary code execution. It includes a native bridge enabling execution of arbitrary SQL queries on a mobile device's database within a specific mobile application context. This allows direct raw access to the device's database through functions such as execute, rawQuery, rawInsert, rawUpdate, and rawDelete. This malicious functionality is triggered when the environment is not a web context, indicating targeted misuse in mobile app environments.
AI Analysis
Technical Summary
The ecinc-cloud-moaxmpp npm package versions 9.7.1 and 9.7.2 contain embedded malicious code that performs unauthorized actions including accessing and encrypting Office documents, manipulating local storage, and executing arbitrary code. A key component is a native bridge that interacts with a mobile application's database, allowing raw SQL commands to be executed. This bridge is invoked when the JavaScript environment variable window.mappType is not 'web', indicating the code targets mobile app contexts. The malicious code leverages functions such as execute, rawQuery, rawInsert, rawUpdate, and rawDelete to perform direct database operations, posing significant risk to data integrity and confidentiality on affected mobile devices.
Potential Impact
The malicious code can compromise data confidentiality and integrity by accessing and encrypting Office documents, clearing local storage, and executing arbitrary code. The ability to run raw SQL queries on a mobile device's database via a native bridge can lead to unauthorized data manipulation or exfiltration within the mobile application context. This poses a risk of data loss, corruption, or unauthorized disclosure on affected devices using the compromised package versions.
Mitigation Recommendations
No official patch or remediation has been provided for this malicious package. Users and organizations should immediately discontinue use of ecinc-cloud-moaxmpp versions 9.7.1 and 9.7.2. Review and remove these versions from projects and dependency trees. Consider replacing the package with a trusted alternative. Monitor for any unusual database or application behavior on affected mobile devices. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates on remediation.
Malicious code in ecinc-cloud-moaxmpp (npm)
Description
The npm package ecinc-cloud-moaxmpp versions 9.7.1 and 9.7.2 contains malicious code exhibiting multiple harmful behaviors including Office document access and encryption, database interaction, local storage clearing, and arbitrary code execution. It includes a native bridge enabling execution of arbitrary SQL queries on a mobile device's database within a specific mobile application context. This allows direct raw access to the device's database through functions such as execute, rawQuery, rawInsert, rawUpdate, and rawDelete. This malicious functionality is triggered when the environment is not a web context, indicating targeted misuse in mobile app environments.
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 ecinc-cloud-moaxmpp npm package versions 9.7.1 and 9.7.2 contain embedded malicious code that performs unauthorized actions including accessing and encrypting Office documents, manipulating local storage, and executing arbitrary code. A key component is a native bridge that interacts with a mobile application's database, allowing raw SQL commands to be executed. This bridge is invoked when the JavaScript environment variable window.mappType is not 'web', indicating the code targets mobile app contexts. The malicious code leverages functions such as execute, rawQuery, rawInsert, rawUpdate, and rawDelete to perform direct database operations, posing significant risk to data integrity and confidentiality on affected mobile devices.
Potential Impact
The malicious code can compromise data confidentiality and integrity by accessing and encrypting Office documents, clearing local storage, and executing arbitrary code. The ability to run raw SQL queries on a mobile device's database via a native bridge can lead to unauthorized data manipulation or exfiltration within the mobile application context. This poses a risk of data loss, corruption, or unauthorized disclosure on affected devices using the compromised package versions.
Mitigation Recommendations
No official patch or remediation has been provided for this malicious package. Users and organizations should immediately discontinue use of ecinc-cloud-moaxmpp versions 9.7.1 and 9.7.2. Review and remove these versions from projects and dependency trees. Consider replacing the package with a trusted alternative. Monitor for any unusual database or application behavior on affected mobile devices. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2025-6214
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a4f6c6c68715ace4315a8fe
Added to database: 07/09/2026, 09:39:56 UTC
Last enriched: 07/09/2026, 10:06:51 UTC
Last updated: 09/08/2026, 02:09:46 UTC
Views: 15
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.