
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
capacitor-sms-inbox
Advanced tools
A capacitor plugin to read SMS inbox
npm install capacitor-sms-inbox
npx cap sync android
checkPermissions()
requestPermissions()
getCount(...)
getSMSList(...)
getRawSMSList(...)
checkPermissions() => Promise<PermissionStatus>
Returns: Promise<PermissionStatus>
requestPermissions() => Promise<PermissionStatus>
Returns: Promise<PermissionStatus>
getCount(options: { filter?: SMSFilter; }) => Promise<{ count: number; }>
Param | Type |
---|---|
options | { filter?: SMSFilter; } |
Returns: Promise<{ count: number; }>
getSMSList(options: { projection?: Projection; filter?: SMSFilter; }) => Promise<{ smsList: SMSObject[]; }>
Param | Type |
---|---|
options | { projection?: Projection; filter?: SMSFilter; } |
Returns: Promise<{ smsList: SMSObject[]; }>
getRawSMSList(options: { filter?: SMSFilter; }) => Promise<{ rawSmsList: any; }>
Returns a raw sms object (all columns). Its like running SELECT * FROM ..
E.g.
{
"_id": 33,
"thread_id": 153,
"address": "TEST",
"person": null,
"date": 1679232404564,
"date_sent": 1679562604444,
"protocol": 0,
"read": 0,
"status": -1,
"type": 1,
"reply_path_present": 0,
"subject": null,
"body": "SMS body",
"service_center": "+918299901123",
"locked": 0,
"sub_id": 1,
"error_code": 0,
"creator": "com.google.android.apps.messaging",
"seen": 1,
"priority": -1
}
Note: This is a raw query and ineffecient. Use with caution
Param | Type |
---|---|
options | { filter?: SMSFilter; } |
Returns: Promise<{ rawSmsList: any; }>
Prop | Type |
---|---|
sms | PermissionState |
Prop | Type | Default |
---|---|---|
type | MessageType | MessageType.INBOX |
id | number | |
threadId | number | |
body | string | |
bodyRegex | string | |
address | string | |
addressRegex | string | |
minDate | number | |
maxDate | number | |
indexFrom | number | |
maxCount | number |
Prop | Type |
---|---|
id | number |
threadId | number |
type | MessageType |
address | string |
creator | string |
person | string |
date | number |
dateSent | number |
subject | string |
body | string |
Prop | Type | Default |
---|---|---|
id | boolean | true |
threadId | boolean | true |
type | boolean | true |
address | boolean | true |
creator | boolean | false |
person | boolean | false |
date | boolean | true |
dateSent | boolean | false |
subject | boolean | true |
body | boolean | true |
'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'
Members | Value |
---|---|
ALL | 0 |
INBOX | 1 |
SENT | 2 |
DRAFT | 3 |
OUTBOX | 4 |
FAILED | 5 |
QUEUED | 6 |
FAQs
A capacitor plugin to read SMS inbox
The npm package capacitor-sms-inbox receives a total of 20 weekly downloads. As such, capacitor-sms-inbox popularity was classified as not popular.
We found that capacitor-sms-inbox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.