[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115350":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":21,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":14,"starSnapshotCount":14,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},115350,"VulnWitness","Yuning-J\u002FVulnWitness","Yuning-J","Telecom-focused CVE search, product\u002Fversion queries, and protocol threat context via CLI, REST, and MCP.",null,"Python",63,8,56,0,1,43.46,"MIT License",false,"main",[],"2026-11-19 09:45:12","2026-11-17 16:26:01","# VulnWitness\n\nAn evidence-backed vulnerability investigation workbench for analysts and AI agents.\n\nVulnWitness answers vulnerability questions with cited, recorded evidence and says plainly\nwhat it cannot establish. Its general core covers CVE\u002FKEV records, product queries,\nCWE → CAPEC → ATT&CK catalogue associations, recorded sessions, checks and reports. A\nbuilt-in telecom extension adds topic cards and MITRE FiGHT threat context.\n\n`prioritise` applies a named policy to a recorded session and an analyst's asset register;\nreports and the local UI show recommendations separately from compliance status\n([ADR 0016](docs\u002Frebuild\u002Fadr\u002F0016-priority-decisions.md), [runbook](docs\u002Frunbook.md#prioritise-a-session)).\n\nPriority facts include `public_exploit`: NVD references tagged `Exploit`, cited and never\nfetched; an untagged record is not \"no exploit\"\n([ADR 0019](docs\u002Frebuild\u002Fadr\u002F0019-public-exploit-references.md)). Since most new CVEs are no\nlonger enriched by NVD (\"Not Scheduled\"), stores also keep the CNA\u002FADP data NVD mirrors and\nCISA's SSVC; the `exploitation-demo` policy reads SSVC exploitation, automatable and\ntechnical-impact facts ([ADR 0020](docs\u002Frebuild\u002Fadr\u002F0020-nvd-mirrored-source-data.md),\n[ADR 0021](docs\u002Frebuild\u002Fadr\u002F0021-ssvc-and-source-grade-facts.md)). `vulnwitness store\ncoverage` shows how much of a store NVD has enriched.\n\n`--policy cn-auto-source-grade` opts into the CNA or other scorer's own CVSS v3.x\u002Fv4.0\nHIGH\u002FCRITICAL grade when neither NVD nor CNVD gives a usable grade. It extends\n`cn-auto-demo` with an `attend` rule for affected assets in the external-connection or\nsoftware-update categories and names the scorer in its reason. `cn-auto-demo` does not\nread source grades.\n\nCNVD links carry a name-overlap check for review without changing grades or links\n([ADR 0017](docs\u002Frebuild\u002Fadr\u002F0017-cnvd-name-check.md)).\n\nRaw CNVD base and incremental inputs are available for opt-in research with an unverified\ndata licence ([ADR 0018](docs\u002Frebuild\u002Fadr\u002F0018-cnvd-raw-research-input.md)).\n\n![Open5GS walkthrough: triage reads 211 product matches over 11 pages, looks up 5 CVEs, records the session, checks 495 claims against the record and renders a report; affectedness stays unknown](docs\u002Fmedia\u002Fopen5gs-walkthrough.webp)\n\n*A real triage of Open5GS 2.7.6 on the NVD snapshot of 2026-10-27: selected recorded events,\ntiming condensed.*\n\n## Three ways to use it\n\n- **Command line.** `triage` runs a bounded product investigation and records every call;\n  `report` turns any recorded session into a shareable HTML or Markdown report. Individual\n  commands (`lookup`, `search`, `product`, `investigate`) return JSON or readable text.\n- **Claude Code plugin and MCP agents.** Local test: `claude --plugin-dir plugins\u002Fvulnwitness`\n  (tested with Claude Code 2.1.316). It needs a checkout set up with `uv sync --locked`\n  and `VULNWITNESS_BIN` pointing at its `vulnwitness`; see the\n  [plugin runbook](docs\u002Frunbook.md#claude-code-plugin). Other clients have no hook.\n  For direct MCP, `vulnwitness mcp --workspace ~\u002F.vulnwitness\u002Fworkspace` lets\n  an agent triage a product, inspect recorded evidence, add findings and deliver a checked\n  report without a shell. The [investigation Skill](plugins\u002Fvulnwitness\u002Fskills\u002Fvulnwitness-investigation\u002FSKILL.md)\n  guides the flow; [client snippets](plugins\u002Fvulnwitness\u002Fskills\u002Fvulnwitness-investigation\u002Fmcp-config\u002FREADME.md)\n  for Claude Code, Codex and Cursor follow their documented formats and have not yet been\n  tested inside those clients.\n- **Local browser UI.** `vulnwitness ui --workspace ~\u002F.vulnwitness\u002Fworkspace` opens a local\n  evidence workspace for product triage, CVE lookup and telecom topics. Install the `api`\n  extra, open the printed URL, continue investigations, check them and export HTML reports.\n  Reports show record consistency, citation resolution, structured claims and unchecked\n  narrative separately. See the [UI runbook](docs\u002Frunbook.md#local-browser-ui).\n\n## Two-minute quick start\n\nRequires Python 3.11+ and [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F). With `VULNWITNESS_STORE_ROOT`\nunset, everything runs on packaged synthetic demo data:\n\n```sh\nuv sync --locked\nsource .venv\u002Fbin\u002Factivate\nvulnwitness triage --vendor democorp --product demo_gateway --version 2.0 --session .\u002Fdemo\nvulnwitness report .\u002Fdemo --format html --output .\u002Fdemo-report.html\n```\n\n[![Report for the demo session: overview cards, key facts and limits, and the first CVE card with its match basis, NVD version condition and unknown affectedness](docs\u002Fmedia\u002Freport-demo.png)](docs\u002Fmedia\u002Freport-demo.png)\n\n*Synthetic demo data. The report opens with what was read, what was looked up and what is\nnot established, followed by one card per CVE.*\n\n`triage` exits `0` when the planned scope completes and the checks pass, `1` when nothing\nmatches, `2` on failure, and `3` when a page or time cap stopped it early with results\nsaved and checks passing. Use a new directory for each run.\n\n## Topic investigations\n\nTopic cards connect a domain question such as \"GTP\" or \"5G-AKA\" to concrete retrieval: aliases,\nsearch templates, relevance rules and exclusions. `investigate` resolves the card, searches\nimplementation CVEs and FiGHT protocol threats within a fixed budget, keeps the two kinds of\nevidence apart, and reports which evidence needs remain open.\n\n![GTP investigation: the topic card guides CVE templates and FiGHT searches over two rounds within an 8-call budget; 20 CVEs and 20 FiGHT techniques return with the run marked partial and needs unmet](docs\u002Fmedia\u002Fgtp-investigation.webp)\n\n*A real `vulnwitness investigate GTP --scope mixed` on the NVD snapshot of 2026-10-27: selected\ntrajectory events, timing condensed.* The bundled GTP and 5G-AKA cards are pending review, so\nthey return candidates but never establish `found` or `sufficient`. GTP is matched as a\nfamily: a GTP-U question can return GTP-C records.\n\n| Question | Command | What comes back |\n|---|---|---|\n| \"What does this CVE mean?\" | `lookup` \u002F `search` | Source-backed records; lookup adds weakness paths |\n| \"Which CVEs are recorded for Open5GS?\" | `triage` → `report` | The match inventory read within its caps, a deeper look at selected CVEs, and a report |\n| \"What vulnerabilities and threats relate to GTP?\" | `investigate` | Implementation CVEs, separate FiGHT context, open needs and the steps taken |\n| \"Does this affect my deployed version?\" | `product --version` | NVD and attributed CNA\u002FADP version notes; verified affectedness stays `unknown` |\n\n## Real data\n\nCreate a store root outside the repository, then fetch, import and activate:\n\n```sh\nmkdir -p ~\u002Fdata\u002Fvulnwitness\u002Fstores\nexport VULNWITNESS_STORE_ROOT=\"$HOME\u002Fdata\u002Fvulnwitness\u002Fstores\"\n.venv\u002Fbin\u002Fpython scripts\u002Foperator\u002Frefresh_store.py --feeds-dir ~\u002Fdata\u002Fvulnwitness\u002Ffeeds\u002F2026-10-31 --store nvd-2026-10-31 --activate\n```\n\nFor the full NVD corpus, we recommend a machine with 16 GB RAM or more; the minimum has not\nbeen established. Initial setup involves a substantial download and several GB of disk space.\nThe [runbook](docs\u002Frunbook.md) covers fetching, local-feed reuse, FiGHT and MITRE snapshots,\nservers, sizing and recovery.\n\nLookups show CNVD's statement beside NVD's using the default pinned CIRCL\u002FVulnerability-CNVD\ndataset, with CIRCL attribution, its declared CC BY 4.0 licence and VulnWitness's normalisation\nnotice; the relation to CNVD's own terms is unverified. Each authority keeps its own grade,\ngrading scheme, assessing body and provenance. Reports separate NVD record and score gaps\nfrom awaiting-analysis or deferred status, and signal when CNVD grades higher under a named\nVulnWitness mapping (`cnvd_grade_vs_nvd_own_cvss3`). CVSS measures severity, not risk. The\ncore flow does no translation; clients and browsers can translate the original source text\n([ADR 0015](docs\u002Frebuild\u002Fadr\u002F0015-cnvd-entries.md)).\n\n## Reference\n\n- `vulnwitness lookup CVE-9999-0001 --format text`: exact record and weakness paths.\n- `vulnwitness search \"authentication bypass\" --format text`: ranked word matches.\n- `vulnwitness product --vendor democorp --version 2.0 --format text`: counted inventory pages;\n  `--all` prints every page, and `--output FILE --export jsonl|csv` exports them.\n- `vulnwitness investigate 5G-AKA --scope mixed --format text`: a bounded evidence set.\n- `vulnwitness triage … --session DIR` and `vulnwitness report DIR`: see the\n  [triage runbook](docs\u002Frunbook.md#one-command-product-triage).\n- `--session DIR` records individual data calls (JSON output only), and\n  `vulnwitness session check DIR` checks a session: see\n  [recording and checking sessions](docs\u002Frunbook.md#record-and-check-a-session).\n- REST: `vulnwitness api` with `VULNWITNESS_HTTP_TOKEN`, then\n  `curl -H \"Authorization: Bearer $VULNWITNESS_HTTP_TOKEN\" http:\u002F\u002F127.0.0.1:8766\u002Fapi\u002Fv2\u002Fcapabilities`.\n- MCP: `vulnwitness mcp` (stdio), or `vulnwitness mcp --http` (authenticated `\u002Fmcp` on port 8765).\n\n## Limits\n\n- Word matches and pending-review topic cards cannot establish sufficiency; an otherwise\n  completed run with such matches ends `needs_unmet`, while budget or source failures can\n  set another stop reason. Read matched terms and warnings.\n- NVD may lack product or version data. A missing match or `no_hit` never establishes safety.\n  Format-4 stores also show one note per matching source block, worded `CNA\u002FADP \u003Csource>`,\n  reading the block's matching products together. Commit entries are skipped; commit-only\n  data stays unknown. Release ranges support open `0`\u002F`unspecified`\u002F`*` lower bounds,\n  open `*` upper bounds and `.*` prefixes. Even `states_unaffected` leaves VulnWitness\n  applicability unknown ([ADR 0028](docs\u002Frebuild\u002Fadr\u002F0028-source-version-notes.md)).\n- No verified affectedness source is available. Weakness paths are derived catalogue\n  associations, not attack paths, and \"no ATT&CK mapping\" describes the loaded snapshot only.\n- Triage selection is an order, not a risk ranking.\n- REST and MCP investigations are deterministic. Model planning is opt-in through the CLI;\n  imported stores have no bound semantic collection.\n- Results and context are bounded; no answer guarantees completeness.\n\n[Runbook](docs\u002Frunbook.md) · [Architecture](docs\u002Farchitecture.md) ·\n[Evaluation](docs\u002Fevaluation.md) · [Third-party data](THIRD_PARTY_DATA.md)\n\nPre-release contracts: [schema manifest](schemas\u002Fv2\u002Fmanifest.json).\nCode: [MIT](LICENSE); third-party data: [THIRD_PARTY_DATA.md](THIRD_PARTY_DATA.md).\n\nEarlier knowledge-graph + RAG prototype: [CVE-KGRAG](https:\u002F\u002Fgithub.com\u002FYuning-J\u002FCVE-KGRAG).\n","VulnWitness 是一款面向电信行业的漏洞调查工作台，支持通过命令行、REST API 和 MCP 协议进行 CVE 检索、产品\u002F版本匹配及协议级威胁上下文分析。其核心功能包括：基于证据的漏洞研判（引用 NVD、CNA、CISA SSVC、CNVD 等多源数据）、CVE-KEV-CWE-CAPEC-ATT&CK 多维关联、电信专属扩展（如 MITRE FiGHT 威胁模型与主题卡片）、策略驱动的优先级排序（如 exploitation-demo、cn-auto-source-grade）以及可审计的会话记录与报告生成。适用于电信设备安全评估、运营商漏洞运营、AI 安全代理协同分析等场景。",2,"2026-11-24 04:50:45","CREATED_QUERY"]