
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.
@opuscapita/electronic-address
Advanced tools
Library for decoding and encoding electronic addresses
Library to decode and encode electronic addresses for routing
Encoding is based on ISO6523. Details can be found at https://www.galaxygw.com/iso6523/
Install library by running:
npm install @opuscapita/electronic-address
Examples to decode and encode electronic addresses:
const electronicAddress = require('@opuscapita/electronic-address');
// decode an electronic invoice
electronicAddress.decode('9930:DE12345678542');
// returns object { type: 'vat', value: 'DE123456785', ext: '42' }
// encode an electronic invoice
electronicAddress.encode({ type: 'gln', value: '4324565678967' });
// returns '0088:4324565678967'
// For type `orgnr`, the country must be specified. E.g.
electronicAddress.encode({ type: 'orgnr', value: '54323456', country: 'DK' });
// returns '9902:54323456'
type
can be one of the following:
vat
gln
ovt
duns
orgnr
FAQs
Library for decoding and encoding electronic addresses
The npm package @opuscapita/electronic-address receives a total of 21 weekly downloads. As such, @opuscapita/electronic-address popularity was classified as not popular.
We found that @opuscapita/electronic-address demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.