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.
@bergkvist/crypto-ticker
Advanced tools
A command line interface for fetching the price of any cryptocurrency. It is written in NodeJs 10 (dubnium lts), and can easily be installed from the NPM package repository.
It uses the public CryptoCompare API to fetch prices.
crypto-ticker [base] [quote (default=USD)]
The first argument is the base currency. The second argument is the quote currency. None of the arguments are case sensitive.
A numeric value is returned, representing the rate of base/quote.
Depending on your node installation, you might need to run this with sudo.
npm install -g @bergkvist/crypto-ticker
# Bitcoin price in Euro
$ crypto-ticker BTC EUR
3148.33
# Ethereum price in US dollars (notice that USD is default):
$ crypto-ticker eth
116.59
# It also works with fiat to fiat
# (The price of one Norwegian Krone in Japanese Yen)
$ crypto-ticker nok jpy
11.5
FAQs
CLI tool to fetch the price of any cryptocurrency
We found that @bergkvist/crypto-ticker 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
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.