
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
inline-runtime-chunk-html-webpack-plugin
Advanced tools
Inline Webpack's runtime chunks to the output html to save http request.
Inline Webpack's runtime chunks to the output html to save http request. It requires html-webpack-plugin and Webpack 5.
npm install inline-runtime-chunk-html-webpack-plugin --save-dev
const HtmlWebpackPlugin = require('html-webpack-plugin');
const InlineRuntimeChunkPlugin = require('inline-runtime-chunk-html-webpack-plugin');
module.exports = {
output: {
// the default value of output.publicPath is "auto"
// but it can\'t not automatically determine after inline runtime chunk within html
// you can set publicPath to '' to get similar results
publicPath: '',
filename: '[name].[contenthash].js',
},
optimization: {
// adds an additional chunk containing only the runtime to entrypoint
runtimeChunk: 'single'
},
plugins: [
new HtmlPlugin(),
new InlineRuntimeChunkPlugin()
],
}
FAQs
Inline Webpack's runtime chunks to the output html to save http request.
We found that inline-runtime-chunk-html-webpack-plugin 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.