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.
pastebee-cli
Advanced tools
Simple CLI tool to pipe text/logs to Swarm network
This project is intended to be used with Bee version 1.2.0. Using it with older or newer Bee versions is not recommended and may not work.
This package currently works out of box, but might break in future as it depends on some specific behaviour of other components and projects. If you notice that it is broken please create issue, or better PR.
It is a bit of a hack project, so there might be a problems, please let me know if you have some problems.
To use pastebee-cli
across your whole system, it is recommended to install it globally:
npm install --global pastebee-cli
pastebee-cli
takes input from STDIN, so pipe in whatever you feel like it! (it has to be a text though):
$ echo "Hello World Swarm" | pastebee
✔ Uploaded! https://pastebee.bzz.link/?34848f873ae2cc740957d45ad890e9f3bd18ad60e91b58cdf7c90b9f1f6c00b6
// Send somebody link to your logs
$ some-cool-command | pastebee --silence | mail -s "Check out my logs" somebody@example.com
Usage: <some STDOUT producing command> | pastebee [options]
Options:
--version Show version number [boolean]
-b, --bee Bee node URL. By default Gateway is used. [string]
-p, --stamp Postage Batch Stamp ID. Required if custom Bee node is used.
[string]
-n, --name Name of the file that is stored in metadata. [string]
-a, --hash Displays only the reference not as URL. [boolean]
-s, --silence Output only the uploaded reference without any UX. [boolean]
-h, --help Show help [boolean]
pastebee-cli is a simple tool for piping text to Swarm network.
If you want to know more about Swarm network visit https://ethswarm.org/
You can configure the Bee node setting using environmental variables:
BEE_URL
- A URL to your Bee nodeBEE_STAMP
- A Postage Stamp Batch ID to be used when uploaded. Required if you are using custom Bee node.This is simple hack project to demonstrate Swarm network and simplify common task. Feel free to create a PR with new features or bug fixes!
See what "Maintainer" means here.
FAQs
Cli tool for pasting logs to Bee
We found that pastebee-cli 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.