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.
Asynchronous tailing library written in Rust.
Python wrapper around Rust linemux library, which uses the notify cross-platform filesystem notification library.
Uses PyO3 Rust bindings and PyO3-asyncio to manage Rust/Python event loops lifecycles.
async-tail requires Python 3.7 - 3.11.
pip install async-tail
Binaries are available for:
x86_64
, aarch64
, i686
, armv7l
, musl-x86_64
, musl-aarch64
, ppc64le
& s390x
x86_64
& arm64
(except python 3.7)Otherwise, you can install from source which requires Rust stable to be installed.
Here are some examples of what async-tail can do:
tail
Usagefrom async_tail import tail
for line in tail('./path/to/file.log', './path/to/file_2.log'):
print(line)
atail
Usageimport asyncio
from async_tail import atail
async def main():
async for line in atail('/path/to/file.txt', '/path/to/file_2.txt'):
print(line)
asyncio.run(main())
async-tail is a way for me to learn Rust and experiment Rust bindings from Python. It is inspired from the great Samuel COLVIN's work on watchfiles, which provides a Python wrapper around Rust notify crate. This is still under development. More things will come:
FAQs
tail -f utility library providing both sync and async interfaces
We found that async-tail 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.