Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
webpack-md5-hash
Advanced tools
Plugin to replace a standard webpack chunkhash with md5.
npm install webpack-md5-hash --save-dev
Just add this plugin as usual.
// webpack.config.js
var WebpackMd5Hash = require('webpack-md5-hash');
module.exports = {
// ...
output: {
//...
chunkFilename: "[chunkhash].[id].chunk.js"
},
plugins: [
new WebpackMd5Hash()
]
};
./build.js gen_docker
to generate filesdocker-compose build
docker-compose up
or docker-compose up | grep exited
Example: you need test code on node v0.12 and webpack v1.8
docker-compose build test_n_0.12_w_1.8
docker-compose run --rm test_n_0.12_w_1.8
And now instead of standard value of chunkhash you'll get a md5 based on chunk's modules.
FAQs
Plugin to replace a standard webpack chunkhash with md5.
We found that webpack-md5-hash 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.