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.
$ npm install --save bundle-me
const {createBundle} = require('bundle-me');
try {
createBundle({ path: filePath, extn: 'js', outputPath: 'example/bundle.js'})// creates bundle and returns the output path.
}
catch (error) {
console.log(error);
}
const { getAllFiles } = require('bundle-me');
try {
getAllFiles({ path: filePath });
// returns array of files in the given file path.
}
catch (error) {
console.log(error);
}
path : input path of the source directory
extn : File Extension (js,css,ts,etc.)
outputPath: path of the output file.
I need to Bundle all the files in a particular directory based on the file extension. I know many libraries are available but it's not simple to use. I need to tweek it a lot, so I thought of creating this.
Created bundle-me module, which bundle all the files based on the directory into single output file based on your options provided. It provides array of all the files based on the file extension provided.
https://github.com/pajaydev/bundle-me/tree/master/example
MIT
FAQs
Bundles all the files inside the directory
The npm package bundle-me receives a total of 7 weekly downloads. As such, bundle-me popularity was classified as not popular.
We found that bundle-me 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.