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/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
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.