
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
A high-performance npm package that provides card BIN (Bank Identification Number) information quickly and efficiently with SQL.
Using npm:
$ npm install binfo
Other Installations:
$ yarn add binfo
$ pnpm add binfo
import bin, { CardBrand, CardType, CardLevel } from 'binfo';
/* For CommonJS */
/* const bin = require('binfo'); */
async function binCheck() {
/* Find Bin - Promise<BinResponse> */
var findBin = await bin.findBin({ bin: '999960' });
console.log(findBin);
/* Output:
{
bin: '999960',
card: { brand: 'LOCAL BRAND', type: 'DEBIT', level: 'PREPAID' },
bank: { name: 'BC CARD', website: '', phone: '+8215884000' },
country: {
name: 'KOREA, REPUBLIC OF',
code: 'KR',
iso3: 'KOR',
emoji: '🇰🇷'
},
currency: 'KRW'
}
*/
/* Search Bin List - Promise<BinResponse[]> */
var findBins = await bin.findBins({ currency: 'USD' },{ $limit: 5 });
console.log(findBins);
/* Output:
[{
bin: '223009',
card: { brand: 'MASTERCARD', type: 'DEBIT', level: 'ENHANCED' },
bank: {
name: 'COMPUTER SERVICES, INC.',
website: '',
phone: '+18005454274'
},
country: { name: 'UNITED STATES', code: 'US', iso3: 'USA', emoji: '🇺🇸' },
currency: 'USD'
},
{
bin: '223013',
card: { brand: 'MASTERCARD', type: 'DEBIT', level: 'ENHANCED' },
bank: {
name: 'COMPUTER SERVICES, INC.',
website: '',
phone: '+18005454274'
},
country: { name: 'UNITED STATES', code: 'US', iso3: 'USA', emoji: '🇺🇸' },
currency: 'USD'
},
{
bin: '223019',
card: { brand: 'MASTERCARD', type: 'DEBIT', level: 'BUSINESS' },
bank: {
name: 'COMPUTER SERVICES, INC.',
website: '',
phone: '+18005454274'
},
country: { name: 'UNITED STATES', code: 'US', iso3: 'USA', emoji: '🇺🇸' },
currency: 'USD'
},
{
bin: '223020',
card: { brand: 'MASTERCARD', type: 'CREDIT', level: 'STANDARD' },
bank: { name: 'CAJA CENTRAL FINANCOOP', website: '', phone: '' },
country: { name: 'ECUADOR', code: 'EC', iso3: 'ECU', emoji: '🇪🇨' },
currency: 'USD'
},
{
bin: '223021',
card: { brand: 'MASTERCARD', type: 'CREDIT', level: 'STANDARD' },
bank: { name: 'CAJA CENTRAL FINANCOOP', website: '', phone: '' },
country: { name: 'ECUADOR', code: 'EC', iso3: 'ECU', emoji: '🇪🇨' },
currency: 'USD'
}]
*/
/* Create Bin - Promise<boolean> */
var createBin = await bin.createBin({ bin: '999999', cardBrand: 'LOCAL', cardType: 'TEST', cardLevel: 'TEST', bankName: 'Bes-js', bankWebsite: 'https://github.com/Bes-js', bankPhone: '+123456789', countryName: 'Türkiye', countryCode: 'BES', countryIso3: 'BES-JS', currency: 'TRY' });
console.log(createBin);
/* Output:
true
*/
/* Update Bin - Promise<boolean> */
var updateBin = await bin.updateBin({ bin: '999999' }, { bin: '123456', cardBrand: 'TEST' });
console.log(updateBin);
/* Output:
true
*/
/* Delete Bin - Promise<boolean> */
var deleteBin = await bin.deleteBin({ bin: '123456' });
console.log(deleteBin);
/* Output:
true
*/
};
binCheck();
binfo is licensed under the MIT License. See the LICENSE file for details.
FAQs
A high-performance npm package that provides card BIN (Bank Identification Number) information quickly and efficiently with SQL.
The npm package binfo receives a total of 74 weekly downloads. As such, binfo popularity was classified as not popular.
We found that binfo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.