
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
jstransformer-reshape
Advanced tools
reshape support for JSTransformers.
npm install jstransformer-reshape
Note: Reshape requires node v6 or above.
const reshape = require('jstransformer')(require('jstransformer-reshape'))
const customElements = require('reshape-custom-elements')
const expressions = require('reshape-expressions')
const text = `
<my-component>
<my-text class="text">{{ name }}</my-text>
</my-component>
`
const locals = {
name: 'caleb'
}
// pass an array of plugins
const options = { plugins: [customElements(), expressions()] }
reshape.renderAsync(text, options).then((result) => {
console.log(result.body)
})
//=> '<div class="my-component">\n<div class="text my-text">Caleb</div>\n</div>'
// or pass an object of plugins and settings
const options2 = {
plugins: {
customElements: { defaultTag: 'span' },
expressions: {}
}
}
reshape.renderAsync(text, options2, locals).then(function (result) {
console.log(result.body)
})
//=> '<span class="my-component">\n<span class="text my-text">Caleb</span>\n</span>'
MIT
FAQs
Reshape support for JSTransformers.
We found that jstransformer-reshape demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.