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.
gn-s3-uploader
Advanced tools
Simple script for uploading files in a dir to the AWS S3 storage. Useful when working with data migration.
$ npm install gn-s3-uploader
The script will append the generated keys to a success-<timestamp>.txt
file as the uploads are completed. In case of error, the filename is appended to an error-<timestamp>.txt
. Both files are created in the same directory in which the script was called.
Usage: index [options]
Options:
-h, --help output usage information
-V, --version output the version number
-d, --dir <path> full path of the folder with the files to upload
-b, --bucket <string> the S3 bucket
-k, --accessKeyId <string> the S3 accessKeyId
-s, --secretAccessKey <string> the S3 secretAccessKey
-acl, --acl <value> custom acl, defaults to public-read
-r, --region <value> custom region, defaults to sa-east-1
-keyPrefix, --keyPrefix <value> an optional prefix to concat with the generated key, ex. cdn/images/
Unit test the gn-uploader class
FAQs
Simple module for uploading files in a given dir to AWS S3
We found that gn-s3-uploader 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.