
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.
@mcnaveen/license-gen
Advanced tools
:unicorn: Simple utility to generate a license key in Node.js projects.
npm install @mcnaveen/license-gen --save
(or)
yarn add @mcnaveen/license-gen
import generateLicenseKey from "@mcnaveen/license-gen";
import generateLicenseKey from "@mcnaveen/license-gen";
const myKey = generateLicenseKey(32);
console.log(myKey);
8J5S-XN5P-73P2-XCPO-R37V-MPTH-TD6F-X270
Optionally, You can pass the pair length of the license key as a second argument.
import { generateLicenseKey } from '@mcnaveen/license-gen';
const myKey = generateLicenseKey(10, 5);
console.log(myKey);
OKXYT-PE8V5
If the Pair length is not specified, the default pair length will be set to 4.
https://github.com/mcnaveen/license-gen-example
No Additional dependencies used.
I hope you find this useful. If you have any questions, please create an issue.
FAQs
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.