
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.
@didww/encrypt
Advanced tools
Encrypts files for DIDWW V3 API in browser.
see details at DIDWW Documentation
npm install @didww/encrypt
https://didww.github.io/didww-encrypt/
import DidwwEncrypt from '@didww/encrypt'
const encryptor = new DidwwEncrypt({
environment: 'sandbox'
})
let fingerprint = null
encryptor.getFingerprint().then(res => fingerprint = res) // => instance of String with fingerprint of public keys
// smallest png in base64 for an example
const pngBase64 = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg=='
const pngFile = new File([atob(pngBase64)], 'test.png', { type: 'image/png', lastModified: new Date() })
let encryptedContainer = encryptor.encryptFile(pngFile).then(encrypted => {
encryptedContainer.toFile() // => instance of File
encryptedContainer.toArrayBuffer() // => instance of ArrayBuffer
encryptedContainer.toString() // => instance of String in base64 format
})
or just load dist/browser.js
to page and use window.DidwwEncrypt
.
FAQs
Encrypt files for DIDWW V3 API
The npm package @didww/encrypt receives a total of 333 weekly downloads. As such, @didww/encrypt popularity was classified as not popular.
We found that @didww/encrypt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.