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.
__ __
.--| .-----.----| |--.--.--.
| _ | _ | _| <| | |
|_____|_____|__| |__|__|___ |
|_____|
DevOps Records Keeper
&&
Let us assume that we need to create a project.
The project obviously contains some code and some secret variables like database information, API keys, etc. This data cannot be shared on public VCS (GitHub), but at times is required to be accessible remotely to be shared among reliable sources.
Anyhow, we shall store it on a private storage, using dorky, that stores it on a S3 or Google-Drive.
Create a S3 bucket, AWS_ACCESS_KEY and AWS_SECRET_KEY.
Please use your own repository, this repository
sample_project
is just for demonstration.
dorky --init aws
.dorky --list
.
This command will not list the files that are excluded in
.dorkyignore
.
dorky --init aws
.dorky --list
, (make sure to add excluded file or folder patterns to .dorkyignore, to minimize the list).dorky --add file-name
.dorky --push
.dorky --rm file-name
. [Removes file from stage-1 ]dorky --push
. [Removes file from S3 bucket ]dorky --pull
to pull the files from S3 bucket.Please use your own repository, this repository
sample_project
is just for demonstration.
dorky --init google-drive
.dorky --list
.
This command will not list the files that are excluded in
.dorkyignore
.
dorky --init google-drive
.dorky --list
, (make sure to add excluded file or folder patterns to .dorkyignore, to minimize the list).dorky --add file-name
.dorky --push
.dorky --rm file-name
. [Removes file from stage-1 ]dorky --push
. [Removes file from Google Drive ]dorky --pull
to pull the files from Google Drive.[ ] Add stages for variables. [ ] Convert to TypeScript.
FAQs
DevOps Records Keeper.
The npm package dorky receives a total of 3 weekly downloads. As such, dorky popularity was classified as not popular.
We found that dorky demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.