
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.
@gun-vue/gun-es
Advanced tools
For use of GUN in <script type="module"></script>
environments in browser or in ESM first bundlers like Vite.
Install via npm/pnpm/yarn/bun/deno.
pnpm i @gun-vue/gun-es
Import Gun and SEA as module and use them.
import { Gun, SEA } from "@gun-vue/gun-es";
const pair = await SEA.pair();
const gun = Gun();
gun.user().auth(pair);
Original Gun SEA (Security Encryption Authorization) doesn't provide key derivation that coulld be used to deterministically generate key pairs from an arbitrary input. It may be different sources of entropy from just a string to a BIP39 mnemonic, WebAuthn credId, other keypair or just about anything - even an image. You can only generate a random key - this is very secure, but a little limiting.
Now we have a secure key derivation function for Gun. With it we can reliably generate keys from any given input. This opens many new ways for authentication and user creation. Try it!
import { Gun, SEA } from "@gun-vue/gun-es";
import derivePair from "@gun-vue/gun-es/derive";
const pair = await derivePair("password or another string", [
"extra",
"entropy",
"sources",
]);
const gun = Gun();
gun.user().auth(pair);
FAQs
ES version of GunJS Database
The npm package @gun-vue/gun-es receives a total of 57 weekly downloads. As such, @gun-vue/gun-es popularity was classified as not popular.
We found that @gun-vue/gun-es 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.