Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Pluggable multi-threaded framework with inventory management to help operate collections of devices
Nornir is a pure Python automation framework intented to be used directly from Python. While most automation frameworks use their own Domain Specific Language (DSL) which you use to describe what you want to have done, Nornir lets you control everything from Python.
One of the benefits we want to highlight with this approach is the ease of troubleshooting, if something goes wrong you can just use your existing debug tools directly from Python (just add a line of import pdb
& pdb.set_trace()
and you're good to go). Doing the same using a DSL can be quite time consuming.
What Nornir brings to the table is that it takes care of dealing with your inventory and manages the job of dispatching the tasks you want to run against your nodes and devices. The framework provides a very simple way to write plugins if you aren't happy with the ones we ship. Of course if you have written a plugin you think can be useful to others, please send us your code and test cases as a pull request.
Please note that Nornir requires Python 3.7 or higher. Install Nornir with pip.
pip install nornir
Since version 3.0.0 nornir doesn't ship with plugins, instead you can rely on pip
to install them for you. You can find a non-exhaustive list of plugins in the following URL:
https://nornir.tech/nornir/plugins/
If you wrote a plugin and want to add it to the list don't hesitate to add it yourself
If you want to clone the repo and install it from there you will need to use poetry.
Read the Nornir documentation online or review its code here
You can find some examples and already made tools here
Below you can find links to talks, blog posts, podcasts and other resources:
If you think you have bug or would like to request a new feature, please register a GitHub account and open an issue.
Official channel for communicating issues is via GitHub issues and you can use GitHub discussions for general discussions around nornir. In addition, you can join the community in our #nornir
channel in the networktoCode Slack team.
If you want to help the project, the Contribution Guidelines is the best place to start.
FAQs
Pluggable multi-threaded framework with inventory management to help operate collections of devices
We found that nornir demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.