
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@smarterservices/html-to-pdf-to-s3
Advanced tools
Module that takes a URL and using pdfcrowd pipes the resulting pdf into an s3 bucket
npm install @smarterservices/html-to-pdf-to-s3 -s
let pdfClient = require('@smarterservices/html-to-pdf-to-s3');
let pdf = new pdfClient(config); // config defined below
pdf.convertUrl(url,bucket,name,options)
.then(console.log)
.catch(console.log)
{
"accessKey":"aws access key. not required",
"secretKey":"aws secret key not required",
"region": "aws region. not required defaults to us-east-1",
"pdfCrowd": {
"userName": "pdfCrowd username",
"apiKey": "pdfCrowd api key",
"hostName": "pdfCrowd hostname. omit for default."
}
}
Can use AWS keys in env variable as AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
NOTE: AWS will use credentials in this order passed in to config > in environment var > with your system profile
url
: url that will be converted to pdfbucket
: name of bucket to insert itemname
: name of output item(must end in .pdf)options
: options object for pdfCrowd. This is optional.pdf.convertUrl('http://google.com','testBucket','google.pdf')
.then(console.log)
.catch(console.log)
html
: raw html that will be convertedbucket
: name of bucket to insert itemname
: name of output item(must end in .pdf)options
: options object for pdfCrowd. This is optional.pdf.convertHtml('<strong>Hi</strong>','testBucket','google.pdf')
.then(console.log)
.catch(console.log)
FAQs
Module that takes a URL and using pdfcrowd pipes the resulting pdf into an s3 bucket
The npm package @smarterservices/html-to-pdf-to-s3 receives a total of 1 weekly downloads. As such, @smarterservices/html-to-pdf-to-s3 popularity was classified as not popular.
We found that @smarterservices/html-to-pdf-to-s3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.