
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@webmunk/cwe-template-webpack
Advanced tools
This template is the default template used by the create-webmunk-ext script to create an initial tree structure. As the name indicates, this template aims at engineers eager to use webpack for building their extension. The tree structure includes the following set of files/directories:
├───📁 assets/
│ └───...
├───📁 deliveries/ (where production builds end-up, ie zip files that can be uploaded in CWS)
│ └───...
├───📁 dist/ (where webpack generates the bundled scripts)
│ └───...
├───📁 src/ (where you include all your scripts ie worker, content, etc ...)
│ └───...
├───📄 webpack.addon.config.base.js
└───📄 webpack.addon.config.dev.js
Regarding the src folder, 4 sub-folders are included with the appropriate js files:
├───📁 background/
│ └───📄 worker.js
├───📁 chrome/
│ └───📄 baseManifest.json
├───📁 content/
│ └───📄 content.js
└───📁 options/
└───📄 options.js
Those are the files used by the webpack build process to generate the corresponding extension scripts. This is where the developer will import the webmunk extension modules files.
The template brings a few webpack configs which are used to build the extension.
In the project directory, you can run:
npm run addon:dev:hotCreates in /dist an unpackaged version of the extension in development mode.
npm run addon:build:devCreates in /deliveries a zipped version of the extension in dev mode.
npm run addon:build:prodCreates in /deliveries a zipped version of the extension in production mode. Zip file can be uploaded on Chrome Web store.
Note: those scripts will also display a consolidated list of justifications for the permissions required by the imported webmunk extension modules. This info aims at facilitating the registration of the extension in the CWS (Chrome Web Store).
Refer to the README.md file of the webmunk extension module.
FAQs
webpack-based build for webmunk extensions
We found that @webmunk/cwe-template-webpack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.