
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
defra_ruby_companies_house
Advanced tools
Single point of access to the Companies House API with standardised initial error handling.
Add this line to your application's Gemfile
gem "defra_ruby_companies_house"
And then update your dependencies by calling
bundle install
Call the Api.run method with the company number:
DefraRuby::CompaniesHouse.run("12345678")
If the company is found, the response will consist of a Hash including:
company_namecompany_type, e.g. "ltd", "llp", "plc"company_status, e.g. "active"registered_address, an array of address linesThe gem catches errors from the Companies House API and from the REST client and maps them to custom errors as follows.
DefraRuby::CompaniesHouse::CompanyNotFoundErrorDefraRuby::CompaniesHouse::ApiTimeoutErrorDefraRuby::CompaniesHouse::ApiErrorThe gem will log these errors to Airbrake if it is enabled, in which case there is no need for the app to also log the error.
If you have an idea you'd like to contribute please log an issue.
All contributions should be submitted via a pull request.
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3
The following attribution statement MUST be cited in your products and applications when using this information.
Contains public sector information licensed under the Open Government license v3
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.
FAQs
Unknown package
We found that defra_ruby_companies_house demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Googleâs UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.