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/rte-se/udp_echo_server
Needed a online UDP echo server for some experimentation with Nordic nRF9160 and LTE-m and NB-IoT. The echo server is of course generic. This repo also contain a test client, deployment instructions and some experimentation with Distroless.
I am a strong believe in keeping complexity down. I believe that Distroless and Multistage build succeed in that.
One valid critic is that perhaps one type of complexity is just changed for another. Some times that is the case. E.g. How to debug? Mostly solvable but with added complexity. There are no silver bullets but for my case I would argue that it is a perfect match.
See distroless-go-hello for an minimal example.
Terminal 1:
cd echo_server
go run main.go
Terminal 2:
cd test_client
go run main.go 0.0.0.0
Terminal 1:
cd echo_server
docker build --rm -t echo .
docker run --rm -p 1234:1234/udp -t echo
Terminal 2:
cd test_client
go run main.go
Terminal:
cd test_client
go run main.go [SERVER_IP]
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.