
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
This project/library provides a comprehensive set of common components and interfaces designed to facilitate and streamline FTP connections, ensuring efficient communication and data transfer...
pip install --upgrade pip
pip install virtualenv
virtualenv --python={{python-version}} .venv
virtualenv --python=python3.11 .venv
source .venv/bin/activate
pip install .
python manager.py run-tests
python manager.py run-tests --test-type functional --pattern "*.py"
python manager.py run-coverage
pip install core-ftp
from core_ftp.clients.sftp import SftpClient
with SftpClient("test.rebex.net", 22, "demo", "password") as client:
for x in client.list_files("/"):
print(x)
from core_ftp.clients.sftp import SftpClient
with SftpClient(
host="localhost", port=23,
user="foo", private_key_path="key_path") as client:
for x in client.list_files("/"):
print(x)
You can use docker to create an SFTP server to test the client using the functional
tests via command python manager.py run-tests --test-type functional --pattern "*.py"
and the following docker
image: <atmoz/sftp> (https://hub.docker.com/r/atmoz/sftp/).
docker run \
-v ./tests/resources/upload:/home/foo/upload:rw \
-p 22:22 -d atmoz/sftp foo:pass:::upload
docker run \
-v ./tests/resources/ssh_keys/id_rsa.pub:/home/foo/.ssh/keys/id_rsa.pub:ro \
-v ./tests/resources/upload:/home/foo/upload:rw \
-p 23:22 -d atmoz/sftp foo::1001
FAQs
This project/library contains common elements related to FTP connections...
We found that core-ftp 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.