
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Helper library when working with nuban accounts
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install nuban --save
The module exposes 2 functions. Samples and an explanation follows:
Use the library's validate function to confirm that the account number is valid for the bank. Format is:
nuban.validate(accountNumber, bankCode);
const valid = nuban.validate("0123456789","011");
Use the library's calculateCheckDigit function to get the check digit for a nuban account's first 9 digits.
Format is:
nuban.calculateCheckDigit(first9, bankCode);
Note that this function throws a NubanValidationError if either the first9 or bank code are invalid according to a
regex check so it should be called in a try block.
let checkDigit = null;
try {
checkDigit = nuban.calculateCheckDigit("012345678","011");
} catch(err){
console.error(err);
}
npm install
npm test
> nuban@1.0.6 test /Users/i/plop/nuban
> node test.js
ok
None
None
MIT
FAQs
Helper library when working with nuban accounts
The npm package nuban receives a total of 346 weekly downloads. As such, nuban popularity was classified as not popular.
We found that nuban 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.