
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.
@adraffy/ens-norm-uts46
Advanced tools
16.0.0
(but can be built using any version)ToUnicode()
functions
String.normalize()
for NFC (if no implementation is provided)~188 KB
minifiedimport {create_uts46} from '@adraffy/ens-norm-uts46';
// npm i @adraffy/ens-norm-uts46
// browser: https://cdn.jsdelivr.net/npm/@adraffy/ens-norm-uts46@latest/dist/index.min.js
const uts46 = create_uts46({
version: 2003,
use_STD3: true,
valid_deviations: true, // deprecated in 15.1
check_hyphens: true,
check_bidi: true,
contextJ: true,
contextO: false,
check_leading_cm: true,
punycode: true, // uses @adraffy/punycode.js
nfc: cps => cps // number[] -> number[], leave unspecified for String.normalize()
});
console.log(uts46('RAFFY.ETH'));
git clone
this repo then npm install
npm run derive
— download and parse Unicode data files
npm run test
— validate against IDNATestV2npm run build
— create /dist/
FAQs
ENS Name Normalization UTS46 Implementation
The npm package @adraffy/ens-norm-uts46 receives a total of 2 weekly downloads. As such, @adraffy/ens-norm-uts46 popularity was classified as not popular.
We found that @adraffy/ens-norm-uts46 demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/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.