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.
|Maintained| |MIT license| |Python 2.7| |Requirements Status| |Build Status| |Coverage Status|
tor-async-couchdb
is an opinionated
Tornado <http://www.tornadoweb.org/en/stable/>
__
async <http://tornado.readthedocs.org/en/latest/guide/async.html>
__
client for CouchDB <http://couchdb.apache.org/>
.
tor-async-couchdb
is intended to operate as part of a service's
application tier and interact with the service's data tier implemented
using CouchDB <http://couchdb.apache.org/>
.
tor-async-couchdb
documentation isn't as strong as it could be.
sample services are best way to gain an understanding of how to use
tor-async-couchdb
.
tor-async-couchdb
was originally created for use with
CouchDB <http://couchdb.apache.org/>
. tor-async-couchdb
has also
been used with Cloudant DBaaS <https://cloudant.com/product/>
and
Cloudant Local <https://cloudant.com/cloudant-local/>
__.
tor-async-couchdb
was created as a way to capture a very opinionated
set of best practices and learnings after operating and scaling a number
of services that used CouchDB and Tornado. The bullets below summarize
the opinions.
services should embrace eventual consistency
thoughts on data models:
every document should have a versioned type property (ex type=v9.99)
documents are chunky aka retrieval of a single document should typically be all that's necessary to implement a RESTful service's endpoint ala standard NoSQL data model thinking
assume conflicts happen as part of regular operation
sensitive data at rest is an information security concern that must be addressed
this <http://www.cmu.edu/iso/governance/guidelines/data-classification.html>
__
is a good example of data classification policybcrypt <https://pypi.python.org/pypi/py-bcrypt/>
__ if
possible and otherwise
SHA3-512 <http://en.wikipedia.org/wiki/SHA-3>
__Keyczar <http://www.keyczar.org/>
__direct tampering of data in the database is undesirable and therefore tamper resistance is both valued and a necessity
to prevent unncessary fragmentation, CouchDB, not the service tier, should generate document IDs
document retrieval should be done through views against document properties not document IDs
one design document per view
horizontally scaling CouchDB should be done using infrastructure (CouchDB 2.0 or Cloudant) not application level sharding
Install tor-async-couchdb
.
.. code:: bash
>pip install tor_async_couchdb
Configure tor-async-couchdb
in your service's mainline. Typically
the configuration options are expected to come from a configuration file
and/or the service's command line.
.. code:: python
from tor_async_couchdb import async_model_actions
async_model_actions.database = "http://127.0.0.1:5984/database"
async_model_actions.tampering_signer = None
async_model_actions.username = None
async_model_actions.password = None
async_model_actions.validate_cert = True
.. |Maintained| image:: https://img.shields.io/maintenance/yes/2017.svg .. |MIT license| image:: http://img.shields.io/badge/license-MIT-brightgreen.svg :target: http://opensource.org/licenses/MIT .. |Python 2.7| image:: https://img.shields.io/badge/python-2.7-FFC100.svg?style=flat .. |Requirements Status| image:: https://requires.io/github/simonsdave/tor-async-couchdb/requirements.svg?branch=master :target: https://requires.io/github/simonsdave/tor-async-couchdb/requirements/?branch=master .. |Build Status| image:: https://travis-ci.org/simonsdave/tor-async-couchdb.svg :target: https://travis-ci.org/simonsdave/tor-async-couchdb .. |Coverage Status| image:: https://coveralls.io/repos/simonsdave/tor-async-couchdb/badge.svg :target: https://coveralls.io/r/simonsdave/tor-async-couchdb
FAQs
Tornado Async Client for CouchDB
We found that tor_async_couchdb demonstrated a healthy version release cadence and project activity because the last version was released less than 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.