Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
sms77-client
Advanced tools
This library relies on the global fetch API. To use this library with Node.js, node-fetch is required.
For compatibility with Node.js versions < 12, please also install the globalThis polyfill.
npm install sms77-client
yarn add sms77-client
<script src='https://unpkg.com/browse/sms77-client/dist/Sms77Client.umd.js'></script>
// const globalThis = require('globalthis')(); // uncomment if NodeJS < NodeJS versions < 12
// globalThis.fetch = require('node-fetch').default; // uncomment in NodeJS environments
// const Sms77Client = require('sms77-client'); // uncomment in NodeJS environments
new Sms77Client('MY_SUPER_SECRET_SMS77_IO_API_KEY!')
.balance()
.then(balance => console.log(`Current balance: ${balance}`))
.catch(console.error);
git clone https://github.com/seven-io/js-client
cd js-client && npm install
SMS77_API_KEY=InsertSms77ApiKey npm run test
Set SMS77_LIVE_TEST=1
for live tests performing actual HTTP requests.
Set SMS77_DEBUG=1
for details printed to stdout
.
Need help? Feel free to contact us.
FAQs
Official API client for seven
The npm package sms77-client receives a total of 2,796 weekly downloads. As such, sms77-client popularity was classified as popular.
We found that sms77-client 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.