Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@gosmsge/gosmsge-node
Advanced tools
Node JS client module to send SMS messages using GOSMS.GE SMS Gateway.
To use this library, you must have a valid account on https://gosms.ge.
Please note SMS messages sent with this library will be deducted by your GOSMS.GE account credits.
For any questions, please contact us at info@gosms.ge
$ npm install @gosmsge/gosmsge-node --save
const SMS = require('@gosmsge/gosmsge-node')
const sms = new SMS('api_key')
sms.send('995555555555', 'Hello!', 'GOSMS.GE')
.then(body => console.log(body)) // returns {"code": string,"message": string,"message_id": number,"balance": number,"user": string}
.catch(err => console.log(err.message))
const SMS = require('@gosmsge/gosmsge-node')
const sms = new SMS('api_key')
sms.status('message_id')
.then(body => console.log(body)) // returns { id: number,sender: string,receiver: string,message: string',message_id: string,amount: number,status: string }
.catch(err => console.log(err.message))
const SMS = require('@gosmsge/gosmsge-node')
const sms = new SMS('api_key')
sms.balance()
.then(body => console.log(body)) // returns { balance: number, user: string }
.catch(err => console.log(err.message))
OTP SMS send
const SMS = require('@gosmsge/gosmsge-node')
const sms = new SMS('api_key')
sms.sendOtp('995555555555')
.then(body => console.log(body))
.catch(err => console.log(err.message))
Response
{
"success": true,
"hash": "hashkey",
"to": "995123456789",
"sendAt": "2020-05-24T09:56:02.449Z",
"encode": "default",
"segment": 1,
"smsCharacters": 57
}
OTP SMS verification
const SMS = require('@gosmsge/gosmsge-node')
const sms = new SMS('api_key')
sms.verifyOtp('995555555555', '23423uhe784375yf234n59', 1234) // phone number, hash, code
.then(body => console.log(body))
.catch(err => console.log(err.message))
Response
{
"success": true,
"verify": true
}
You can check out our website https://www.gosms.ge
FAQs
Sms send package for GOSMS.ge
The npm package @gosmsge/gosmsge-node receives a total of 22 weekly downloads. As such, @gosmsge/gosmsge-node popularity was classified as not popular.
We found that @gosmsge/gosmsge-node 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.