
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
broccoli-terser-sourcemap
Advanced tools
Broccoli filter to minify files with terser while preserving their sourcemaps.
A broccoli filter that applies terser to minify code while properly generating or maintaining sourcemaps.
npm install --save broccoli-terser-sourcemap
const Terser = require('broccoli-terser-sourcemap');
// basic usage
let minified = new Terser(input);
// advanced usage
let minified = new Terser(input, {
exclude: [..], // array of globs, to not minify
terser: {
mangle: false, // defaults to true
compress: false, // defaults to true
sourceMap: false, // defaults to true
//...
},
publicUrl: 'https://myamazingapp.com/', // value to be prepended to sourceMappingURL, defaults to ''
hiddenSourceMap: false, // skips adding the reference to sourcemap in the minified JS, defaults to false
concurrency: 3 // number of parallel workers, defaults to number of CPUs - 1
});
To disable parallelization:
$ JOBS=0
$ JOBS=1
FAQs
Broccoli filter to minify files with terser while preserving their sourcemaps.
We found that broccoli-terser-sourcemap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.