Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A BUILD SERVER that run on your infrastructure and its Command Line Interface (CLI) with developer-friendly commands - a must-have tool of DevOps engineers.
Developers should not be frustrated by deploying their apps to the infrastructure, or bothering the DevOps engineers to help deploying it, they should fully focus on developing apps, they don't need to understand the servers, the domains, or infrastructure related stuffs. That's when di
come, di
is your DevOps assistant.
| Build faster. Deploy easier. More flexible.
jq
trong máy của bạn: https://stedolan.github.io/jq/download/Docker
trong máy của bạn: https://docs.docker.com/engine/install/kubectl
trong máy của bạn: https://docs.docker.com/engine/install/gcloud
: https://cloud.google.com/sdk/docs/install#installation_instructionsdoctl
: https://docs.digitalocean.com/reference/doctl/# Pull & cài đặt CLI
git clone git@bitbucket.org:digitopvn/diginext-cli.git
cd /path/to/diginext-cli
# Run this command to install
./shells/install.sh
Next:
# trong vài trường hợp thiếu permission, thử command sau:
sudo npm link
# Hoặc: `chmod -R 755 /path/to/diginext-cli`
# Đăng nhập BitBucket
diginext git login
# 1. tự động mở browser báo đăng nhập BitBucket & grant access permissions
# 2. browser sẽ redirect qua google.com/?token=XXXXXXXX
# 3. quay lại CLI nhập Bitbucket USERNAME (VD: duynguyen123) - USERNAME chứ không phải EMAIL -> Enter
# 4. CLI hỏi Bitbucket token -> copy & paste token (trên URL, VD: XXXXXXXX) vào CLI -> Enter
# 5. DONE!
# Authenticate Google Cloud:
diginext auth
master
về máy của mình: dev/{myusername}
docker-compose -f docker-compose.build.yaml up --build
DEV_MODE=true diginext deploy [...]
Test test & test !!!
Chuẩn bị:
README.md
nếu códeploy_guide.md
nếu cópackage.json
Build Docker & push lên DockerHub với lệnh bên dưới:
./shells/beta
(hoặc bash ./shells/beta4win
trên Windows)./shells/release
(hoặc bash ./shells/release4win
trên Windows)Kiểm tra log xem có release thành công chưa.
Hoàn tất!
/var/tools/diginext-cli
docker-compose.yaml
trên server)docker-compose.yaml
vào /var/tools/diginext-cli
docker-compose down
docker-compose up -d
docker-compose.nginx.yaml
chmod +x ssl_renew.sh
sudo crontab -e
*/5 * * * * /home/sammy/node_project/ssl_renew.sh >> /var/log/cron.log 2>&1
tail -f /var/log/cron.log
Docker Compose
/var/tools/diginext-cli
docker-componse up -d
/mnt/build
/mnt/docker-data
docker image prune -af --filter "until=168h"
(delete images which a week old)Join our community on Discord!
Suggest improvements and report problems.
Author: Boss Duy Nguyen duynguyen@wearetopgroup.com
FAQs
The DIG Network offers a robust solution for ensuring data integrity and censorship resistance by leveraging decentralized technology. When you add your data to DIG, it is encoded and served from a Merkle tree, with the Merkle root securely stored on the
The npm package dig-cli receives a total of 0 weekly downloads. As such, dig-cli popularity was classified as not popular.
We found that dig-cli 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.