
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
Modern SCP deployment for Gulp 4/5+ (Node >=20)
Secure file uploads via SSH2 with password & privateKey support
npm install gulp-scp3 --save-dev
// ESM
import gulp from "gulp";
import scp from "gulp-scp3";
export default () =>
gulp.src("dist/**/*").pipe(
scp({
host: "your-server.com",
username: "deploy",
dest: "/var/www/app/",
// password: 'pass123', OR ↓
privateKey: "./id_rsa", // 🆕 v1.0.0
passphrase: "keypass123", // opcional
}),
);
// CommonJS
const gulp = require("gulp");
const scp = require("gulp-scp3");
gulp.task("deploy", () =>
gulp.src("**/*.js").pipe(
scp({
host: "192.168.1.100",
port: 22, // 🆕 default:22
username: "user",
password: "pass", // legacy support ✅
dest: "/home/user/app/",
}),
),
);
| Option | Type | Default | Description |
|---|---|---|---|
host | String | localhost | Server hostname/IP |
port | Number | 22 | SSH port 🆕 |
username | String | admin | SSH username |
password | String | - | Password auth ✅ legacy |
privateKey | String | - | Path to private key 🆕 |
passphrase | String | - | Key passphrase 🆕 |
dest | String | /home/[username] | Remote destination |
npm test
MIT © jinvillaz
Type: String
Default value: localhost
A string value that is the host of the server.
Type: Number
Default value: 22
The ssh port of the server. Note this option wasn't tested.
Type: String
Default value: admin
The username of the server.
Type: String
The password of the user on the remote server.
Type: String
Default value: /home/username
Remote server directory
If you want to support this free project. Any help is welcome. You can donate by clicking one of the following links:
Copyright (c) 2019 jinvillaz. Licensed under the MIT license.
FAQs
Modern TypeScript Gulp plugin for SCP via SSH2 (Node 20+, Gulp 4/5)
We found that gulp-scp3 demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.