Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
A library for transferring files from an http link to an SFTP server.
$ npm install http-sftp
var client = require('http-sftp');
var scpOpts = {
host: 'test.rebex.net',
username: 'demo',
password: 'XXXXXX' //you can also use `privateKey` with a key file and omit password
path: ''
}
var link = 'https://raw.githubusercontent.com/request/request/master/README.md';
var destination = '/public/test.txt';
client.send(link, scpOpts, destination, function(err, resp){
err ? console.error(err) : console.log('completed transfer');
});
Transfer an http file to SFTP
FAQs
Transfer files from http links to SFTP
The npm package http-sftp receives a total of 0 weekly downloads. As such, http-sftp popularity was classified as not popular.
We found that http-sftp 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.