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.
SSHreader is a Python Module for multiprocessing/threading ssh connections in order to make ssh operations across multiple servers parallel. It utilizes the Paramiko module for its ssh client.
In order to maintain the widest range of compatibility, SSHreader is currently tested using the following versions of Python:
SSHreader is released under GNU Lesser General Public License v3.0, see the file LICENSE and LICENSE.lesser for the license text.
The most straightforward way to get the SSHreader module working for you is:
pip install sshreader
This ensures that all the requirements are met.
The documentation for SSHreader can be found here
Comments and enhancements are very welcome.
Report any issues or feature requests on the BitBucket bug tracker. Please include a minimal (not-) working example which reproduces the bug and, if appropriate, the traceback information. Please do not request features already being worked towards.
Code contributions are encouraged: please feel free to fork the project and submit pull requests to the develop branch.
If you are wanting to work on development of SSHreader, first ensure Poetry is installed and then:
poetry install --with dev
To ensure all development requirements are met. This will allow you to run the unit/integration tests!
If you have installed Poetry] you can build its Sphinx Documentation for SSHreader simply by:
make docs
Then simply open docs/build/html/index.html
in your browser.
Included with sshreader is a script called pydsh
. This works very similar topdsh
but uses sshreader at its core to perform ssh commands in parallel and return the results.
The output of pydsh
can also be piped through the dshbak
tool that comes with pdsh.
Pydsh uses hostlist expressions to get its list of hosts to process.
FAQs
Multi-threading/processing wrapper for Paramiko
We found that sshreader 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.