
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
This module provides quick access to the sftp functionality in mscdex/ssh2. In addition it attempts to create an API that is similar to mscdex/node-ftp with the intent of making them interchangable.
I intend on implementing the following methods in a compatible way with mscdex/node-ftp:
All other methods will be the same as defined in ssh2-streams/SFTPStream.
var Client = require('sftpjs');
var c = Client();
c.on('ready', function () {
c.list(function (err, list) {
if (err) throw err;
console.dir(list);
c.end();
});
}).connect({
host : 'thanks'
, user : 'for'
, password : 'allthefish'
});
npm install sftpjs
MIT
FAQs
sftp api similar to ftp using ssh2
The npm package sftpjs receives a total of 63 weekly downloads. As such, sftpjs popularity was classified as not popular.
We found that sftpjs 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.