Skip to content

Report verified private-DACL availability in doctor and capability inventory #329

Done

Description

@morluto

Wire private runtime-root DACL capability into doctor and capability reporting. Distinguish verified private storage from ordinary temporary-directory creation.

Acceptance:

  • Doctor reports verified private-DACL availability and actionable failures.
  • Capability inventory distinguishes POSIX mode-0700 privacy from Windows verified-DACL privacy.
  • ADR-0004 same-user construction-race decision is documented.

Part of #290.

Activity

  1. added
    enhancement
    P1: high
    on Jul 20, 2026
  2. added
    area: setup
    on Oct 14, 2026
  3. chrisnestrud commented on Nov 20, 2026

    @chrisnestrud

    Evidence for the gap on a box where every native control passes.

    Windows Server 2025 x64 (10.0.26100), elevated administrator (integrity 0x3000), [email protected] native artifact, commit f25a0a0:

    node scripts/verify-windows-native.mjs . .cache\windows-process-boundary\process-boundary.exe
    {"ok":true,"artifact":"verified","controls":{"protectedDaclReadback":true, ...25 controls true},
     "callerToken":{"elevated":true,"administrator":true,"integrityLevel":12288}}
    
    node scripts/rea.mjs doctor --json
    → healthy: false, environment_healthy: false
    → checks: hopper, ghidra, ida-registration, jadx, kuna-installation, skill:identity,
              plus node/host — 8 total
    → informational_checks: []
    

    No check, scope check, informational check or provider inspection mentions the native boundary: no private_runtime_dacl, no job_object_process_ownership, no reparse_safe_path_admission, and no integrityLevel. Even the strings native, windows and dacl do not occur anywhere in the JSON outside "detail": "win32 x64".

    The unhealthy result is entirely attributable to absent engines and the missing skill, so a user cannot tell "Windows controls verified" from "Windows controls unavailable" using doctor. That is the distinction #1701's third suggested direction asked for, and it is the one a #5237/#5225 reporter needs in order to include the native verdict in a report.

    Not verified: whether a failing native self-test does surface somewhere in doctor output — I could not produce a failure here, so I can only report that the passing case is silent.

  4. added
    area: tests
    and removed on Nov 23, 2026
  5. morluto commented on Nov 24, 2026

    @morluto
    OwnerAuthor

    Closing as implemented: src/ghidra/GhidraDoctor.ts (projectGhidraDoctorInspection, native_authority check) reports verified Windows private-DACL availability and actionable failures; src/process/WindowsAuthority.ts (windowsNativeCapabilities) exposes private_runtime_dacl separately from temporary-directory probes (tested in tests/conformance/providers/ghidra/windowsCapabilities.test.ts via scripts/lib/windows-capabilities.mts probeWindowsCapabilities and surfaced in src/ghidra/GhidraProvider.ts windows_security diagnostics); and the same-user construction-race decision was recorded in docs/adr/0004-windows-native-authority-packaging.md (a1a6b4200e) prior to #12856 (a1dec2d2d5), with current behavior documented in docs/providers/windows-ghidra-p0.md and native/windows/README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1: higharea: setuparea: testsenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions