
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@legendaryrob/countrify
Advanced tools
A package to assist in the disection of ISO-3166-1(country) and ISO-3166-2(subdivision) ISO standards.
$ npm install @legendaryrob/countrify
const countrify = require("@legendaryrob/countrify")
// Finding names
countrify.getName("USD");
//=> "United States of America"
countrify.getName("US");
//=> "United States of America"
// Getting Alpha3 codes
countrify.getAlpha3("South Africa");
//=> "SAF"
countrify.getAlpha3("SA");
//=> "SAF"
// Getting Alpha2 codes
countrify.getAlpha3("South Africa");
//=> "SA"
countrify.getAlpha3("SAF");
//=> "SA"
// Getting a list of all the countries
countrify.allCountriesList();
//=> ['Andorra', 'United Arab Emirates', 'Afghanistan'...]
// Getting a list of all the subdivisions for country
countrify.getSubdivisionsList('South Africa', 'en');
//=> ['Eastern Cape', 'Free State', 'Gauteng'...]
// are able to swap out the country name with alpha2/alpha3
countrify.getSubdivisionsList('SAF', 'en');
//=> ['Eastern Cape', 'Free State', 'Gauteng'...]
// are able to swap out the country name with alpha2/alpha3
countrify.getSubdivisionsList('SAF', 'fr');
//=> ['Cap oriental', 'État-Libre', 'Gauteng'...]
FAQs
A package to assist in the disection of ISO-3166-1(country) and ISO-3166-2(subdivision) ISO standards.
The npm package @legendaryrob/countrify receives a total of 43 weekly downloads. As such, @legendaryrob/countrify popularity was classified as not popular.
We found that @legendaryrob/countrify 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.