AI-powered network intelligence and vulnerability discovery platform
pip install pynetworkintel==1.8.0 Copy PIP instructions
Discover what's on your network, map how it's connected, and triage vulnerabilities — a pure-Python wrapper around nmap, SSH config grabs, rule checks, and live NVD lookups.
Before you scan anything: this tool actively probes network hosts. Only scan networks and devices you own or have explicit written permission to test. Unauthorized scanning may be illegal in your jurisdiction. scan/analyze refuse to run without --i-am-authorized, PYNETWORKINTEL_I_AM_AUTHORIZED=1, or an interactive confirmation.
Not to be confused with PyAPICheck: PyNetworkIntel maps devices, services, and vulnerabilities on a network; PyAPICheck focuses on API security and policy.
Part of the Mullassery open-source family. These tools have similar names — here is the short version of who does what:
PyNetworkIntel is a CLI and library that runs nmap -sV against a target, parses the results into devices and services, optionally grabs configuration files from reachable devices over SSH, checks discovered services against rule-based checks and the NVD CVE database, and derives a subnet/gateway topology graph from the results. An optional --summarize step produces a plain-English findings summary via the Anthropic API.
It is pure Python with no bundled Rust engine, no trained ML models, and no cloud-hosted service. Beyond nmap, SSH, NVD, and (only if you opt in) Anthropic, it makes no hidden network calls.
Beta (v1.5.0). The core discovery → analysis → topology → reporting path is implemented and tested. The cloud, kubernetes, iot, ml, and devops extensions ship but are lighter-tested. enterprise and architect are excluded from the distributed package. See ROADMAP_HONEST.md for the current honest status and CLAUDE.md for an accurate architecture description.
pip install pynetworkintel The nmap binary must be installed separately and on PATH (the package wraps it via subprocess). Without it, discovery returns no results, but the rest of the API still works.
Optional extras for the lighter-tested cloud/Kubernetes asset-discovery modules:
pip install "pynetworkintel[cloud]" # boto3, azure-mgmt-*, google-cloud-* pip install "pynetworkintel[kubernetes]" # kubernetes python client Quick start pip install pynetworkintel # nmap must also be installed and on PATH (brew install nmap / apt install nmap / etc.) pynetworkintel scan 192.168.1.0/24 # -> prompts to confirm you're authorized to scan this target, then runs from pynetworkintel import Scanner scanner = Scanner() # no SSH by default result = scanner.scan("192.168.1.0/24") for device in result.devices: print(f"{device.ip} ({device.hostname or 'unknown'})") for service in device.services: print(f" - {service.name} {service.version or ''} on port {service.port}") print(result.topology().to_dict()) # subnet groupings + inferred gateway edges Usage CLI:
# Scan a subnet (prompts for scan authorization the first time) pynetworkintel scan 192.168.1.0/24 # Grab SSH config from reachable devices (explicit --ssh-user required) pynetworkintel scan 192.168.1.0/24 --ssh-user admin --ssh-key ~/.ssh/id_rsa # Non-interactive / CI use: skip the confirmation prompt explicitly pynetworkintel scan 192.168.1.0/24 --i-am-authorized # Full pipeline: scan + vulnerability analysis + AI summary pynetworkintel analyze 192.168.1.0/24 --summarize # JSON output (devices, findings, and the topology graph) pynetworkintel scan 192.168.1.0/24 --output json # Save results to a file pynetworkintel analyze 192.168.1.0/24 --output-file results.json SSH passwords are never accepted as a CLI flag. Use --ssh-key or set PYNETWORKINTEL_SSH_PASSWORD in the environment.
from pynetworkintel import Pipeline pipeline = Pipeline( ssh_username="admin", # optional; omit to skip SSH config grabbing ssh_key_path="~/.ssh/id_rsa", ) result = pipeline.run("192.168.1.0/24", summarize=False) print(result["summary"]) # counts: devices, findings by severity, subnets print(result["topology"]) # {"nodes": [...], "edges": [...], "subnets": [...]} for finding in result["findings"]: print(finding["severity"], finding["title"]) Module status Being direct about what is tested vs. real-but-lighter-tested vs. not shipped:
See SECURITY.md for how to report a vulnerability.
docs/ARCHITECTURE.md, docs/PRODUCT_VISION.md, and docs/ROADMAP.md are stale/placeholder documents from earlier planning, each carrying an in-file banner saying so — refer to CLAUDE.md and ROADMAP_HONEST.md instead.
Contributions are welcome — see CONTRIBUTING.md. Development workflow:
pip install -e ".[dev]" pytest tests/ -v CI (.github/workflows/tests.yml) runs pytest tests/ -v on Python 3.10/3.11/3.12 and fails the build on any test failure.
This project is licensed under the Apache License 2.0.
network security vulnerability scanning discovery monitoring artificial-intelligence
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.




