notaffected
Prove whether CVEs actually affect your Linux & Windows Server hosts — with deterministic proof and OpenVEX v0.2.0.
Quick Start · Reference & Probes · Security · Changelog
Traditional vulnerability scanners (Trivy, Grype, Qualys, Nessus) only check package versions. They do not know whether the vulnerable module, service, port, or registry path is actually reachable on your host.
notaffected turns CVE alerts into deterministic runtime verdicts across Linux and Windows Server (local, SSH, Docker, Kubernetes):
- Advisory preconditions: 25 curated Linux & Windows Server rules plus live OSV.dev, Red Hat Security Data API, Microsoft MSRC CVRF, MITRE CVE v5, CISA KEV, custom YAML rules (
--rules), and an optional bring-your-own-model advisor. - 12 read-only, fail-closed probes: Checks kernel/package versions, loaded modules,
sysctl,sslisteners,ufw/firewalld/nftables,systemd, processes, configs, and Windows builds/registry/services. Any ambiguity resolves tounder_investigation; AI never decides verdicts or runs shell commands (Security model). - Actionable output: Pinpoints truly
affectedhosts with temporary mitigation commands, provesnot_affectedhosts, and exports standard OpenVEX v0.2.0 (.vex.json, ready fortrivy --vex) and standalone HTML audit reports (--html).
Installation
# Instant run without installing globally (uv)
uvx notaffected ui
# Isolated CLI install (pipx) or standard pip
pipx install notaffected
pip install notaffected
From source: git clone https://github.com/KatsaounisThanasis/notaffected.git && cd notaffected && uv venv && uv pip install -e ".[dev]"
Quick Start
1. Local Web Dashboard
notaffected ui --port 8484
# Open http://127.0.0.1:8484
Discover Docker containers, load inventory.yaml, run Auto-Scan or upload a Trivy/Grype JSON report, test lab-only mitigations, and export OpenVEX v0.2.0 or HTML audit reports.
2. Zero-Argument Auto-Scan
# Try immediately with the built-in 5-host Linux + Windows Server demo fleet (100% offline)
notaffected scan --demo-fleet --offline --emit-vex demo.vex.json --html demo.html
# Or discover Docker targets and scan a real fleet
notaffected init --discover-docker -o inventory.yaml
notaffected scan -i inventory.yaml --emit-vex vex.json --html report.html
Auto-Scan Feed: 25 built-in rules | 0 live OSV package CVEs | 0 live CISA KEV CVEs
AFFECTED (4) prod-edge-api-01 (CVE-2026-98432, CVE-2024-6387)
win-dc-01 (CVE-2024-38063, CVE-2021-34527)
NOT AFFECTED (112) 89.6% false-positive noise cut with OpenVEX v0.2.0 proof (9 under_investigation)
OpenVEX v0.2.0 written to: demo.vex.json (125 statement(s))
3. Check Specific CVEs or Filter Trivy / Grype Reports
# Inspect preconditions & mitigations for any CVE
notaffected spec CVE-2024-6387
# Check local, SSH (Linux/Windows), Docker, or Kubernetes targets
notaffected check CVE-2024-6387 CVE-2024-47176 --host local
notaffected check CVE-2024-6387 CVE-2024-38063 --ssh ubuntu@10.0.0.10 --win-ssh Administrator@10.0.1.50
notaffected check CVE-2024-6387 --docker lab-ssh-vuln --k8s prod/worker-pod-0
# Filter a Trivy/Grype JSON scan and feed the OpenVEX output back into Trivy (one VEX per host)
notaffected filter examples/trivy-scan.json -i lab/inventory.yaml --emit-vex vex.json --html report.html
trivy rootfs --vex vex.json /
Documentation
- Reference & Probes (
docs/reference.md): Architecture diagram, all 12 read-only probes & OpenVEX justifications, custom YAML--rules, 4-container Docker simulation lab (lab/), Web UI safety controls, and optional AI advisor (BYOM) setup. - Security (
SECURITY.md): Threat model, fail-closed guarantees, and vulnerability reporting. - Changelog (
CHANGELOG.md): Release history.
License
MIT
Metadata
Release files for notaffected 1.0.1
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 |
|---|---|---|---|---|
| notaffected-1.0.1.tar.gz | 1.0 MB | With provenance | Details for notaffected-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| notaffected-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for notaffected-1.0.1-py3-none-any.whl |
Total release size: 1.1 MB
Release files / notaffected-1.0.1.tar.gz
| Download URL | notaffected-1.0.1.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16e278e4124497aef1e708b90eef127de5058efb3682cf148a3ecccd82333959
|
|
BLAKE2b-256 checksum How to use checksums |
31238ac87bdca6d4aa0e9d09ae3693c97b0604b4516f8571bdf372c80a75fb50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / notaffected-1.0.1-py3-none-any.whl
| Download URL | notaffected-1.0.1-py3-none-any.whl |
|---|---|
| Size | 121.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b7f344af2cf634d13322af0402661e7b6c3db36484570ac9710d54fc6498b37
|
|
BLAKE2b-256 checksum How to use checksums |
833b382f55440f797356fb7a697339963aa4179bbc041ddee29c2610d4ec0cb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for notaffected 1.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for notaffected-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA 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.