Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
pyftpclient is a library that is made to make work with FTP/SFTP simple. it has the common functions that you would use when working with a regular file system, like open a file listdir, and glob, delete file or directory. It also has funcitons to simple download/upload of the files and directories from/to remote drive. The library takes care about opening and closing the sessions, so you don't have to worry about it
SFTPClient example
from pyftpclient.sftp_client import SFTPClient
connection_config = {
'hostname': '127.0.0.1',
'username': 'viewonly',
'password': 'viewonly'
}
with SFTPClient(**connection_config) as sftp:
print(sftp.listdir('/')
sftp.download_file('/home/src_file'), '~/dst_file')
sftp.download_tree(src_dir, dst_dir)
FTPClient example
from pyftpclient.ftp_client import FTPClient
connection_config = {
'hostname': '127.0.0.1',
'username': 'viewonly',
'password': 'viewonly'
'port': 21
}
with FTPClient(**connection_config) as ftp:
print(ftp.listdir('/')
ftp.download_file('/home/src_file'), '~/dst_file')
ftp.download_tree(src_dir, dst_dir)
FAQs
ftp client wrapper to simplify working with paramiko or ftplib
We found that pyftpclient 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.