
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.
puppeteer-pdf-generator
Advanced tools
PDF Converter by using puppeteer.
# Install package
$ npm install puppeteer-pdf-generator
# Display help
$ puppeteer-pdf-generator --help
Usage: cli --path index.html --out index.pdf
Options:
--out <path> output path
--path <path> input html file
--url <url> input url
--format <format> Letter,Legal,Tabloid,Ledger,A0,A1,A2,A3,A4,A5,A6
--user-agent <string> user agent (default: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3312.0 Safari/537.36")
--timeout <number> time out ms (default: 30000)
--wait-for <number> wait for ms (default: 250)
-h, --help output usage information
# Generate pdf from html file
$ puppeteer-pdf-generator --path /tmp/index.html --format A4 --out index.pdf
# Generate pdf from url
$ puppeteer-pdf-generator --url https://google.com --format A4 --out google.pdf
FAQs
PDF Converter by using puppeteer.
The npm package puppeteer-pdf-generator receives a total of 180 weekly downloads. As such, puppeteer-pdf-generator popularity was classified as not popular.
We found that puppeteer-pdf-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.