
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/M-Fisher/companies_api
A single service for managing Companies
/cmd
Starting point for the app
/app
Application code
/app/api
API configuration. You can add new endpoints to the app/api/enpoints Don't forget to register them in app/api/api.go
/dev
Everything related to environment. Config files, Dockerfiles and docker-compose file for local running.
/migrations
DB migrations files.
For development purpose project can be started using docker-compose
make dev-up-app
Environment variables can be changed in dev/compose.dev.env.
Optionally you can start environment using docker-compose, and start app in terminal:
make dev-local-env
make local-run
Environment variables can be changed in dev/local.env.
For testing purposes you can use following authorization token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMSJ9.u2tRKS4GWGieHric1tRvOFVbpEVY-lb9_cijO5_Pwt0
Also region checking is disabled for Dev environment. To enable checking - set DEVELOPMENT_MODE env to false
docker-compose environment can be restarted using make dev-restart
.
Project can be build as binary file (make build
) or as Docker image: make @build
make setup
- install all required dependencies for the project (e.g. golangci-lint)
make lint
- linters local run (golangci-lint should be installed)
make test
- running tests locally
You can run tests using
make test
Infrastructure:
Resoures:
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.