ncheck
ncheck is a professional security platform for diagnostics, authorized pentest workflows,
personal security hygiene and passive OSINT.
It is designed for SRE, platform and security teams that need terminal-first checks with
clean rich output and machine-friendly JSON.
Professional Capabilities
- Network diagnostics:
ping: ICMP latency and packet-loss checksdns: hostname resolution by family (any,ipv4,ipv6)http: endpoint reachability and timing checksports: concurrent TCP port scantraceroute: path visibility to a targettls: certificate, issuer, protocol and expiry inspection- Defensive pentest posture:
audit: pentest-style exposure audit for authorized targetssurface: composed attack-surface assessment (DNS + ports + HTTP + TLS)- risky port exposure classification
- HTTP security-header posture analysis
- Passive OSINT toolkit:
osint-domain: WHOIS, DNS intelligence, CT subdomains, security.txt postureosint-email: MX, breach intelligence (optional HIBP API key), identity indicators- Personal security hygiene:
personal-security: local firewall state + listening service exposure triage- System observability:
system: local CPU, memory and top process usage- Engineering quality:
- typed service layer + dataclass result models
- consistent non-zero exit codes on failures/findings
- rich terminal rendering + JSON automation mode
- declarative batch plans (JSON/YAML) for repeatable diagnostics
- optional enterprise GUI dashboard with execution timeline and report export
- unit tests with
pytestand linting withruff
Legal and Ethical Use
Some commands can assess remote exposure (ports, audit, surface, traceroute).
Only run them against systems you own or have explicit permission to test.
audit and surface require --authorized as explicit confirmation.
Installation
pip install -e .
Development setup:
pip install -e .[dev]
Optional extras:
pip install -e .[batch]
pip install -e .[gui]
Command Examples
ncheck --help
ncheck --version
ncheck ping 8.8.8.8 --count 6 --timeout 1.2
ncheck dns github.com --family ipv4
ncheck http https://api.github.com --method HEAD --timeout 3
ncheck ports scanme.nmap.org --ports 22,80,443,8080
ncheck traceroute cloudflare.com --max-hops 25
ncheck tls cloudflare.com --port 443 --fail-on-warnings
ncheck system --top 10
ncheck personal-security --json
ncheck osint-domain example.com --include-subdomains
ncheck osint-email analyst@example.com --hibp-api-key $HIBP_API_KEY
ncheck surface example.com --authorized --ports 21,22,80,443,445 --json
ncheck batch examples/batch-plan.json --json
ncheck gui --host 127.0.0.1 --port 8501
Defensive audit (authorized targets only):
ncheck audit example.com --authorized --ports 21,22,80,443,445,3389
JSON mode for automation:
ncheck ping cloudflare.com --json
ncheck http cloudflare.com --json
ncheck system --json
ncheck audit example.com --authorized --json
ncheck surface example.com --authorized --json
ncheck osint-domain example.com --json
ncheck personal-security --json
ncheck batch plan.yaml --json
Batch Plans (JSON/YAML)
You can execute multiple checks from a single declarative file:
{
"checks": [
{"check": "ping", "host": "8.8.8.8", "count": 4, "timeout": 2.0},
{"check": "dns", "host": "example.com", "family": "ipv4"},
{"check": "osint_domain", "target": "example.com", "include_subdomains": true},
{"check": "personal_security", "top_ports": 20},
{"check": "surface", "host": "example.com", "authorized": true, "ports": "80,443"}
]
}
Rules:
- each item must define
check - check options can be top-level fields or grouped inside
options auditandsurfacerequireauthorized: true
GUI Dashboard
The GUI is web-based and built with Streamlit:
ncheck gui --host 127.0.0.1 --port 8501
It provides:
- interactive forms for diagnostics, pentest posture, OSINT and personal security
- execution timeline with success/failure tracking
- consolidated JSON report download for governance/audit trails
Exit Codes
0: command completed without failure conditions1: runtime error, check failure, or finding-based failure2: invalid CLI usage/argument validation error
Development
ruff check .
pytest
Metadata
Release files for ncheck 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ncheck-1.1.2.tar.gz | 41.3 kB | Without provenance | Details for ncheck-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ncheck-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for ncheck-1.1.2-py3-none-any.whl |
Total release size: 80.1 kB
Release files / ncheck-1.1.2.tar.gz
| Download URL | ncheck-1.1.2.tar.gz |
|---|---|
| Size | 41.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5620497bec5530abd1335f5858506ca9e7e1d6362cb0cc40cc289462e7971633
|
|
BLAKE2b-256 checksum How to use checksums |
afb4d88aef3ac997b582a0719bb64031ca3bdf0097071c46b0a5a9d4979802d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / ncheck-1.1.2-py3-none-any.whl
| Download URL | ncheck-1.1.2-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
526b63ddfd05eac6b2d2afec1fcb687a1f0c730dca38205efc671d82e3ef92ef
|
|
BLAKE2b-256 checksum How to use checksums |
fe76aa9741570eb99b3f477176d7a63995ea9d799b4f156d32fda711cb12ae2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for ncheck 1.1.2
Provenance
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.