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/phroggyy/holiday-dates
This application lists the public holidays for all countries available through the Nager.Date API, between two years.
This can be useful in the financial industry (ensuring payout dates do not fall on a holiday), on-call pay calculation (possibly applying higher rates for public holidays than weekdays), or really any time you need to deal with public holidays for different countries.
It can be run either as a command-line application (e.g ./dates -start-year=2023 -years=2
will get you all public holidays for 2023-2025), or as an HTTP server with
the serve
subcommand: ./dates serve
. It will run on port 8080
(currently
not configurable), and accepts a path of /:startYear/:endYear
, e.g curl http://localhost:8080/2023/2025
.
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.