Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aws-folder-upload
Advanced tools
Allow upload all content of folder include subfolder.
npm i aws-folder-upload --save
var awsFolderUpload = require('aws-folder-upload');
awsFolderUpload.config({
accessKeyId: 'accessKeyId', //require string
secretAccessKey: 'secretAccessKey', //require string
region: 'region', //optional string aws region
bucketName:'bucket-name', //require string BucketName only allow lowercase [a-z0-9] and - charactors
folder:'folder', //require string relative path
debug:true, //optional boolean
exclude : ['.scss','.coffee','.zip','.ts'], //optional array
acl : 'public-read', //optional string. Default is 'public-read'. AWS value "private"|"public-read"|"public-read-write"|"authenticated-read"|"aws-exec-read"|"bucket-owner-read"|"bucket-owner-full-control"
});
awsFolderUpload.upload((err, result)=>{
if(err)
console.log('err', err);
else
console.log('result', result);
});
FAQs
upload folder to aws s3
The npm package aws-folder-upload receives a total of 2 weekly downloads. As such, aws-folder-upload popularity was classified as not popular.
We found that aws-folder-upload 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.