[HV3-01] exposure matrix: 41 public/9 internal, zones, default vhost
lint / hygiene (push) Failing after 48s
lint / hygiene (pull_request) Failing after 42s
standard / check (pull_request) Successful in 19s

This commit is contained in:
architect committed 2026-12-03 22:34:59 +03:00
1 parent 0f2e0c72c7
commit 907673bfe1
2 files changed
+84

No files matched your search

@@ -0,0 +1,40 @@
# HV3-01 Exposure — read-only
Статус: **diagnostic closed; P4 pending**. Ничего не менялось.
## Факты
```text
registry domains: 50 (41 public / 9 internal)
nginx unique names: 54
drift: 4 (sets not proven equal)
zones:
Home 192.168.1.0/24 (Bridge0)
VPN 192.168.2.0/24 (Bridge1)
Cameras 192.168.30.0/24 (Bridge2)
```
В текущем running-config Keenetic **не найдено** явного `isolate-private` или межзонного ACL.
Значит:
- изоляция камер **не доказана**;
- R01 остаётся open;
- менять firewall без P4 и recovery console нельзя.
## Edge
```text
default 443: server_name _; return 404 — не отдаёт production app
default 9161/9151: отдельные listeners, private allow
tunnel noTLSVerify: в локальном конфиге не найден; T19 остаётся open
```
## Что не сделано
- SEC-02: positive/negative probes из Bridge1/Bridge2 — нужны тестовые устройства и approval.
- SEC-03: Host confusion/direct-IP — частично, без полного набора.
- SEC-04: cross-profile — не запускался.
## Закрытие
Диагностическая часть HV3-01 закрыта `exposure_matrix.json`.
P4-изменения (firewall, tunnel, nginx, DNS) — отдельный approval, не в этом прогоне.
@@ -0,0 +1,44 @@
{
"generated_at": "2026-12-03T22:45:00+03:00",
"head": "b2765c9",
"mode": "read_only",
"domains": {
"registry_total": 50,
"public": 41,
"internal": 9,
"nginx_unique_server_names": 54,
"drift": 4,
"note": "counts are not equal sets; exact diff requires canonical reader"
},
"zones": {
"home": "192.168.1.0/24 (Bridge0)",
"vpn": "192.168.2.0/24 (Bridge1)",
"cameras": "192.168.30.0/24 (Bridge2)",
"inter_zone_isolation": "no explicit isolate-private or inter-zone ACL found in current running-config",
"camera_isolation": "not proven; R01 remains open"
},
"default_vhost": {
"https_default_server": "listen 443 default_server; server_name _; return 404",
"ui_9161": "listen 9161; server_name _; allow local/private",
"ui_9151": "listen 9151; server_name _",
"note": "default 443 is not catch-all to a production app, but additional default listeners exist"
},
"tls": {
"noTLSVerify_local_config": "not found in /etc/cloudflared or /root/.cloudflared",
"known_audit_state": "T19 failed/rolled back; origin verification exception reported",
"status": "unknown in this pass; R02 open"
},
"tests": {
"SEC-02": "not run — requires approved source/destination probes from bridge zones",
"SEC-03": "partial — default vhost inspected; Host confusion not probed",
"SEC-04": "not run"
},
"findings": [
{"id": "R01", "severity": "C", "state": "open", "evidence": "no explicit inter-zone deny; Bridge1/Bridge2 exist; camera isolation unproven"},
{"id": "R02", "severity": "C", "state": "open", "evidence": "T19 failed; noTLSVerify state not locally discoverable"},
{"id": "R03", "severity": "C", "state": "open", "evidence": "registry 50 vs nginx 54 vs public 41; no canonical route reader"}
],
"status": "diagnostic_closed_p4_pending",
"p4_required_for": ["firewall/zone changes", "tunnel/nginx changes", "domain cutover"],
"next": "HV3-01 P4 packet requires owner-approved source/dest probes and rollback"
}