
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.
When we initialize a container, if we accidentally make a port mapping mistake, we need to rebuild the container or modify the docker configuration file manually.
This tool is designed to automate the process of modifying docker configuration files.
This demo shows how container-cli can modify the port mapping of a container named python
admin@ubuntuyyy:~$ cc #short of container-cli
current user is not root
? confirm close docker? Yes
INFO | container_cli:__close_docker:17 - closing docker
0 Warning: Stopping docker.service, but it can still be activated by:
docker.socket
? Please input container name: python
Please enter ALL host ports and their corresponding ports in the container one by one
? Please input host port, empty to exit 23
? Please input container port, empty to exit 22
? Please input host port, empty to exit
? confirm? Yes
INFO | container_cli.change_ports:change_ports:59 - finished
docker restarted, please restart your container
By default, ubuntu doesn't have a way to install pipx using pip, so we have to:
sudo apt-get update && sudo apt-get install pipx && pipx ensurepath
After that we need to shut down the terminal and reenter it (or just reboot)
pipx install container-cli
Type cc
or container_cli
on the command line to start, and follow the prompts.
FAQs
✨A non-antihuman way to modify docker's container port mapping✨
We found that container-cli 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.