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.
Sharktail lets you pipe output from command-line programs to the web in real-time
Official Node.js client for https://sharktail.herokuapp.com.
Client is available as an npm package.
$ npm install -g sharktail
Show output on both stdout and sharktail:
$ echo "hello" | sharktail
Dummy loop in batch
and pipe to stdout and sharktail client
for /L %n in (1,1,10) do (sleep 1 & echo %n) | sharktail
Dummy loop in bash
and pipe to stdout and sharktail client
for i in {1..10}; do echo $i && sleep 1; done | sharktail
Dummy loop in python
and pipe to stdout and sharktail client.
-u
. Without it, all output will be displayed when the program execution is over instead of real-time. Flushing the stdout after every print statement is required to fix this, but it can be burdensome so using -u
is more convenient.python -u dummy_out.py | sharktail --delay 5
where dummy_out.py is
import time
for i in range(10):
print("hello {}".format(i))
time.sleep(1)
-Have time to see URL before full-screen command:
$ echo "hello" | sharktail --delay 5
Yigit Alparslan (@ya332)
Inspired by seashells.io. This client command is modified heavily from https://github.com/roccomuso/seashells. Credits go to them.
FAQs
Official Sharktail CLI written in Node.js
We found that sharktail demonstrated a not healthy version release cadence and project activity because the last version was released 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.