
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
rosid-handler-node
Advanced tools
A function that loads a JS file and transforms it to HTML by executing the exported default function.
npm install rosid-handler-node
const node = require('rosid-handler-node')
node('/src/index.js', '/src', '/dist', {}).then(({ data, savePath }) => {})
node('/src/index.html', '/src', '/dist', {}).then(({ data, savePath }) => {})
filePath {String} Absolute path to the requested file.srcPath {String} Absolute path to the source folder.distPath {?String} Absolute path to the export folder.route {Object} The route which matched the request URL.{Promise}({Object})
data {String | Buffer} The transformed file content.savePath {?String} Where to save the file when compiling.FAQs
Load JS and transform to HTML
The npm package rosid-handler-node receives a total of 9 weekly downloads. As such, rosid-handler-node popularity was classified as not popular.
We found that rosid-handler-node 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.