
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
Extracts only the dist files from packages
$ npm install distiller --global
$ distiller -h
Usage
$ distiller [options] <package>
Options
-l, --list lists locally defined custom packages
-o, --output-dir destination for output
-t, --temp-dir destination for temporary build files
-k, --keep-temp do not remove the temporary directory
-h, --help shows usage help
DISTILLER_DIST
to override the default output location $HOME/.distiller/dist
DISTILLER_TEMP
to override the default temporary build location $HOME/.distiller/temp
$ distiller react
Distilled into: ~/.distiller/dist/react
$ tree ~/.distiller/dist/react
~/.distiller/dist/react/
├── react.js
├── react-with-addons.js
├── react-with-addons.min.js
└── react.min.js
var distill = require('distiller').distill;
distill({
package: 'react', // can be any NPM discoverable package
outputDir: '/Users/hotdog/Desktop/react-dist/', // defaults to $HOME/.distiller/dist/${package}
tempDir: '/Users/hotdog/.temp-folder-for-distiller' // defaults to $HOME/.distiller/temp
}, error => {
if (error) {
return console.log('error', error);
}
console.log('carry on');
});
Required
Type object
Required
Type string
The official NPM package name.
Type: string
Default: $HOME/.distiller/dist/${package}
The absolute path to place output files.
Type: string
Default: $HOME/.distiller/temp/distilled-${package}
The absolute path to use for building the package.
Type: boolean
Default: false
Can prevent the tempDir
from being removed after execution.
ISC © Buster Collings
FAQs
Extracts only the dist files from packages
We found that distiller 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.