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.
A wrapper for the Kippt API.
You can install using Node Package Manager (npm)
npm install node-kippt
Or define in your package.json
dependencies
Refer to the Kippt developer API page for information about the API response.
var Kippt = require('node-kippt');
// Initialize the KipptAPI
// You can easily obtain the API token by running
// curl --user name:password https://kippt.com/api/account/
var kippt = new Kippt.KipptAPI({
username: 'YOUR_USERNAME',
api_token: 'API_TOKEN'
});
// Returns the full clips listing
kippt.clips.all(function(error, data) {
if(!error) console.log(data);
});
// Returns the clip information associated with a clip ID
kippt.clips.getById(CLIP_ID, function(error, data) {
if(!error) console.log(data);
});
// add to the clips list
kippt.clips.add({
url: "Clip's url", // required
title: "Clip's title",
list: "resource_uri for clip's list",
notes: "Notes for the clip",
is_starred: Boolean,
is_read_later: Boolean
}, function(error, data) {
if(!error) console.log(data);
});
// update the clip, refer to above options
kippt.clips.update({
id: CLIP_ID, // require
other_options: '' // refer to above options
}, function(error, data) {
if(!error) console.log(data);
});
// remove the clip
kippt.clips.remove(CLIP_ID, function(error, data) {
if(!error) console.log('SUCCESS');
});
// Returns the full lists object
kippt.lists.all(function(error, data) {
if(!error) console.log(data);
});
// Returns the list information associated with a list ID
kippt.lists.getById(LIST_ID, function(error, data) {
if(!error) console.log(data);
});
// add to the list
kippt.lists.add({
title: "list title", // required
is_private: Boolean
}, function(error, data) {
if(!error) console.log(data);
});
// update the list
kippt.lists.update({
id: LIST_ID, // require
title: "list title",
is_private: Boolean
}, function(error, data) {
if(!error) console.log(data);
});
// remove an item from the list
kippt.clips.remove(LIST_ID, function(error, data) {
if(!error) console.log('SUCCESS');
});
FAQs
A wrapper for the kippt.com API
We found that node-kippt 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.