
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
.. image:: https://travis-ci.org/cjrh/aiohealthcheck.svg?branch=master :target: https://travis-ci.org/cjrh/aiohealthcheck
.. image:: https://coveralls.io/repos/github/cjrh/aiohealthcheck/badge.svg?branch=master :target: https://coveralls.io/github/cjrh/aiohealthcheck?branch=master
.. image:: https://img.shields.io/pypi/pyversions/aiohealthcheck.svg :target: https://pypi.python.org/pypi/aiohealthcheck
.. image:: https://img.shields.io/github/tag/cjrh/aiohealthcheck.svg :target: https://img.shields.io/github/tag/cjrh/aiohealthcheck.svg
.. image:: https://img.shields.io/badge/install-pip%20install%20aiohealthcheck-ff69b4.svg :target: https://img.shields.io/badge/install-pip%20install%20aiohealthcheck-ff69b4.svg
.. image:: https://img.shields.io/pypi/v/aiohealthcheck.svg :target: https://img.shields.io/pypi/v/aiohealthcheck.svg
.. image:: https://img.shields.io/badge/calver-YYYY.MM.MINOR-22bfda.svg :target: http://calver.org/
This tiny module provides a simple TCP endpoint, suitable for a healthcheck in your microservice application. All it provides is a simple TCP endpoint on a port to allow a container orchestration service to connect to, to verify that the application is up.
Pretty much just start up a long-lived task with the provided
tcp_health_endpoint()
coroutine function:
.. code-block:: python
loop.create_task(aiohealthcheck.tcp_health_endpoint(port=5000))
The internal TCP server will be shut down when the task is cancelled, e.g., during your app's shutdown sequence.
.. code-block::
ports:
- name: liveness-port
containerPort: 5000
livenessProbe:
tcpSocket:
port: liveness-port
initialDelaySeconds: 15
periodSeconds: 20
FAQs
aiohealthcheck: super-simple TCP health-check endpoint
We found that aiohealthcheck demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.