{"id":"MAL-2025-6214","revision":"2cd50c2342264dfb959a634fa9bae552","records":[{"revision":"2cd50c2342264dfb959a634fa9bae552","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2025-6214","aliases":[],"title":"Malicious code in ecinc-cloud-moaxmpp (npm)","description":"Package exhibits multiple malicious behaviors: Office doc access/encryption, DB interaction, local storage clearing, arbitrary code execution, /dev/shm ref. The code includes a native bridge that allows it to execute arbitrary SQL queries on a mobile device’s database when used within a specific mobile application context. The `ecmoaxmpp.umd.js` file revealed a highly suspicious pattern. The code includes a function that checks if `window.mappType` is not equal to `'web'`. When this condition is met, it proceeds to call `window.$wv.databaseHandle`, a function that acts as a bridge to a native mobile application. The methods invoked through this bridge include 'execute', 'rawQuery', 'rawInsert', 'rawUpdate', and 'rawDelete', all of which indicate direct, raw access to a mobile device’s database.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (278b09ddb42295dff2bd8c843131f7f3c9d4d793bb42dd797adbc9c6c825a656)\nThe package was found to contain malicious code or consuming dependency that contains malicious code\n","state":0,"publishedAt":"2025-07-15T09:15:00+00:00","modifiedAt":"2026-07-08T23:01:49.0423844+00:00","affected":[{"ecosystem":"npm","name":"ecinc-cloud-moaxmpp","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["9.7.1","9.7.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://platform.safedep.io/community/malysis/01K01T6C4JN4Q19HD1PAB151RZ","https://www.npmjs.com/package/ecinc-cloud-moaxmpp/v/9.7.1","https://www.npmjs.com/package/ecinc-cloud-moaxmpp/v/9.7.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2025-6214","license":"OSV · upstream source license applies","key":"osv:MAL-2025-6214","identifiers":["MAL-2025-6214"]},"retained":false,"historicalAffected":[]}],"coverage":[]}