Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This is simple asynchronous python CouchDB client that works with aiohttp, httpx and able to be adopted easily to any other http client.
= Python 3.11
pip install async-couch
import asyncio
from async_couch import get_couch_client
from async_couch.http_clients import HttpxCouchClient
async def example(client, doc_id: str):
await client.db_create('test_index')
await client.doc_create_or_update('test_index', doc_id, dict(val=1))
response = await client.doc_get('test_index', response.model._id)
assert response.model._id == doc_id
await client.attachment_upload(
'test_index', response.model._id, 'attachment_name', 'text/plain', b'\0')
if __name__ == '__main__':
loop = asyncio.get_event_loop()
client = get_couch_client(request_adapter=HttpxCouchClient)
loop.run_until_complete(example(client, 'document_name'))
FAQs
Asynchronous client for CouchDB.
We found that async-couch demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.