Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
pngcrush-bin
Advanced tools
pngcrush wrapper that makes it seamlessly available as a local dependency
pngcrush is an optimizer which main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels an PNG filter methods
You probably want imagemin-pngcrush
instead.
$ npm install --save pngcrush-bin
import {execFile} from 'node:child_process';
import pngcrush from 'pngcrush-bin';
execFile(pngcrush, ['-reduce', '-brute', 'input.png', 'output.png'], error => {
console.log('Image minified');
});
$ npm install --global pngcrush-bin
$ pngcrush --help
MIT © Imagemin
FAQs
pngcrush wrapper that makes it seamlessly available as a local dependency
The npm package pngcrush-bin receives a total of 8,150 weekly downloads. As such, pngcrush-bin popularity was classified as popular.
We found that pngcrush-bin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.