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.
sms-activate-org
Advanced tools
This package fully supports all the https://sms-activate.org/ API with Typescript types.
Install the package using npm
npm install sms-activate-org
import { SMSActivate, SMSNumber } from 'sms-activate-org';
const api = new SMSActivate('myapikey'); //OR SMS_ACTIVATE_API_KEY=myapikey in .env
(async () => {
const balance = await api.getBalance();
console.log(`My balance is ${balance}`);
})();
/* Getting a number to activate Gmail services,
* the wrapper automatically resolves country and services names */
api.getNumber({ service: 'Gmail', country: 'France' }).then(async (number: SMSNumber) => {
// Do your stuff with number.phoneNumber here,
// like writing it in the number field
await number.ready();
// Press the "send sms" button, wait for 180s to catch the code
number.getCode(180).then(async code => {
// Do your stuff with the verification code there
await number.success();
}).catch(err => {
console.error(err);
number.failed();
})
}).catch(console.error);
FAQs
A full NodeJS API for sms-activate.org
The npm package sms-activate-org receives a total of 5 weekly downloads. As such, sms-activate-org popularity was classified as not popular.
We found that sms-activate-org demonstrated a not healthy version release cadence and project activity because the last version was released 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.