Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
github.com/rahulNandan/go-kafka-redis
A demo application that interacts with Kafka (producer & consumer) + Redis
This application has 2 parts
The http-server handles 2 routes
http://127.0.0.1:8080/produce - this produces an event on kafka of the shape { type: "number", number: 123333 }
the kafka-consumer listens to this event and determines whether the number is odd/even and based on that increments (incr
) a key in redis
http://127.0.0.1:8080/ - gives you statistics like {"requests":12,"even":5,"odd":7}
number of events/requests processed so far, number of odd numbers, number of even numbers
git clone git@gitlab.com:melwyn95/go-redis-kafka-demo.git
numbers
(you can name the topic something else also; but make sure the name of the topic is correct in start.sh
)./start.sh
the start.sh
contains enviroment variables you need to handle it according to you convinence
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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.