
Research
Security News
Malicious npm Packages Target BSC and Ethereum to Drain Crypto Wallets
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
github.com/alextsa22/cryptocurrency-order-book
It is necessary to obtain the BID and ASK order books using the open API of the BINANCE exchange. The number of orders in each order book is 15. For each order book, calculate the sum of the volumes of orders in it. For each order book, order data and total order quantities are displayed. Then display the resulting information in a convenient format.
Data collection method:
Low level
: Using the REST protocol at a rate of 1 request / sec.High level
: Continuous over the WebSocket protocol.Display method:
Low level
: In cmd.High level
: In a web browser.To run, you need to install Docker.
You must make a copy of the vendor dependencies before using Dockerfile.dev. This can be done using the command:
go mod vendor
To run the application, run the commands:
make build & make run
Or you can use docker commands directly:
docker build -t delivery-service .
docker run --rm -t -i delivery-service
Run Dev:
docker build -t delivery-service -f Dockerfile.dev .
You can stop the program with Ctrl + C
.
Launch with delivery over websockets:
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
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victim’s Ethereum or BSC wallet using obfuscated JavaScript.
Security News
TC39 advances 9 JavaScript proposals, including Array.fromAsync, Error.isError, and Explicit Resource Management, which are now headed into the ECMAScript spec.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.