
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).
dirtree-chart is a tiny tool for creating folder structure diagrams based on mermaids markdown syntax.
The output will be saved in an seperate .mmd
file or may be included in a README.md
. The idea behind dirtree-chart
is to simple include it in your build tasks for generic charts in your repository.
In the future, image output (svg
, png
, pdf
, ...) will be implemented.
pip install dirtree-chart
python -m dirtree_chart -h
in the command line.-md 3
).-il file1, file2
). At the moment no wildcard definition is supported.README.md
file (-i true
). Currently only the file extention .md is supported.-d TD
). TD = Top-Down, LR = Left-Right.from dirtree_chart import diagram
from dirtree_chart import config
# Add files or folders to ignore list
ignore_list = config.ignore_list.copy()
ignore_list.extend([".secrets", "ect.f"])
# Create diagram
diagram.DirStrucTree(ignore = ignore_list)
python -m dirtree_chart [-h] [-r ROOT] [-i INCLUDE_TO_README] [-d DIRECTION] [-md MAXDEPTH] [-il IGNORELIST [IGNORELIST ...]
Manuel Strohmaier / 2021
MIT
FAQs
Directory structure diagram generator
We found that dirtree-chart 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.