
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Ruby API for Infosimples::Data (https://infosimples.com/).
Add this line to your application's Gemfile:
gem 'infosimples-data'
And then execute:
$ bundle
Or install it yourself as:
$ gem install infosimples-data
require 'infosimples/data'
client = Infosimples::Data::Client.new('my_token')
response = client.automate('correios/cep', cep: '01311915')
response['code'] # 200
response['code_message'] # "A consulta foi realizada com sucesso e retornou um resultado."
response['data'] # Information about the postal code
response['receipt']['sites_urls'] # Links for the original HTMLs.
client.download_sites_urls(response) # Array with HTML bodies for `sites_urls`.
Check the full response in our documentation: https://data.infosimples.com/docs
billing = client.billing # Array of Hashes with:
billing.first['name'] # - Name of the Token
billing.first['quantity'] # - Number of automation requests the token has made
billing.first['credits'] # - How many credits the token has used
pricing = client.pricing # Array of Hashes with:
pricing.first['service'] # - Name of the service that can be automated
pricing.first['credits'] # - How many credits this service uses
# Check a response code:
response['code'] == Infosimples::Data::CODE[:single_result]
# List of codes
{
# success
single_result: 200,
multiple_results: 201,
# error
unexpected_error: 600,
unauthorized: 601,
invalid_service: 602,
forbidden: 603,
invalid_request: 604,
timeout: 605,
empty_parameters: 606,
invalid_parameters: 607,
refused_parameters: 608,
attempts_exceeded: 609,
failed_captcha: 610,
incomplete_data: 611,
inexistent: 612,
blocked_request: 613,
try_again: 614,
source_unavailable: 615,
source_error: 616,
service_overloaded: 617,
rate_limit_exceeded: 618,
converted_parameters: 619,
permanent_error: 620,
receipt_error: 621,
}
After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/infosimples/infosimples-data.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that infosimples-data 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.

Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.

Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.