
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.
karma-slim-preprocessor
Advanced tools
Preprocessor for converting slim files to html templates.
It requires the slimrb binary to be on your path, which will be present if slim is installed by bundler.
npm install karma-slim-preprocessor --save-dev
// karma.conf.js
module.exports = function(config) {
config.set({
preprocessors: {
'**/*.slim': ['slim']
},
slimPreprocessor: {
// If slimrb is not in your PATH, you can specify where it is:
slimrb: "/usr/local/slimrb",
// You can pass additional command line options to slimrb:
slimrbOption: '-l { "foosball": true }'
},
files: [
'**/*.js',
'**/*.slim',
]
});
};
FAQs
A Karma plugin. Compile slim files to html on the fly
The npm package karma-slim-preprocessor receives a total of 921 weekly downloads. As such, karma-slim-preprocessor popularity was classified as not popular.
We found that karma-slim-preprocessor 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.