
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Easy zip is extend from jszip,and run in the nodejs.
$ npm install easy-zip
var EasyZip = require('easy-zip').EasyZip;
var zip = new EasyZip();
//add text
zip.file('hello.txt','Hello World!');
zip.writeToFile('text.zip');//write zip data to disk
//add folder
var zip2 = new EasyZip();
var jsFolder = zip2.folder('js');
jsFolder.file('hello.js','alert("hello world")');
zip2.writeToFile('folder.zip');
//add file
var zip3 = new EasyZip();
zip3.addFile('main.js','easyzip.js',function(){
zip3.writeToFile('file.zip');
});
//batch add files
var files = [
{source : 'easyzip.js',target:'easyzip.js'},
{target : 'img'},//if source is null,means make a folder
{source : 'jszip.js',target:'lib/tmp.js'}
];
var zip4 = new EasyZip();
zip4.batchAdd(files,function(){
zip4.writeToFile('batchadd.zip');
});
//zip a folder
var zip5 = new EasyZip();
zip5.zipFolder('../easy-zip',function(){
zip5.writeToFile('folderall.zip');
});
//write data to http.Response
//zip.writeToResponse(response,'attachment.zip');
//write to file sync
//zip.writeToFileSycn(filePath);
BSD
FAQs
Easy zip is extend from jszip,run in the nodejs.
The npm package easy-zip receives a total of 3,524 weekly downloads. As such, easy-zip popularity was classified as popular.
We found that easy-zip 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
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.