
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).
helper script for creating production build of web application (compile less to css, etc)
helper script for creating production build of web application (compile less to css, optimize js using requirejs optimizer, etc)
npm install appmaker
create your own makeApp.js
build script (e.g. at root directory of your
project), define your tasks
and use helper methods within them, e.g.
#!/usr/bin/env node
var appMaker = require('./lib/2do2go/node_utils/appMaker'),
path = require('path');
var tasks = {};
tasks.build = function() {
tasks.clean();
tasks.compileLess();
tasks.requirejsOptimize();
};
tasks.compileLess = function() {
appMaker.compileLess({files: 'static/css/*.less'});
};
tasks.requirejsOptimize = function() {
appMaker.requirejsOptimize({
modulesDir: 'static/js/views/',
baseUrl: 'static/js/',
dir: 'static/scripts',
mainConfigFile: 'views/template/requirejs/development.js'
});
};
tasks.clean = function() {
appMaker.clean(
['static/scripts', 'static/js/sharedmodules/*.js', 'static/css/*.css'],
'-Rf'
);
};
appMaker.process(tasks);
after that you can call ./makeApp.js
(don't forget to make him executable via
chmod +rx
) to see available commands
FAQs
helper script for creating production build of web application (compile less to css, etc)
The npm package appmaker receives a total of 1 weekly downloads. As such, appmaker popularity was classified as not popular.
We found that appmaker 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.