Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@smarterservices/html-to-pdf-to-s3
Advanced tools
Module that takes a URL and using pdfcrowd pipes the resulting pdf into an s3 bucket
Install & start
npm install pdf-pipe -s
let pdfPipe = require('pdfPipe')
let pdf = new pdfPipe(config //explained below)
pdf.pipeUrl(url,bucket,name)
.then(console.log)
.catch(console.log)
config for constructor:
{
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
}
}
//can have aws keys in env variable as AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
NOTE: aws will use creds in this order passed in to config > in enviroment var > with your system profile
method:
pipeUrl(url,bucket,name) //Promise
args:
url: url that will be converted to pdf
bucket: name of bucket to insert item
name: name of output item(must end in .pdf)
return:
resolve or reject of promise
example:
pdf.pipeUrl('http://google.com','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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.