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.
Steps for new developers to get up and running with the Bend data-service
cargo install diesel_cli --no-default-features --features postgres
example.env
to .env
(should just work with default local config)diesel setup
cargo run
gcloud auth login
using an account with access to the Container Registrardocker tag tcmoore/bend-api-service gcr.io/{PROJECT_ID}/api-service
(You can find the project id here)docker push gcr.io/bend-330614/api-service
Note that bend-db
indicates the Cloud SQL instance, while bend_db
indicates the postgres database name
gcloud sql connect bend-db --user=postgres --project PROJECT_ID
and enter your passworddiesel setup
DATABASE_URL=postgres://postgres:{ROOT_PASSWORD}@{YOUR_DB_PUBLIC_IP}/bend_db
gcloud sql connect bend-db --user=postgres --project PROJECT_ID
and enter your passworddiesel migration run
DATABASE_URL=postgres://postgres:{ROOT_PASSWORD}@{YOUR_DB_PUBLIC_IP}/bend-db
Steps to connect to Cloud SQL from the api service in the cloud environment:
postgres://{USER}:{PASSWORD}@?host=/cloudsql/{CLOUD_SQL_CONNECTION_NAME}&dbname=bend_db
See Official Docs for additional details.
FAQs
Data-service for Bend API
The npm package bend-sdk2 receives a total of 0 weekly downloads. As such, bend-sdk2 popularity was classified as not popular.
We found that bend-sdk2 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.