
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).
Desktop OR Planner. A desktop wrapper for applications based on the Cornflow-client format. Check out the Cornflow project. Here is a guide on how to configure an app in the right format.
Another option is just to check the tests/data/graph_coloring example that comes inside this project.
Running uv or pip should work:
Using uv:
uv install dorplan[example]
If reports are required, install the reports dependencies:
uv install dorplan[example, reports]
In the case of Windows, you will also need to install quarto separately. You can find the instructions here.
This is until the quarto team fixes this issue: https://github.com/quarto-dev/quarto-cli/issues/12314
Using pip
python -m pip install dorplan[example]
If you want to test the example app, run:
uv run dorplan/example/example.py
The example shows a graph-coloring problem, which is a simple optimization problem where the goal is to color the nodes using the least number of colors in a graph such that no two adjacent nodes have the same color.
Many engines are available to solve this problem, such as CP-SAT, and HiGHS via PuLP, networkX, and timefold. For those that take a time limit (all but networkx), you can set it in the GUI. You can also stop the execution if the solver is configured to do it (all but networkx).
In its simplest form, you can just pass it the Cornflow ApplicationCore
class and the initialized options for the solver. More information on how to create a Cornflow-compatible Application here. Alternatively, check the example in dorplan/tests/data/graph_coloring/__init__.py
The app will be opened in a new window, and you can interact with it.
from dorplan.app import DorPlan
from dorplan.tests.data.graph_coloring import GraphColoring
app = DorPlan(GraphColoring, {})
It's possible to load one of the test cases from the app
After setting a time limit, you can solve the instance by clicking on "Generate plan" and look at the progress in the GUI. You can also stop the execution (if the solver is configured to do it).
You can generate a report if the solver has a Quarto report available and you installed the reports
dependencies.
The report will then appear on the screen (with terrible format).
But you can always open it in a new browser tab by clicking the "Open report" button.
FAQs
Desktop OR planner
We found that dorplan 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.