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.
github.com/cvrapidk/sftp
This tool can download and upload files to a remote SFTP server.
$ make
Parameter | Description |
---|---|
server | FQDN to the remote server |
username | Username |
password | Password |
i | Set path to SSH private key |
F | Set path to SSH config |
remote-file | Full path to remote file |
output-file | Full path to output file (download) |
input-file | Full path to input file (upload) |
overwrite-file | Overwrite file |
port | Remote server port |
You can also use $ sftp --remote-file remotefile.csv --output-file remotefile.csv user@server
Please be aware that user@server needs to be at the end of the argument list due to drawbacks in the Go flag package.
$ sftp --server example.com --username test --password test --remote-file remotefile.csv --output-file remotefile.csv
$ sftp --server example.com --username test --password test --remote-file remotefile.csv --input-file remotefile.csv
FAQs
Unknown package
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.