
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.
i18n-key-extractor
Advanced tools
A Node.js CLI tool to extract internationalization (i18n) keys from JavaScript and TypeScript source files.
It scans code for translation keys used in t()
function calls and <Trans>
JSX components, and generates JSON, CSV, and Excel reports to help manage localization efforts.
t('key', {...})
or i18next.t('key', {...})
function calls<Trans i18nKey="key" {...props}>...</Trans>
or <Trans>key text</Trans>
JSX elements.xlsx
spreadsheet with language columns ready for translatorsi18n-extract \
--globs frontend::\"src/frontend/**/*.{ts,tsx,js,jsx}\" \
--globs backend::src/backend/**/*.js \
--ignore '**/__tests__/**' \
--outputDir ./dist/translations \
--baseName translation \
--existingKeysPath ./dist/translations/existingkeys.json \
--languages es,fr,de,it
FAQs
CLI tool for extracting i18n keys from source files
The npm package i18n-key-extractor receives a total of 0 weekly downloads. As such, i18n-key-extractor popularity was classified as not popular.
We found that i18n-key-extractor 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.
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.