Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ipbase-ruby is the official Ruby Wrapper around the ipbase API.
Â
Add this line to your application's Gemfile:
gem 'ipbase'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ipbase
You will need your apikey to use Ipbase, you can get one https://app.ipbase.com/register.
Create an instance and pass your api key like here:
fx = Ipbase::Endpoints.new(:apikey => 'APIKEY')
Use the instance to call the endpoints
Returns your current quota
fx.status()
Checks the provided ip address (both v4 & v6 formats) and returns all available information.
fx.info(ip, language)
Parameter | Data type | Mandatory | Description |
---|---|---|---|
ip | string, Path Parameter | yes | The ip address you want to query |
language | string | no | An ISO Alpha 2 Language Code for localising the ip data |
You can find further information on https://ipbase.com/docs/
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Bug reports and pull requests are welcome on GitHub at https://github.com/everapihq/ipbase-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Ipbase project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that ipbase 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.