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.
Python's built-in logging
and other similar systems output a stream of factoids: they're interesting, but you can't really tell what's going on.
Standard logging can't answer these questions.
But with a better model you could understand what and why things happened in your application. You could pinpoint performance bottlenecks, you could understand what happened when, who called what.
That is what Eliot does.
eliot
is a Python logging system that outputs causal chains of actions: actions can spawn other actions, and eventually they either succeed or fail.
The resulting logs tell you the story of what your software did: what happened, and what caused it.
Eliot supports a range of use cases and 3rd party libraries:
built-in support for NumPy and Dask <https://eliot.readthedocs.io/en/stable/scientific-computing.html>
_.Asyncio and Trio coroutines <https://eliot.readthedocs.io/en/stable/generating/asyncio.html>
_ and the Twisted networking framework <https://eliot.readthedocs.io/en/stable/generating/twisted.html>
_.Eliot is only used to generate your logs; you will might need tools like Logstash and ElasticSearch to aggregate and store logs if you are using multiple processes across multiple machines.
Eliot supports Python 3.8-3.12, as well as PyPy3. It is maintained by Itamar Turner-Trauring, and released under the Apache 2.0 License.
Read the documentation <https://eliot.readthedocs.io>
_.PyPI
_ or conda-forge <https://anaconda.org/conda-forge/eliot>
_.File an issue <https://github.com/itamarst/eliot/issues/new>
_ on GitHub.Python⇒Speed <https://pythonspeed.com/services/#eliot>
_."Eliot has made tracking down causes of failure (in complex external integrations and internal uses) tremendously easier. Our errors are logged to Sentry with the Eliot task UUID. That means we can go from a Sentry notification to a high-level trace of operations—with important metadata at each operation—in a few seconds. We immediately know which user did what in which part of the system."
—Jonathan Jacobs
.. _Github: https://github.com/itamarst/eliot .. _PyPI: https://pypi.python.org/pypi/eliot
FAQs
Logging library that tells you why it happened
We found that eliot 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.