
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
google_maps_api-distance_matrix
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
This is a wrapper around the Google Maps Distance Matrix API.
Add this line to your application's Gemfile:
gem 'google_maps_api-distance_matrix'
And then execute:
$ bundle
Or install it yourself as:
$ gem install google_maps_api-distance_matrix
GoogleMapsAPI::DistanceMatrix.calculate(origins, destinations, options = {})
Origins and destinations are arrays of strings or anything that supports to_ary
.
Options is a Symbols Hash with optional parameters. (See https://developers.google.com/maps/documentation/distancematrix/#RequestParameters for more information).
For Google Business/Enterprise requests, include the :key
, :client
and optionally, :channel
in the options hash.
origins = ["350, 5th Ave, NY", "100, 56th St, NY", [40.764291, -73.979169], ...]
destinations = ["673, 45th St, NY", [40.763641,-73.987473], ...]
options = {:language => 'pt'}
GoogleMapsAPI::DistanceMatrix.calculate(origins, destinations, options)
# => #<GoogleMapsAPI::DistanceMatrix::Response:0x00000001f2b510...>
The GoogleMapsAPI::DistanceMatrix::Response
object mimics the API JSON structure.
I am new to Ruby and Testing. We need better specs.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that google_maps_api-distance_matrix 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.