
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).
Decorates for Cacheia library that allows invalidation and other shenanigans
Exposes decorators that can be used along FastAPI and plain functions to cache responses using cacheia machinery.
Install decorators with "schemas" optional and "local" and "remote" cache support:
pip install -e ./decorators[schemas,local,remote]
There are these decorators avaialble:
local.cache
: which can be used on plain functions to cache values using a local cache or cacheia_client.remote.cache
: which can be used to cache values on a remote instance of cacheia (i.e. cacheia_api service).from cacheia_decorators.local import cache as local_cache
from cacheia_decorators.remote import cache as remote_cache
@local_cache(key_builder=lambda i: str(i == 0), settings={})
def function_a():
return "Hello World"
@remote_cache(key_builder=lambda i: str(i == 0), url="http://localhost:5000/")
def function_b():
return "Hello World"
FAQs
Decorates for Cacheia library that allows invalidation and other shenanigans
We found that cacheia-decorators 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.