
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.
github.com/vatsal278/go-api-with-authentication-mechanism
clone the repo : git clone https://github.com/vatsal278/Go-Api-with-Authentication-Mechanism.git
Pull official mongodb image from docker hub : docker pull mongo
build the docker file : docker build --name Api-image .
Create a new isolated docker network : docker network create api_net
Start a mongo container instance : docker run --network api_net --name mongo-container --publish 9091:27017 -d mongo
Check the ip address of mongo container in my case IP was 172.0.0.2
keep the port number as :27017
as it is default port for mongo db : docker network inspect api_net
*go run -e DBADDRESS=172.0.0.2:27017 main.go
docker run --network api_net --name api-container --e DBADDRESS=172.0.0.2:27017 --publish 9092:8080 Api-image
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
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.