
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/david-seo-dev/hello-world-api
If you would like to run this maunal, these are the pre-steps to run.
go get
//Make sure your GOPATH is properly configured or you have the .go files in the default location $HOME/go
go build -o main go-docker-api.go
docker build -t go-docker .
//Make sure you have the Dockerfile in the same directory
docker run -d -p 8080:8080 go-docker
curl localhost:8080
Hello, World
curl localhost:8080/status
{"description":" your description in metadata ","version":"0.0.1","lastcommitsha":"github's commit hash"}
To stop docker container running
docker ps
(grab the container ID)
docker container stop
{container ID}
Clean up for docker if multiple unlabelled images/containers are found
docker container prune
docker rmi -f $(docker images --quiet --filter "dangling=true")
Todo go_test.go currently does not work -- In future required to be investigated further - temp measure - added shell script to curl each endpoint with an expected result.
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.