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.
henrybuilt-cli
Advanced tools
hb <sub-command> [options]
db-sync
(Dumps production database and imports it into local database)db-backup
(Dumps production database and saves it to S3)pt-backup-proposals
(Backs up proposal pdfs for all PT Project Versions to S3)audit-s3-file-permissions
(Verifies client files are not publicly available)hb db-sync -t staging
(Dumps production database and imports it into staging database)cd ~
git clone https://github.com/henrybuilt/henrybuilt-cli.git
cd
into henrybuilt-cli
sudo npm install -g
~/hb.env
(ask for a .env file if you don't have one)hb db-sync
to test.
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
in your mysql clientcd
into henrybuilt-cli
git pull
sudo npm install -g
(if this doesn't work, sudo apt-get install npm
)node ./src/hb.js db-sync -t staging
~/hb.env
filemysql
command/binarypt-backup-proposals
HB_PRODUCTION_DB_HOST
, HB_PRODUCTION_DB_USER
, HB_PRODUCTION_DB_PASSWORD
, HB_PRODUCTION_DB_DATABASE
HB_ADMIN_ACCESS_KEY
AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
db-sync
mysql
commandmysqldump
commandHB_PRODUCTION_DB_HOST
, HB_PRODUCTION_DB_USER
, HB_PRODUCTION_DB_PASSWORD
, HB_PRODUCTION_DB_DATABASE
HB_DEVELOPMENT_DB_PASSWORD
aws-remote-backup.pem
in home directory and include AWS_REMOTE_IP in env filedb-backup
mysql
commandmysqldump
commandHB_PRODUCTION_DB_HOST
, HB_PRODUCTION_DB_USER
, HB_PRODUCTION_DB_PASSWORD
, HB_PRODUCTION_DB_DATABASE
AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
wf-db-backup
~/.pgpass
file with correct permissions: chmod 0600 ~/.pgpass
pg_dump
command - brew install postgresql@11
at checkExecSyncError (child_process.js:601:13)
audit-s3-file-permissions
wf-backup-db
pg_restore -Fc -h <host> -U <user> -d <db> < 2018-03-23_18-11-02.compressed
pg_restore -h <host> -U <user> -d <db> < 2018-03-23_18-11-02.sql
hb audit-website-permissions
- arrays of links that are supposed to (in)accessible, pt api, admin, client site other usershb de-backup-order-summaries
hb check-system-status
hb load-test
?FAQs
`hb <sub-command> [options]`
We found that henrybuilt-cli 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.