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 node.js module for simple(r) handling of radix 2 through 36 base encodings.
npm install baseit
var baseit = require('baseit');
baseit({
input: 120000,
to: 36,
}, function (err, a) {
if (err) throw err;
console.log(a); // "2klc"
});
var baseit = require('baseit');
baseit({
input: 1296,
from: 12,
to: 36,
digits: 6
}, function (err, a) {
if (err) throw err;
console.log(a); // "0001n6"
});
####input (Required) Integer or string to be converted.
####to (Optional) Target encoding integer. If not specified, "to" will default to 10. Example for Base24: { to: 24 }.
####from (Optional) Input encoding integer. If not specified, "from" will default to 10. Example for Base8: { from: 8 }.
####digits (Optional) Minimum number of digits to return. Will append leading "zeros" to meet digit requirement. Example: { digits: 6 }
Node.js already has a good way of handling Base64 encoding.
vows test/*
FAQs
A node.js module for simple(r) handling of radix 2 through 36 base encodings.
The npm package baseit receives a total of 0 weekly downloads. As such, baseit popularity was classified as not popular.
We found that baseit 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.