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.
pngquant-envbin
Advanced tools
`pngquant` wrapper with environment variable for download enabled that makes it seamlessly available as a local dependency
pngquant
is a PNG compressor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format
You probably want imagemin-pngquant
instead.
$ npm install pngquant-bin
const {execFile} = require('child_process');
const pngquant = require('pngquant-bin');
execFile(pngquant, ['-o', 'output.png', 'input.png'], err => {
console.log('Image minified!');
});
$ npm install --global pngquant-bin
$ pngquant --help
The Linux binaries are statically linked so they should work on all Linux distributions. To recompile them:
sudo apt-get install libpng-dev
./configure CFLAGS=-static && make && cp pngquant pngquant-64
pwd
:/source i386/debian:9.3 bashFAQs
`pngquant` wrapper with environment variable for download enabled that makes it seamlessly available as a local dependency
The npm package pngquant-envbin receives a total of 13 weekly downloads. As such, pngquant-envbin popularity was classified as not popular.
We found that pngquant-envbin demonstrated a not healthy version release cadence and project activity because the last version was released 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.
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.