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/ramasbeinaty/trading-chart-service
To run the app, use the command:
docker-compose up
Note: Below commands have been tested with bash. Might need to format for other terminals.
grpcurl -plaintext localhost:50051 list candlestick.CandlestickService
grpcurl -plaintext localhost:50051 describe candlestick.CandlestickService.SubscribeToCandlesticks
grpcurl -plaintext localhost:50051 describe candlestick.CandlestickService.UnsubscribeFromCandlesticks
For testing, set ENV_ISDEVMODE=true
in docker-compose.yaml
. The subscriber_id
would then be set using a counter, meaning the first subscriber will have the ID 1, the second subscriber will have the id 2, etc.
To subscribe to a single or multiple symbols
grpcurl -plaintext -d '{"symbols": ["BTCUSDT", "ETHUSDT", "PEPEUSDT"]}' localhost:50051 candlestick.CandlestickService.SubscribeToCandlesticks
To unsubscribe from specific symbol(s)
grpcurl -plaintext -d '{"symbols": ["BTCUSDT", "ETHUSDT"], "subscriber_id": 1}' localhost:50051 candlestick.CandlestickService.UnsubscribeFromCandlesticks
To unsubscribe from all symbols
grpcurl -plaintext -d '{"subscriber_id": 1}' localhost:50051 candlestick.CandlestickService.UnsubscribeFromCandlesticks
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.