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.
This package was initally released over a year ago in the wake of Yahoo Finance updating their backend API. At that time, the only means of retrieving data required gnarly parsing and took noticable time to process. Because of this, on the initial release, a local file system for caching parts of retrieved files was used to cut down on processing time.
Since then, Yahoo Finance has updated their API resulting in much faster response times, and negating the need for the caching system.
Due to this, yapywrangler has been revised to include just its core request functionality.
pip install yapywrangler
from yapywrangler import get_yahoo_data
stock_ticker = "MSFT"
data = get_yahoo_data(stock_ticker, start_date='2006-03-26', end_date='2019-05-29')
msft = pd.DataFrame(data)
start_date: 2000-01-01
end_date: now
{
'timestamp': [1559136600, 1559223000, 1559321620],
'date': ['2019-05-29', '2019-05-30', '2019-05-31'],
'open': [29.0, 28.399999618530273, 27.56999969482422],
'high': [29.31999969482422, 28.559999465942383, 28.360000610351562],
'low': [27.729999542236328, 27.600000381469727, 27.5],
'close': [28.09000015258789, 28.030000686645508, 27.940000534057617],
'volume': [99969600, 65072900, 40126715]
}
FAQs
Tool for reqesting stock data from the Yahoo Finance API
We found that yapywrangler demonstrated a healthy version release cadence and project activity because the last version was released less than 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.