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.
OAuth Nodejs Module for bitly. As well as my cover letter for the API Hacker Job
This minimalistic module will allow you to interface bitly's API using Nodejs. This module works specifically with OAuth, therefore most endpoints should be accessible.
Bitly's API can be found here.
Feel more than free to submit pull requests or comments.
Licensed under the MIT License.
npm install bitly2
var bitly, bitlyClient;
bitlyClient = require('bitly2');
// Replace proccess.env.bitly_user & process.env.bitly_password with your own credentials!
bitly = new bitlyClient(process.env.bitly_user, process.env.bitly_password, function(error) {
if (!error) {
bitly.get('highvalue', {'limit': 2}, function(error, result) {
if (!error) {
console.log(result);
}
else {
console.log(error);
}
});
}
});
Why would you build yet another module? After a quick scan all of the current modules I found were using the
deprecated apiKey
method. I figured I might just implement a OAuth one. Keeping it simple :)
Plus this is my cover letter :)
FAQs
OAuth Nodejs Module for bitly. As well as my cover letter for the API Hacker Job
We found that bitly2 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.