
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/rakaziwi/real-time-chat-api
Golang real time chat api and it's web chat interface
Before start this go application, please make sure this requirement installed
go get github.com/gorilla/mux
go get github.com/gorilla/websocket
go run main.go
The application will run at localhost at port 8000, so make sure the port 8000 is not used
You can access this application using two ways, with browser and api. I created the web page to show the send message api function is working in real time. You also can join the chat with your own username and send message in the web and to see get all sent message api is working.
To use the api:
curl --location --request GET 'localhost:8000/api/messages'
curl --location --request POST 'http://localhost:8000/api/messages' \
--header 'Content-Type: application/json' \
--data-raw '{
"message": "Hey, this is my first golang application!"
}'
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.