
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
github.com/vegggg/user-management
To Run this project on localhost try: $ docker-compose up
cmd/ I use cobra as to implement a commandline application. Basicly, this project is started from cmd/server.go Stuff like init db connection, DI... are also there
main.go Only to init cmd/
init.sql Sql schema init script
Dockerfile, docker-compose For ease deployment
prototool.yaml A prototool plugins manager/linter
vendor/ I use go vendor to manage project's dependencies
proto/ Protobuf files to define service API, models, entities
handler/ A handler that implement service API interface, All it does is controlling the business flow
otp/ otp service: use a Redis instance to maintain user's OTP and user status of "is validated by OTP"
user/ user service this package is defined a bit general Currently, I have implemented a sqlrepo for managing users. It also has a redis repo for future caching feature. In addition, in sqlrepo, we can easily add a psql for more flexibility.
entity/ Contains entities
docs/ A postman collection json to run demo
API can be found in docs/
Create User
Get User
$ docker-compose up $ go test ./...
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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.