
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/davicho01/hash-app-go
Small App to Hash Passwords Technical Exercise
The following assumptions are being made:
Follow the Download and Install instructions to get Go installed in your machine.
Checkout project from Github
git clone https://github.com/davicho01/hash-app-go
Go to app
directory inside project cd hash-app-go/app
directory
Run go run main.go
This project already comes integrate it with dockerfile. To build docker please install docker on your machine
Go to director hash-app-go
Build container docker build -t hash-app-go .
Run container docker run --rm -it -p 8080:8080 hash-app-go
To run all Unit test:
Go to hash-app-go/app
directory
Run go test ./tests/... -v
Following is a list of endpoints that can be used to test this application.
curl --location --request POST 'http://localhost:8080/hash' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'password=angryMonkey'
curl --location --request GET 'http://localhost:8080/hash/1'
curl --location --request GET 'http://localhost:8080/stats'
curl --location --request GET 'http://localhost:8080/shutdown'
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.