Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
rethinkdb_nightly
Advanced tools
Original work is from Swift. I just moved a few things around to accommodate RethinkDB
This is a package that makes backing up your RethinkDB databases to S3 simple. The binary file is a node cronjob that runs at midnight every day and backs up the database specified in the config file.
npm install rethinkdb_nightly -g
To configure the backup, you need to pass the binary a JSON configuration file.
There is a sample configuration file supplied in the package (config.sample.json
).
The file should have the following format:
{
"rethinkdb": {
"host": "localhost",
"port": 28015,
"db": "database_to_backup"
},
"s3": {
"key": "your_s3_key",
"secret": "your_s3_secret",
"bucket": "s3_bucket_to_upload_to",
"destination": "/"
},
"cron": {
"time": "11:59",
}
}
You may optionally substitute the cron "time" field with an explicit "crontab"
of the standard format 0 0 * * *
.
"cron": {
"crontab": "0 0 * * *"
}
Note: The version of cron that we run supports a sixth digit (which is in seconds) if you need it.
The optional "timezone" allows you to specify timezone-relative time regardless of local timezone on the host machine.
"cron": {
"time": "00:00",
"timezone": "America/New_York"
}
You must first npm install time
to use "timezone" specification.
To start a long-running process with scheduled cron job:
rethinkdb_nightly
To execute a backup immediately and exit:
rethinkdb_nightly -n
FAQs
A tool to help backup your rethinkdb cluster to s3.
The npm package rethinkdb_nightly receives a total of 1 weekly downloads. As such, rethinkdb_nightly popularity was classified as not popular.
We found that rethinkdb_nightly 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.