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.
github.com/vitorvvc/api-postgressql
This README is on english, but i have in another langueages: PT-BR
This project is an API built in Go that interacts with a PostgreSQL database. The frontend is a React application that consumes this API.
Clone the repository to your local machine:
git clone https://github.com/your-username/your-repository.git
cd your-repository/api-postgresql
Create a .env file in the root directory of the api-postgresql project with the following content:
DATABASE_URL=postgresql://user:password@db-host:port/db-name?sslmode=require
API_PORT=4000
POSTGRES_HOST=your_host
POSTGRES_PORT=your_postgres_port
POSTGRES_USER=your_user
POSTGRES_PASS=your_pass
POSTGRES_NAME=your_name
Use Docker Compose to build and start the containers:
docker-compose up --build
docker-compose down
docker-compose logs -f
docker-compose down -v
Contributions are welcome! Please submit a pull request or open an issue to discuss what you would like to change.
FAQs
Unknown package
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.