Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@vgrid/areyouready
Advanced tools
Readme
This is a very simple module to include in your node projects to provide HTTP Readiness/Liveness checks to clusters (such as Kubernetes) or load-balancers (nginx/haproxy/etc)
We found other great projects that provided similar functionality, but way too much bloat for our use case - so we wrote this!
npm install --save @vgrid/areyouready
import AreYouReady from '@vgrid/areyouready';
const ayr = new AreYouReady({ port: 9999 }); // 9999 is default if none supplied
// Do your application logic
// .....
ayr.signalReady(true); // Signal that the app is ready
ayr.signalLive(true); // Signal that the app is now live
// Some while later
// .....
ayr.signalLive(false); // Signal that the app is NOT live
ayr.signalReady(false); // Signal that the app is NOT ready
Set up your cluster / load-balancers to check the following URLs:
http://service:9999/live
and http://service:9999/ready
Only two methods exist, signalLive
and signalReady
which independently toggle the ready and live states:
signalLive (state: boolean): void;
signalReady (state: boolean): void;
The app will respond with one of the following response codes:
Any contributions are more than welcome!
FAQs
Are You Ready module - used to signal readiness/liveliness to clusters (such as Kubernetes) via a simple HTTP server
The npm package @vgrid/areyouready receives a total of 0 weekly downloads. As such, @vgrid/areyouready popularity was classified as not popular.
We found that @vgrid/areyouready demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.