
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).
kiss-injection-dev-server
Advanced tools
A server which works as a proxy injecting scripts to htmls
This dev server provides development environment in which script can be injected directly as the last child of head element. The server contains two parts, proxy server and static server. Proxy server intercepts requests and injects a script. Static server serves the script injected by the proxy server.
$ npm install --save-dev kiss-injection-dev-server
// just import this package
const devServer = require('kiss-injection-dev-server');
// launch the dev server
devServer({
// (optional) proxy server's port: default to 8080
proxyServerPort: '8080',
// (optional) static server ip: default to '127.0.0.1'
staticServerIp: '127.0.0.1',
// (optional) static server port: default to 8081
staticServerPort: '8081',
// (optional) the name of injection script: default to Injection.js
injectionScriptFileName: 'Injection.js',
// (required) the folder where injection script lives in
injectionScriptDir: 'folder/of/your/injectionScript'
})
You can inspect the response headers in your browser and check if there is a header 'X-proxied-by': ''
FAQs
A server which works as a proxy injecting scripts to htmls
The npm package kiss-injection-dev-server receives a total of 0 weekly downloads. As such, kiss-injection-dev-server popularity was classified as not popular.
We found that kiss-injection-dev-server 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.