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.
Official Droplr API client for Javascript. It works both on frontend & backend using Axios library.
yarn add droplr-api
yarn install
yarn test
You can also run functional tests (invoking real API) using your Droplr credentials:
USERNAME=my@email.com PASSWORD=MyPassword yarn test:functional
const Droplr = require('droplr-api');
const client = new Droplr.Client({
auth: new Droplr.BasicAuth('username', 'password'),
});
const drops = await client.drops.list();
const fileDrop = await client.drops.create({
type: 'FILE',
variant: 'image/png',
title: 'file.png',
content: fs.createReadStream('some/path/file.png'),
});
const linkDrop = await client.drops.create({
type: 'LINK',
content: 'http://some-long-url.com/',
});
const noteDrop = await client.drops.create({
type: 'NOTE',
variant: 'text/plain',
content: 'My note',
});
When creating Droplr.Client, you can optionally specify auth class:
client.drops
client.users
client.boards
client.teams
client.rootRedirect
FAQs
Official Droplr API Client for Javascript
The npm package droplr-api receives a total of 39 weekly downloads. As such, droplr-api popularity was classified as not popular.
We found that droplr-api 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.