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.
Dice Mist is a wrapper for the Evaporate library providing web worker support.
When uploading multiple large files, it is possible for the upload process to lag the main JS thread, by delegating this work to a web worker you can keep your UI snappy.
npm i dice-mist
import Mist from 'dice-mist';
const config = {
// evaporate config
worker: true // boolean to use worker or not
};
const files = [
// array of Javascript Files
// you MUST add an ID to each file, so that it can be track from the worker
// E.g: files.forEach(file => {file.id = generateId()});
];
Mist(config, files)
.progress((progress, id) => { /* File upload % progress - number between 0 & 1 */})
.success((id, data, awsObjectKey) => { /* fileGuid, fileData, s3 key/path */})
.error((reason, id) => { /* error reason, errored file */})
.start((cancel, id) => { /* function to cancel individual file upload, file id */});
For ease of instantiation the web work implementation does not accept MD5 or SHA256 functions from the config. These are set to js-spark-md5 and js-sha256.
FAQs
A wrapper for the evaporate library allowing use in a web worker.
The npm package dice-mist receives a total of 22 weekly downloads. As such, dice-mist popularity was classified as not popular.
We found that dice-mist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.