
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).
Standalone cli/importable components inspired by docu-lite
The first component here is the ultra-light Python parser:
Current plans / ideas:
Install using pip: open a command window and type
pip install docu-lite-kit
dlk.cli [-h] [--out] [--noprint] input.py
import dlk
Provides the following three interfaces (see demo_minimal.py):
input_file = r"./demo_minimal.py"
# parse the doc looking for objects matching a,b,c,d:
# parser = dlk.dlkIO(input_file, [ pattern_list = [a,b,c,d] ])
# For the pattern list, docstring and body are implied & don't need to be mentioned.
# The pattern list itself is optional and defaults to ['class', 'def']
parser = dlk.dlkIO(input_file)
# print out the result including the elements a,b,c,d:
# parser.dlkPrint([a,b,c,d])
# This time 'docstring' and 'body' do need to be explicitly mentioned if wanted in the printout
# However pattern list is optional and defaults to ['class', 'def', 'docstring']
# parser.dlkPrint( pattern_list = ['def', 'class', 'docstring', 'body'])
parser.dlkPrint(['def', 'class', 'docstring', 'body'])
# Similar to dlkPrint, this dumps the output to a JSON file:
# parser.dlkDumpJSON(self, JSON_file = 'dlk.json', pattern_list = ['def', 'class', 'docstring'])
parser.dlkDumpJSON()
FAQs
🧾 docu-lite-kit: Ultra-light cli/importable Python code parser tools
We found that docu-lite-kit 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.