
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Use MJML and Nunjucks to generate your mail HTML. Michml le MJML par Michel
Create email template with Nunjucks syntax and MJML
yarn add michml
npm install michml
You can see example in 'examples' folder.
const michel = new MichML();
const html = michel.pathToHTML(__dirname + "/templates/template.mjml", { template_data } })
const michML_module = require('michml')
const michel = new michML_module.MichML()
const html = michel.pathToHTML(__dirname + "/templates/template.mjml", { template_data } })
You can configure MJML to HTML transformation
const options = {
// Option to beautify the HTML output (default : false )
beautify: boolean;
// Option to keep comments in the HTML output ( default : true )
keepComments: boolean;
// Option to minify the HTML output ( default : false )
minify: boolean;
// Available values for the validator: 'strict', 'soft', 'skip' ( defaullt : 'soft' )
validationLevel: "strict" | "soft" | "skip";
}
const michel = new MichML(options)
FAQs
Use MJML and Nunjucks to generate your mail HTML. Michml le MJML par Michel
The npm package michml receives a total of 0 weekly downloads. As such, michml popularity was classified as not popular.
We found that michml 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.