Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A library for generation and validation of International Bank Account Numbers (IBAN, ISO 13616) and Business Identifier Codes (BIC, ISO_9362).
This release should be compatible with the SWIFT IBAN Registry
Version 88. There may be a limited number
of value differences, some countries in the Registry doesn't describe bank/branch information
but may expose it as 3!n4!n
but leave the branch description as a blank.
// How to generate IBAN
const ibanStr = new IBANBuilder()
.countryCode(CountryCode.AT)
.bankCode("19043")
.accountNumber("00234573201")
.build()
.toString();
// How to create IBAN object from String
const iban = new IBAN("DE89370400440532013000");
// The library ignores spaces in IBANs, this is valid
const iban = new IBAN("DE89 3704 0044 0532 0130 00");
// For testing, the library will also generate random IBANs
const iban = IBAN.random(CountryCode.AT);
const iban = IBAN.random();
const iban = new IBANBuilder()
.countryCode(CountryCode.AT)
.bankCode("19043")
.build();
// For simplicity in porting from iban-js applications
// you can quickly check validity
IBAN.isValid("AT611904300234573201"); // === true
IBAN.isValid("DE89 3704 0044 0532 0130 00"); // == true
IBAN.isValid("hello world"); // == false
// How to create BIC object from String
const bic = BIC("DEUTDEFF");
// Check to see is BIC code is valid
BIC.isValid("DEUTDEFF500"); // === true
Copyright 2018-2021 David Koblas
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
FAQs
Validation, field extraction and creation of IBAN, BBAN, BIC numbers
The npm package ibankit receives a total of 4,089 weekly downloads. As such, ibankit popularity was classified as popular.
We found that ibankit 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.