
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.
A Ruby library for generating QR Codes and e-invoices according to the standard created by ZATCA in Saudi Arabia.
This library supports both Phase 1 and Phase 2. Phase 2 support is still new so there may be bugs. Please report any issues you find.
gem install zatca-sdk
bundle add zatca-sdk
If you were using the original version of this library, you can migrate to the new version by changing the gem name in your Gemfile from zatca
to zatca-sdk
.
As of this moment there are no new changes to the API, so you should be able to use the new version without any changes to your code.
This fork was made because my access to the original repository was removed and I wanted to continue maintaining the library.
require "zatca"
tags = {
seller_name: "Mrsool",
vat_registration_number: "310228833400003",
timestamp: "2021-10-20T19:29:32+03:00",
vat_total: "15",
invoice_total: "115",
}
ZATCA.render_qr_code(tags: tags)
# => data:image/png;base64,...
# Hint (Try pasting the above into your web browser's address bar)
If you'd like to customize the size of the QR Code you can manually use the generator like so:
require "zatca"
tags = ZATCA::Tags.new({
seller_name: "Mrsool",
vat_registration_number: "310228833400003",
timestamp: "2021-10-20T19:29:32+03:00",
vat_total: "15",
invoice_total: "115",
})
generator = ZATCA::QRCodeGenerator.new(tags: tags)
generator.render(size: 512)
Documentation lives in the wiki
This library is not affiliated, associated, authorized, endorsed by, or in any way officially connected with ZATCA (Zakat, Tax and Customs Authority), or any of its subsidiaries or its affiliates. The official ZATCA website can be found at https://zatca.gov.sa.
FAQs
Unknown package
We found that zatca-sdk 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.
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.