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.
#var FileFog = require('filefog')
There are many cloud storage options for consumers. However each provider has their own API and API design philosophy, making it harder for developers to easily integrate their applications.
The idea behind FileFog is to provide a single consistent, promise-based API for developers to access user uploaded data, without having to worry about differing OAuth implementations, base urls or data parsing.
The FileFog philosophy is as follows:
Please note that this package is under heavy development, and the unified API may change unexpectedly. Once the API is stable, a version 1.0 will be released on NPM.
Initally FileFog will be released with only support for the following popular Cloud Services.
Providers for the following Cloud Services are also planned:
var filefog = require('filefog')
var filefog = require('filefog')
//This registration only needs to be done once.
filefog.use('dropbox', require('filefog-dropbox'), {client_key : '...',client_secret : '...'});;
//create a dropbox provider and client using previously saved access_tokens
//call dropboxProvider.oAuthGetAuthorizeUrl() if you do not have access_tokens already.
//var dropboxProvider = filefog.provider("dropbox")
//dropboxProvider.oAuthGetAuthorizeUrl()
dropboxClient = filefog.client("dropbox", {
access_token: '...',
refresh_token: '...'
})
.then(function (client) {
return client.getFolderInformation();
}).then(function (response) {
//Dropbox folder metadata, in a standardized format.
})
The docs are currently out of date, and as this library is underdevelopment and the API is not yet stable, this won't change for the forseeable future.
FAQs
Cloud Storage API Wrapper supporting Box, Dropbox, Skydrive, Google Drive
The npm package filefog receives a total of 20 weekly downloads. As such, filefog popularity was classified as not popular.
We found that filefog 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.