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.
Utilities to resolute and parse ssh url including scp-like syntax SSH protocol.
$ npm install ssh-url --save
var url = require('ssh-url');
var parsed = url.parse('git@github.com:kaelzhang/node-ssh-url.git');
// -> {
// protocol: null,
// user: 'git',
// hostname: 'github.com',
// pathname: '/kaelzhang/node-ssh-url.git'
// }
url.format(parsed);
// -> git@github.com:kaelzhang/node-ssh-url.git
Takes a SSH URL string, and returns an object.
For now, urlObj
only contains four properties.
null|String
if null, indicates that urlStr
uses scp-like syntax.String
String
for now, there's no port.String
starts with '/'
Takes a parsed SSH URL object, and returns a formatted URL string.
FAQs
Utilities to resolute and parse ssh url including scp-like syntax SSH protocol.
The npm package ssh-url receives a total of 185 weekly downloads. As such, ssh-url popularity was classified as not popular.
We found that ssh-url 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.