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.
:info: Google Analytics client for asyncio
.. image:: https://img.shields.io/travis/aio-libs/aioga.svg :target: https://travis-ci.org/aio-libs/aioga
.. image:: https://img.shields.io/pypi/v/aioga.svg :target: https://pypi.python.org/pypi/aioga
.. code-block:: shell
pip install aioga
.. code-block:: python
import asyncio
import uuid
from aioga import GA
TRACKING_ID = 'XX-XXXXXXXX-X'
async def go():
cid = uuid.uuid4()
async with GA(TRACKING_ID) as ga:
ga.event(str(cid), ec='tests', ea='success from context manager')
# all methods returns asynio.Tasks, which can be awaited if needed
loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()
The library is asynchronous client for measurement protocol. All available hit types are supported.
Full documentation <https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide>
_ of measurement protocol provides by google
All methods require cid (Client ID). The value of this field
should be a random UUID (version 4) as described in
<http://www.ietf.org/rfc/rfc4122.txt>
_
Library support all available parametes for measurement protocol
(documentation here <https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters>
_)
FAQs
Google Analytics client for asyncio
We found that aioga 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.