
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).
@mands/dot-com-plus-menu
Advanced tools
This package adds a menu bar for .com+, providing links for the customer service team, to logout or act as a customer on FESK pages.
FESK app must use the latest version of mns-fe-pattern-library or at least v9.13.0.
To install the module that will inject the dotcom plus menu into your fesk app run the following commands in your terminal and add css file link.
npm install --save handlebars
this is a peer dependency of the module
npm install --save @mands/dot-com-plus-menu
Add below in common.scss
@import '~@mands/dot-com-plus-menu/src/style.scss'
Example html output should look like below:
<script src="./static/dot-com-plus-menu.js"></script>
<script>
DotComPlusMenu.render("#target");
</script>
to achieve above you will need to add the js in your root file for example in the store listing page we added the js like below in js file
import * as DotComPlusMenu from '@mands/dot-com-plus-menu';
try { DotComPlusMenu.render('#dcplus'); } catch (e) { console.warn(e.message); }
And updated the partials file to set the target like below:
<div id="dcplus"></div>
Please look in the example directory for full example usage with in a project.
FAQs
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.