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.
apollo-passport-rethinkdbdash
Advanced tools
rethinkdbdash driver for apollo-passport
Copyright (c) 2016 by Gadi Cohen, released under the MIT license.
import rethinkdbdash from 'rethinkdbdash';
import RethinkDBDashDriver from 'apollo-passport-rethinkdbdash';
// However you usually create your "r" instance
const r = rethinkdbdash({
db: "myApp",
servers: [ { host, port } ]
});
// Pass to apollo passport at creation time
const apolloPassport = new ApolloPassport({
// along with any other relevant options
db: new RethinkDBDashDriver(r)
});
Optional parameters, e.g. if your users
table is called something else:
new RethinkDBDashDriver(r, {
userTableName: 'users',
configTableName: 'apolloPassportConfig',
db: '(override default database given to rethinkdbdash)'
});
See apollo-passport for more info.
This package is fully documented with 100% test coverage. It can be used as a basis for creating other DBDrivers for Apollo Passport.
See also the API Docs, ordered by version and viewable online via rawgit, e.g. v0.0.2 API Docs on RawGit.
[v0.0.3] - 2016-08-21
apollo-passport-database-driver
keyword in package.json
(had to republished).FAQs
rethinkdbdash driver for apollo-passport
We found that apollo-passport-rethinkdbdash 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.