
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).
Runs ejs from the command line to produce HTML from ejs templates and multiple data sources
A command line runner for EJS - similar to ejs-cli
I wrote this (quickly) because I needed to create templates for a project that merged various options before sending to EJS for processing.
Also, I prefer to keep my options in an HJSON file.
-O
options with parameters and merges them to pass to the ejs processor. This allows you to have various levels of providing values (think default values and overrides, and/or configuration values and override on command line, etc.).html
extension).ejsrun pages/*.ejs -O defaults.json -O config.hjson -O "{\"develop\":true}"
The above example processes all .ejs
pages within the pages
directory and creates files with the same names and .html
extension after processing with EJS. The data used in the template substitutions is a combination of the JSON from defaults.json
, with overrides from the config.hjson
and a final override of develop: true
.
FAQs
Runs ejs from the command line to produce HTML from ejs templates and multiple data sources
The npm package ejsrun receives a total of 0 weekly downloads. As such, ejsrun popularity was classified as not popular.
We found that ejsrun demonstrated a not healthy version release cadence and project activity because the last version was released 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.