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.
skipper-openstack-v2
Advanced tools
[![NPM version](https://badge.fury.io/js/skipper-openstack-v2.png)](http://badge.fury.io/js/skipper-openstack-v2) [![Dependencies](https://david-dm.org/dporganizer/skipper-openstack-v2.svg)](https://david-dm.org/dporganizer/skipper-openstack
Skipper is a piece of middleware for Express that allows you to pipe/stream multipart form uploads for various storage endpoints. This project implements an OpenStack Swift adapter for Skipper.
This adapter is a new version of skipper-openstack that is up-to-date, actually working and more feature complete. It's written in ES6.
// api/controllers/UploadController.js
const crypto = require('crypto');
const skipperSwift = require('skipper-openstack-v2');
const algorithm = 'aes-256-ctr';
module.exports = {
download: (req, res) => {
const password = 'my-encryption-password';
skipperSwift.read({
container: 'my-container',
credentials: {
username: 'my-user@example.com',
password: 'MySecretPasswordHere1337',
authUrl: 'https://auth.my.openstack.url.com:5000',
tenantId: '<tenant id (md5 hash)>',
region: 'regionOne',
},
fileEncryption: {
enabled: true,
algorithm: 'aes-256-ctr',
password: 'super-secret-pw',
},
getFilename: (newFile) => newFile.fd,
}, req.params.filename, res);
},
};
FAQs
[![NPM version](https://badge.fury.io/js/skipper-openstack-v2.png)](http://badge.fury.io/js/skipper-openstack-v2) [![Dependencies](https://david-dm.org/dporganizer/skipper-openstack-v2.svg)](https://david-dm.org/dporganizer/skipper-openstack
We found that skipper-openstack-v2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.