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/orfeo42/admin-panel
Welcome to the Admin Panel for Invoice and Order Management project! This Go-based application is designed to provide administrators with a comprehensive tool to manage invoices and orders efficiently. With this admin panel, you can track orders, generate invoices, and manage customer information all from one centralized interface.
To get started with the Admin Panel, follow these steps:
Clone the repository:
git clone https://github.com/Orfeo42/admin-panel.git
cd admin-panel
Set up your Go environment:
Make sure you have Go installed and properly set up. You can check this by running:
go version
Install dependencies:
go mod tidy
Set up your database:
you can define the configuration parameter for your database in the .env file
DB_HOST=localhost
DB_PORT=5432
DB_DATABASE=admin_panel_db
DB_USERNAME=admin_panel_user
DB_PASSWORD=admin_panel_password
then to start the db container just run:
docker-compose -f docker-compose.yaml up -d postgres
or run the make command:
make db-up
Run the database creation and data preload (you need a xlsx to fill the data in the db):
@go run ./preload/main.go
or run the make command:
make db-init
Start the application:
@go run ./cmd/api/main.go
Access the admin panel:
you can define the port for your application in the .env file
PORT=8080
Open your web browser and navigate to http://localhost:8080
to start using the admin panel.
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.