Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@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
## Dot com plus menu
The npm package @mands/dot-com-plus-menu receives a total of 0 weekly downloads. As such, @mands/dot-com-plus-menu popularity was classified as not popular.
We found that @mands/dot-com-plus-menu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.