
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@restorecommerce/koa-health-check
Advanced tools
Cloud Health Connect provides a Koa Middleware based on Cloud Health. The following endpoints are provided to monitor services and applications on Kubernetes:
import * as Koa from 'koa';
import * as health from '@cloudnative/health';
import { HealthEndpoint, ReadinessEndpoint, LivenessEndpoint } from 'koa-health-check';
const healthcheck = new health.HealthChecker();
const koa = new Koa();
koa.all('/live', LivenessEndpoint(healthcheck));
koa.all('/ready', ReadinessEndpoint(healthcheck));
koa.all('/health', HealthEndpoint(healthcheck));
Cloud Health Status | Readiness Status Code | Liveness Status Code | Combined Health Status Code |
---|---|---|---|
STARTING | 503 UNAVAILABLE | 200 OK | 503 UNAVAILABLE |
UP | 200 OK | 200 OK | 200 OK |
DOWN | 503 UNAVAILABLE | 503 UNAVAILABLE | 503 UNAVAILABLE |
STOPPING | 503 UNAVAILABLE | 503 UNAVAILABLE | 503 UNAVAILABLE |
STOPPED | 503 UNAVAILABLE | 503 UNAVAILABLE | 503 UNAVAILABLE |
- | 500 SERVER ERROR | 500 SERVER ERROR | 500 SERVER ERROR |
To build the library, use npm run build
command.
To run the tests, use npm run test
command.
FAQs
Koa 2 middleware for Cloud Health
The npm package @restorecommerce/koa-health-check receives a total of 445 weekly downloads. As such, @restorecommerce/koa-health-check popularity was classified as not popular.
We found that @restorecommerce/koa-health-check demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.