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.
KVV::Liveapi is a simple ruby gem to query stop data and timetables / departures as provided by the KVV Live Service (Karlsruhe Transport Agency).
The KVV services is unofficial and undocumented so I can make no claims of any kind for this adapter to work as intended now or at any time in the future.
Add this line to your application's Gemfile:
gem 'kvv-liveapi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kvv-liveapi
The KVV::Liveapi provides these 5 methods to query KVV data.
KVV::Liveapi.departures_bystop_name( name )
KVV::Liveapi.departures_bystop( stop_id )
KVV::Liveapi.departures_by_route( route: nil, stop_id: nil )
KVV::Liveapi.stops_by_name name
KVV::Liveapi.stops_by_latlon( lat: nil, lon: nil )
The method names are derived closely from the corresponding liveapi.kvv.de api endpoints to assert consistency.
TODO: Explain details where not obvious
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/buggle/kvv-liveapi.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that kvv-liveapi 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.