
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
github.com/MarlikAlmighty/mobile
Advanced tools
Open API documentation
$ swagger serve ./swagger-api/swagger.yml
Export environment variables
$ export DBCONNECT=postgres://user:password@127.0.0.1:5432/mobile?sslmode=disable
$ export MIGRATE=true
$ export PATH_TO_MIGRATE="migrations"
$ export PORT="8080"
Start postgresql in docker
$ docker stack deploy postgres -c postgresql.yml
Add user in database
$ curl -X POST -H "Content-Type: application/json" -d '{"name": "Иван", "surname": "Иванов", "patronymic": "Иванович", "passportSerie": 1234, "passportNumber": 123456789, "address": "г. Москва, ул. Ленина, д. 1"}' http://127.0.0.1:8080/user
List user by passport number and passport serie
$ curl -G -d "passportSerie=1234" -d "passportNumber=123456789" http://127.0.0.1:8080/user
Update user info
$ curl -X PUT -H "Content-Type: application/json" -d '{"name": "Сергей", "surname": "Петров", "patronymic": "Алексеевич", "passportSerie": 1234, "passportNumber": 123456789, "address": "г. Москва, ул. Ленина, д. 1"}' http://127.0.0.1:8080/user
Delete user from database
$ curl -X Delete -H "Content-Type: application/json" -d '{"name": "Сергей", "surname": "Петров", "patronymic": "Алексеевич", "passportSerie": 1234, "passportNumber": 123456789, "address": "г. Москва, ул. Ленина, д. 1"}' http://127.0.0.1:8080/user
Start job
curl -G -d "passportSerie=1234" -d "passportNumber=123456789" http://127.0.0.1:8080/startJob
Stop job
curl -G -d "passportSerie=1234" -d "passportNumber=123456789" http://127.0.0.1:8080/stopJob
Search in database with sort
curl -X POST -H "Content-Type: application/json" -d '{"order": "start_job", "limit": 3, "offset": 0}' http://127.0.0.1:8080/search
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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.