
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).
I'm a big fan of playgrounds. Every repo should have a playground.py
to make it easy to jump right
into REPL-driven development.
However, it's hard to understand what's in the playground.py
once it gets big. This project eliminates this problem (example from this project):
pip install ipython-playground
ipython-playground
to generate a playground.py
../playground.py
to start an IPython session with additional setup.extras.py
and the all()
hook workThe ipython_playground/extras.py
file provides logic to automatically import and expose useful modules and objects in your playground session. The main entry point is the all()
function, which:
app.models
, app.commands
, app.jobs
) if available.funcy_pipe
, sqlalchemy
, and sqlmodel
.When you run playground.py
, it calls globals().update(ipython_playground.all_extras())
, which injects all these objects into your interactive session, making them immediately available for experimentation.
FAQs
Understand what is in your ipython playground.
We found that ipython-playground 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.