Skip to content

QA ONLY: R850 PR66 exact-head CodeQL 3/3 (DO NOT MERGE) - #1

Draft
GOD13emad wants to merge 189 commits into
mainfrom
audit/r057-gui-probe-codeql-source
Draft

GOD13emad wants to merge 189 commits into
mainfrom
audit/r057-gui-probe-codeql-source

Conversation

@GOD13emad

@GOD13emad GOD13emad commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Current scanner-only QA on exact PR66 HEAD 7d587587349d011e6aa4df0c1b339b2d16813dfd: Independent CodeQL #41204225192 actions/csharp/python 3/3 SUCCESS; GitHub check reports No new alerts in code changed by this pull request. No historic zero-alert claim or independent human APPROVE. Separately the original repository CI #41204189407 reports 15 SUCCESS, 0 FAIL, 3 intentional SKIP, including both hosted Windows private-v1.5.7 paths with 674/674 installed protected file hashes PASS. This is background QA cross-reference only: the fork's privileged-root Source Contracts intentionally FAIL CLOSED at R527. Fork PR #1 remains DRAFT and MUST NOT MERGE. Preserved older scanner history follows.

Current scanner-only commit: PR GOD13emad#66 candidate 34ab45eca15b964f1dbccf31562d5f2070258d9f; CodeQL run #41197374646 SUCCESS on actions, csharp, python. GitHub CodeQL check: "No new alerts in code changed by this pull request"; no claim concerning historical alerts, native acceptance or independent human approval. Do not merge this scanner-only draft. Earlier PR64 scan history follows.

Exact original PR GOD13emad#64 HEAD security scan — 2026-10-31

Current scan source da2c81cacd2ffb72e198fcd3b56f9355fedb022a, promoted from prior 2ff2d4db27a4f7c125ad9099157aa0d29af9b568 by 8-commit non-force fast-forward on the existing scanner-only branch; original product PR GOD13emad#63/GOD13emad#64 and main untouched. Independent fork CodeQL workflow #41151655487: Analyze (actions), Analyze (csharp), Analyze (python) SUCCESS at exact HEAD, plus CodeQL check SUCCESS stating "No new alerts in code changed by this pull request." Scanner reported coverage 7/7 C# files and 52/52 Python files, plus workflow. Ordinary action notices about Ubuntu runner migration are not findings. Open branch-wide historic CodeQL alert inventory was not readable via unauthenticated API (HTTP 401), so no claim of zero pre-existing alerts or overall independent human approval.

Separate fork source run #41151659413 has native windows-source PASS and linux-public-v154-regression PASS; linux-source failed intentionally at R527_EXACT_GITHUB_REPOSITORY_REQUIRED, protecting original-owner privileged Root tests from fork execution. Exact original-repository CI #41038434425 remains 15 applicable jobs SUCCESS with 1 tag-only SKIPPED. This fork is scanner QA only, no merge/release/authenticated approval; exact PR GOD13emad#64 still needs a separate independent human review, private Windows in-place canary acceptance and intended-network positive functional tests.


Earlier scanner provenance (historical, not latest acceptance)

Exact source security analysis — 878e14c

This existing fork-side Draft PR #1 is used ONLY to run CodeQL (Python and C#) on the current original-repository security PR GOD13emad#63 commit. The branch was advanced by non-force fast-forward from 66ae0f1 to 878e14c0d8f364fd5b908bb60464ea2ae8cabe4d; the Git tree is the exact source candidate, not a release. Do not merge, approve as an independent reviewer, dismiss security alerts, provision Root, install or publish based on this QA.

  • Original primary source: PR #63; protected main and publicly installed Stable v1.5.4 unchanged.
  • Original-hosted validation: CI #39312448309 SUCCESS (15 applicable native jobs, 0 fail; tag-only release job SKIPPED).
  • New replay-binding hardening: R789 per-attempt 256-bit transactionNonce prevents reusing an old Root upgrade receipt for a different stage. Source Root and guarded package/bootstraps are exact-SHA-pinned at this current commit.
  • Prior fork-side CodeQL of source 66ae0f1: three remaining Python High py/path-injection alerts (#133–135), C# zero. These prior findings do not automatically count as scan results for 878e14c0d8f364fd5b908bb60464ea2ae8cabe4d. Exact-head fork CodeQL run QUEUED when this review note was authored.
  • Review required: follow each CLI source/receipt input to descriptor-relative os.open, inspect dirfd/O_NOFOLLOW/O_NONBLOCK/regular-owner/size checks, explicit fixed manifest SHA and approved Root-owned bootstrap trust boundary. Do not waive alerts simply because the official query flags path strings.
  • Owner machines: no new privileged bootstrap installed; no active-engine OpenAI/YouTube HTTPS acceptance; no actual independent human APPROVE. This PR is scanner-only and remains DRAFT / UNMERGED.
Retained historical fork QA provenance (older commits; not acceptance for current SHA)

R771 — Root file-reader FIFO nonblocking, test-only security QA (2026-10-19)

Same organization Draft audit PR #1 reopened ONLY to test the exact source commit 67aefb8e0df8e3f5a269adcaadee21a7b89a5814 (parent 8b0fd6ff276b3fe89fd7bc636216140050876374), not to merge, publish or install. Exactly three files changed: linux/system/protected_upgrade_transaction.py, new tests/r771_fifo_special_file_failclosed_contract.py, and one Linux Source CI test invocation. Original personal PR60/PR62, protected main, and public Stable v1.5.4 remain unchanged.

Reproduced rootless native Linux syscall concern: the R770 protected file-reader opened a user-selected package leaf with O_RDONLY|O_NOFOLLOW and then ran fstat() to reject nonregular files. A named FIFO without a writer blocks the open itself, before type validation, and can stall the privileged upgrade when a user-owned package member is a FIFO. A bounded unprivileged native OS test reproduced this blocking (child killed on test timeout); O_NONBLOCK allows the FIFO to open immediately and fail the existing regular-file check while an ordinary regular file still reads normally. Source QA adds O_NONBLOCK only to the file-open flags in both verified_regular_fd and guarded_file_bytes, retains the O_NOFOLLOW directory-descriptor parent walk, fstat type checks and all fixed SHA checks. A new 4-case real-process test isolates each FIFO attempt in a 2-second bounded child, plus valid regular file continuity; the hosted Linux Source runner must show exact green before acceptance.

Dependency intentionally unclosed: this source-only patch changes the SHA-pinned protected Root transaction source; the independent Guard, installer wrapper, test pins and RC1 archive identity remain at R770 values. Thus fork source CI is expected to fail at the immutable archive pin after the new negative test (if passed), and privileged Root tests must not run on this unrepinned commit. CodeQL is a separate exact-commit observation, not product acceptance. Close this QA PR UNMERGED after evidence, then re-pin all affected SHA dependencies and run primary-authority full privileged CI on a separately checked QA commit.

References: https://man7.org/linux/man-pages/man7/fifo.7.html and https://man7.org/linux/man-pages/man2/open.2.html.


R769 — protected Root file reading/hash no-follow path hardening (2026-10-19), QA ONLY

Reused organization Draft PR #1 exclusively for an exact-source CodeQL delta, DO NOT MERGE OR RELEASE. Commit c598bb4f333c20a83e35785da1c5d8f5c7239674 is a single audit-only child of R768 10476722bb96fb048cd1a0be197bfe84de9ea952, modifying only linux/system/protected_upgrade_transaction.py, adding tests/r769_root_file_descriptor_boundary_contract.py, and adding its Linux Source CI invocation. Production PR GOD13emad#60, PR GOD13emad#62, protected main and public Stable remain unchanged.

Reproduced negative first on real Emad Linux, nonroot: Baseline hash_file() and no_symlink_regular() each accepted a normal leaf reached by a symlink parent: 2/2 hostile cases RED, while a valid regular file hash and an 8 MiB static binary checksum succeeded. New verified_regular_fd resolves EVERY directory and file via O_NOFOLLOW and descriptor-relative os.open(dir_fd=...), then uses the same pinned open inode for fstat/owner and streamed SHA-256; user-owned fake parent symlink rejected. All 4/4 isolated security/compatibility cases now PASS. No Root, installed product, DNS or network mutations.

Controlled dependency: Root transaction source hash changed to 7E539F39CE89E4352655EC820730BA18EA6397B91A970943D8A3A37D739ACB3B; existing R768 independent Guard, installer/CI and immutable candidate archive pins are now STALE. This audit requests a CodeQL scan ONLY to compare the 8 remaining production py/path-injection alerts on the exact new commit. Do not infer full Linux/Root native CI, installability or release acceptance until a coherent Root→Guard→ZIP→CI rebaseline and original repo privileged tests. Reclose this QA PR UNMERGED after scan, preserve the immutable commit.


R768 — coherent R767 opt-in DNS Root/Guard SHA-chain audit; DO NOT MERGE (2026-10-19)

Existing organization Draft PR #1 reused only to scan exact commit 10476722bb96fb048cd1a0be197bfe84de9ea952. Personal product PR60 and PR62, protected organization/personal main and public v1.5.4 are unchanged. Unprotected audit branch fast-forwarded from a0f6f64119a89af7c173f201d90429804dc1ff68 with expected old SHA to the exact new 12-file audit-only child. No new production PR, tag or release.

Why: R767 fixed encrypted consent file-parent symlink traversal and its exact audit CodeQL had 27 OPEN High/0 Critical, but that changed the controller source and invalidated all old Root/Guard and RC1 archive pins. R768 faithfully re-hashes the controller A8A8DD6155DDC4E2C5295A6CAA7B8809144C43985B47FD4664501ED683DB0AAE, protected Root transaction 5A50FDBF3D8CC207FEBA35B85274606E226508AB3D5059DF231789E0D947A616, independent Watchdog 51DF6C262E409B5EF7FE78E09CA70AF679B3C5AD44FC8397309312C9706A52AD and all active manifest/CI/installer/test dependencies. Existing historical Stable v1.5.4 fixtures preserved; no ownership/security gate bypassed.

Two physical OS independent source builds PASS: Linux and Windows Emad each reproduced an 8,412,857-byte unpublished Linux QA ZIP with exact SHA256 387216967DC1E0681D122B7EBADA721983E7FC2C618FF0E1E7C1535DB5ED497F; 28/28 embedded payload manifest SHA matches. Linux rootless R519 package 17/17, fake RootTransaction 25/25, R552 guard 24/24, installer metadata 11/11, R767 new negative and 35/35 prior encrypted DNS controller, and sixteen further DNS/GUI/Tailscale/Socket sources PASS. The source-only R768 audit delta is separately retained as a SHA-pinned replay patch on canonical Windows Emad host; actual native installed product untouched.

Current gates: Original-authority personal QA CI run 39171319365 must complete on exact 10476722bb96fb048cd1a0be197bfe84de9ea952 including native privileged Root/Watchdog/Rollback; its current state is not yet claimed. This PR requests separate exact-commit C#/Python CodeQL + alert count, with release HOLD for remaining High findings, independent PR62 human review and physical accepted HTTPS. The audit PR must be CLOSED UNMERGED after evidence capture; unsigned Windows release jobs are not accepted if skipped.


R767 — consent parent-directory no-follow negative-first QA, 2026-10-19

QA-only reuse of existing organization Draft PR #1. DO NOT MERGE OR RELEASE. The unprotected audit branch was fast-forwarded from 6f008f3d9e0dd51b55c271ad4f4d305f534928d3 (R766 validated original-repo CI and zero Critical CodeQL) to a0f6f64119a89af7c173f201d90429804dc1ff68. Exactly three files changed: linux/system/encrypted_selective_dns.py, new tests/r767_consent_parent_nofollow_contract.py, and one hosted Linux source regression invocation in .github/workflows/ci.yml. No protected main, original PR60 or PR62, public Stable v1.5.4, real host install or network setting changed.

Real Emad Linux non-root negative first: original exact-source controller accepted a valid consent token and profiles routed through a user-owned .local symlink parent outside the purported user-home consent hierarchy. This incorrectly passed a leaf-only symlink check (1 RED). The bounded candidate changes consent/profile reads to descriptor-relative os.open(dir_fd=..., O_NOFOLLOW) on every parent and leaf, checks file type, ownership, private consent permissions and bounded length. Existing diagnostic reason contracts were preserved after a first scoped test failure. 1/1 new negative-first plus 35/35 existing controller tests PASS on actual Linux without privileged or network mutation.

Current scope is SOURCE SECURITY ONLY. This QA patch changes the embedded controller source and hence the deterministic Root transaction SHA, independent Watchdog/Guard pin and RC1 archive identity; the existing frozen candidate package tests are expected to fail at the immutable package SHA gate until the transitive chain is deliberately rebased and real Root/Watchdog V&V rerun. Do NOT waive those tests, merge, install or release. This re-open requests current-head C#/Python CodeQL evidence and comparison against previous 39 High/0 Critical at R766, not publication approval. Once exact-head evidence is captured, CLOSE this temporary PR UNMERGED; retain source commit and build further only with the full pin/release-guard impact map.


R766 — isolated Critical #131 test-runner command origin mitigation (2026-10-19)

Audit-only reuse of the same organization PR #1. DO NOT MERGE, RELEASE OR INSTALL. Branch was fast-forwarded under exact parent 91b899a90f86080f8789adc3d596b6087c80f305 to 6f008f3d9e0dd51b55c271ad4f4d305f534928d3 in the original personal repository's disposable QA branch and mirrored into this org-only CodeQL audit branch. Exactly three test/CI files changed: tests/r566_native_systemd_persistent_catchup.py, new tests/r766_systemd_exec_origin_contract.py, and a single new negative-test CI invocation in .github/workflows/ci.yml. No product code, package member, RC1 checksum, Root Guard or binary changed.

Negative-first evidence: Original r566.run(*args) handed an arbitrary executable and unvalidated systemd unit arguments to subprocess.run. On actual Emad Linux a mock intercepted three previously accepted unsafe inputs before any real system command; 3/3 negative tests RED. Audit hardening permits only absolute root-owned /usr/bin/systemctl and a fixed set of specific actions against dim-r566-catchup-[0-9]{1,29} timer/service units, with exact show ... ActiveState --value form. All 4/4 (three hostile and valid command continuity) local rootless tests now PASS. It never launches a real service in the local test.

Requested proof: run original repo's CI on exact 6f008f3d9e0dd51b55c271ad4f4d305f534928d3 with genuine disposable hosted Root systemd R566, then organization C#/Python CodeQL on this exact commit. Previous R765 had 40 open, including Critical #131 in this test and 39 High. A zero Critical claim requires new-ref API evidence, not a green analyzer execution. Close audit PR1 UNMERGED after evidence; full release remains HOLD because other CodeQL High findings, human PR62 review, native physical install and network acceptance are open.


R765 — temporary Root file path and acceptance origin hardening QA (2026-10-18)

REUSE EXISTING ORG DRAFT AUDIT PR #1; DO NOT MERGE OR RELEASE. Audit branch fast-forwarded under the exact parent 52ebb0edf22a3bf0c72d8192b9b3c363a71d681d to QA-only 076440137f038acef713108e5720ec6fdd0ae36d, touching 12 pinned source/test/CI files and adding one nonprivileged parent-symlink test. Personal source PR60 and security PR62, all protected mains, and the public Stable are unchanged.

Reproduced native-security gap: Original RootTransaction stage(source) and commit(acceptance) allowed paths whose parent directory was a user-controlled symlink even though the leaf was not; two negative-first fake-root tests failed. New guarded_file_bytes uses dir_fd plus O_NOFOLLOW on each parent and leaf, imposes a read size bound and requires root-controlled receipt provenance for real native commit. 3/3 new tests PASS, existing R519 25/25, R552 24/24, R519 package 17/17 and several DNS/User/GUIs source suites PASS (all non-Root, no system mutation).

Reproducible unreleased candidate: Source Root transaction SHA256 2DC3FBDEB21C589DA8889F03B450A69204ECAD90D8F113B3C9DD5F6C9DCE533A; independent Guard SHA256 7CA937E3589DC4F33C58658DBAD98E4A6308FCBC456B1D460F027FF499B3B09D. Archived package ZIP SHA256 5D2E86CBAEB999EB404A03072387D772C33FE40233010A2F46ADE5A9FA5D220A, 8,410,505 bytes, 28/28 manifest payload hashes, byte-identically built on two OSes. Existing historical Stable fixture preserved. 13 SHA references in CI and tests coherently updated.

Scope: QA only. Original-authority personal GitHub run 39164906593 tests source + real ephemeral Root transaction/Watchdog (pending result). This PR is reopened only for C# + Python CodeQL on the exact new commit; compare against prior 41 open CodeQL alerts (one Critical in tests / 40 High). Do not claim alert reduction or acceptance before live results. After scanning CLOSE UNMERGED and preserve audit history. Production acceptance and independent PR62 review remain OPEN.


R763 FINAL — coherent Root/Guard/package SHA and original-repo privileged CI PASS; code scanning HOLD (2026-10-18)

AUDIT ONLY. CLOSE UNMERGED; DO NOT RELEASE OR INSTALL. Exact test commit 52ebb0edf22a3bf0c72d8192b9b3c363a71d681d (parent df3cdb2) contains only thirteen pin, test and CI updates to the already isolated R762 source fix. Candidate archive SHA256 4B4A76C02873982DE817380A4A23AAF399EC7B3AE9756CA12D39F1499EE86E2C, size 8,408,326 bytes, independently byte-identical across Emad Linux and Windows; 28/28 payload manifest entries pass. The original historical baseline fixtures and public Stable v1.5.4 have NOT changed.

  • Actual Emad Linux rootless QA: R519 package 17/17, root transaction 25/25, upgrade guard 24/24, installer metadata 11/11 and six encrypted DNS/GUI suites plus five source-origin security regressions PASSED. Broader source-only Linux/Tailscale/NFT tests also PASSED. No physical privileged install, DNS or VPN mutation.
  • Correct original repository hosted CI 39160812773 SUCCESS on this exact commit: 13 executed check jobs PASS, including privileged Root/User transactions, autonomous Watchdog, Rollback, guarded retirement and Windows/Linux source. Two Windows private/release jobs SKIPPED, not acceptance.
  • Organization PR1 exact SHA C#/Python analyzers both SUCCESS in CodeQL run 39161124505, aggregate CodeQL FAILURE with 41 OPEN alerts: one Critical in test fixture and 40 High, including 21 in product code (12 encrypted DNS controller and nine Root transaction), verified against exact refs/pull/1/head. The previous controller Critical #130 is absent. These remain unadjudicated; passing privileged CI is not permission to dismiss them.
  • Organization fork source run 39161125258 Linux-source FAIL-CLOSED specifically at R527 original-repository identity check, so later root jobs SKIPPED. Do not spoof environment to bypass this guard. Windows source check reported IN_PROGRESS at the last read; not declared success here.
  • Result: technical pin-chain/primary-hosted-CI gate PASS, CodeQL release gate HOLD. Retain this QA commit and its evidence only in the audit history. The organization PR1 is CLOSED UNMERGED again. Personal production PR60 remains Draft, PR62 unmerged pending independent human review, no published release or protected main change.

R762 FINAL — harden ROOT command origin, CodeQL Critical reduced, NOT PROMOTED (2026-10-18)

QA-ONLY, CLOSED UNMERGED. Unreleased source/test hardening commit df3cdb2240db8069c43011b3875659bb1ac0daf0 is a two-file addition on the prior combined QA commit 2da4db4, not on personal PR60/PR62 or protected main. It confirms a bounded source-code security improvement only.

  • Actual rootless hostile-PATH negative-first demonstration using the original source ran a user-owned decoy resolvectl from PATH. The candidate uses only fixed absolute, root-owned and non-group/world-writable executable paths, and rejects unknown names. 4/4 new negative-first tests PASS and six relevant existing R517/R516/R538 suites 132/132 PASS on actual Emad Linux; no privilege, live DNS or network actions occurred.
  • Exact-head CodeQL: original combined audit 2da4db4 had 42 OPEN (2 Critical, 40 High), with 13 in controller. New audit df3cdb2240db8069c43011b3875659bb1ac0daf0 at the same PR ref had 41 OPEN (1 Critical, 40 High); the production controller Critical alert #130 is absent, controller count now 12. The remaining Critical is in an ephemeral test fixture, #131. CodeQL aggregate still FAILURE; no alert dismissed, and 21 other production high findings + test findings require independent review and fixes.
  • New-head org analyzers 39140775631 Python and C# SUCCESS, but aggregate CodeQL check FAILURE due remaining alerts. Source workflow 39140776078 Linux-source FAILURE specifically at the pre-Root immutable candidate-archive SHA gate (the downstream R527 root test was NOT run), while Windows-source and public Stable regression SUCCESS; do not classify as full product regression.
  • Immutable candidate dependency: patched controller SHA256 6E12A906D0B3AD6FD910303B55F89F76EB56C2EF1AABF15549806641285E461F changes build archive from baseline F10E230... (8,407,422 bytes) to 2F8C613CE1FD09C66CA8059585C786C957956A5B5F80E7680C8AC8ED6FFB246B (8,408,326 bytes); downstream controller pin in protected_upgrade_transaction.py, then guard source pin, installer pin, CI artifact gates and physical rollback must be consistently regenerated. Therefore this source is NOT installable nor an accepted RC1 release; the production update is deferred until coherent rebaseline.
  • Patch replay artifact is host-local evidence/DIM_R762_TRUSTED_DNS_HELPER_HARDENING_20261018.patch SHA256 A8E3A4A992E7EA12FCF727954E0A961F8F318803B9DB1D2AEDE8062C89645A62.
  • Protected org main, public v1.5.4, and original personal PR60/PR62 unchanged. PR fix(security): pin GUI and service curl; native hosted regression (R057–R062) GOD13emad/DirectInternetMethod#62 human signoff still outstanding, multi-host HTTPS and current combined CodeQL still not accepted.

R761 FINAL — exact two-parent combined PR60+PR62 QA; product release HOLD

CLOSED UNMERGED DRAFT AUDIT — DO NOT MERGE. Reused the existing org PR #1, temporarily auditing 2da4db417c9578baa18358ef80ac4953389d4a6b with tree 8b7fcadba447874f0e38bab986620cf6bc519db5, parent security PR62 701a056 and parent draft PR60 365a3f2. Protected organization main stayed 26ef644117ea474b487186ce5e6e61e92cd02dd4.

  • On organization-hosted source run 39138606359: Windows-source SUCCESS; linux-public-v154-regression SUCCESS; Linux-source FAIL-CLOSED specifically at the R527 guard R527_EXACT_GITHUB_REPOSITORY_REQUIRED. Fork-origin failure is expected for this root-only test and must never be bypassed by spoofing runner metadata. Several other privileged ephemeral jobs were SKIPPED in PR context, not accepted.
  • Exact-head C# + Python analyzers run 39138606939 SUCCESS but aggregate CodeQL check 117708364406 FAILURE. Authorized Code Scanning API at refs/pull/1/head returned 42 OPEN alerts (2 Critical, 40 High): 22 production source, 20 tests. Production source counts: linux/system/encrypted_selective_dns.py 13 (incl one Critical py/command-line-injection), linux/system/protected_upgrade_transaction.py 9 High (py/path-injection). Alert exploitability is NOT yet independently confirmed; none was dismissed. Separate organization protected-main ref has 88 open alerts in the current read; these should not be conflated with candidate-ref findings.
  • Crucially, the same exact two-parent SHA ran on the properly authorized original personal repository Actions 39138953114: completed SUCCESS, including Linux Root/User privileged R527 and all guarded ephemeral rollback jobs, Windows-source and Linux-source; Windows private release and unsigned release jobs SKIPPED, not PASS.
  • Decision: combined hosted source/transaction CI PASS under required original-repository identity, but combined CodeQL scan NOT PASS, human PR62 independent review still zero, physical multi-site and final release not accepted. This organizational PR is restored to CLOSED UNMERGED, with no main/tag/release/installed-host changes. Personal PR60 and PR62 remain their original proposals; temporary personal QA branch must be removed after validated readback.

R760 FINAL — exact source commit 701a056 CodeQL + CI PASS (2026-10-18)

CLOSED UNMERGED AUDIT-ONLY — DO NOT MERGE. Reused the one existing organization QA Draft PR #1, fast-forwarding only its dedicated audit branch audit/r057-gui-probe-codeql-source from be81c312 to the exact personal PR GOD13emad#62 security commit 701a05653ea67470761d549b972ea5d0ea09bfdb, parent be81c312; organization protected main remained 26ef644117ea474b487186ce5e6e61e92cd02dd4.


R062 CURRENT — hosted typed native Windows service-curl regression and CodeQL gate

Temporary QA ONLY — DO NOT MERGE. This is a reuse of the existing CodeQL audit PR, not a new source, production or approval PR. Its non-force-updated branch audit/r057-gui-probe-codeql-source now points to be81c312b70d88bbd259ff54373cfd18178839b1 from the still-open personal source security PR #62. Protected org main remains unchanged at 26ef644117ea474b487186ce5e6e61e92cd02dd4.

  • What R062 adds: A permanent hosted-Windows regression test of the actual compiled private service downloader method, without installing/starting Windows Service or any installer. An ephemeral .NET 10 C# executable invokes the method with strongly typed CLR arguments against an in-process loopback-only HTTP fixture, while a deliberately invalid curl.exe is placed first on PATH. A pinned content SHA256 is verified and all process environment changes are restored. A PowerShell wrapper and the C# executable both fail closed when not on a GitHub-hosted disposable Windows Runner.
  • Exact personal-source CI: At source PR fix(security): pin GUI and service curl; native hosted regression (R057–R062) GOD13emad/DirectInternetMethod#62 head be81c312..., linux-source and windows-source both completed SUCCESS; the unsigned release-contract job was deliberately SKIPPED (not PASS). Windows job emitted PASS_R062_HOSTED_NATIVE_SERVICE_DOWNLOADER for 66 test-fixture bytes, confirmed OS-system curl.exe chosen despite the fake PATH binary, loopback-only HTTP and matching SHA256; no registered service, installer, VPN, DNS or host-network setting changed.
  • Historical CI correction: Earlier R062 attempts using PowerShell Reflection directly failed due host-specific PSObject marshaling. The final test replaced that implementation with typed C#; the passing run actually checked out the GitHub PR merge commit c8649cb8f4cccb28bae48dfeddf32f0ef6a24217, while its associated PR source head remained be81c312.... These were test-harness failures, not evidence that the production downloader failed.
  • New scanner gate: CodeQL in this organization must now scan the new QA PR source ref at be81c312... for C# and Python. The previous R061 readback (5 success/zero candidate alerts at older 21cc8dd1...) is HISTORICAL and cannot be reused as new-head acceptance. There are still seven open Critical CodeQL alerts in protected organization main; even a clean R062 candidate scan will not close those main alerts or authorize a protected merge.
  • Lifecycle: Once the latest exact-head CodeQL and CI results are recorded, CLOSE THIS DRAFT UNMERGED. Source PR fix(security): pin GUI and service curl; native hosted regression (R057–R062) GOD13emad/DirectInternetMethod#62 stays open for genuine independent Mohammad human review; real installed privileged updater/rollback, moving RC1 integration, source-to-organization promotion and post-merge/main CodeQL closure remain separate prerequisites. No fake approval, release, migration or protected-main update.

Historical R057–R061 source and security QA trail

R061 CURRENT — renewed QA-only CodeQL check (2026-10-17, DO NOT MERGE)

The existing temporary, previously closed QA Draft #1 is being reused rather than creating a duplicate audit PR. Its branch audit/r057-gui-probe-codeql-source was verified by direct GitHub ref readback as a non-force fast-forward from historical head df2cd6070b567190d2b140a2cc1bc1d8c579e78c to new personal-source security PR #62 head 21cc8dd1e834c462c244e25f10d24479f1f42ab2. Protected organization main remains at 26ef644117ea474b487186ce5e6e61e92cd02dd4.

  • This revision extends R057 GUI process-provenance hardening to the Windows service updater DownloadWithSystemCurlAsync, which previously derived its curl.exe path from Environment.GetFolderPath(SpecialFolder.System). The current source uses the direct OS Environment.SystemDirectory property, verifies an absolute directory and existence of the resolved system curl, keeps UseShellExecute=false and tokenized ArgumentList, and leaves GitHub package SHA verification before installer start intact.
  • A new Python R061 contract suite proves baseline RED before the fix and 8/8 GREEN afterwards, including negative mutations that reject PATH-derived executables, a bare curl.exe, shell execution, missing absolute-path guard, non-tokenized args and loss of the installer's checksum-before-execute invariant. Prior 18/18 GUI security tests remain GREEN.
  • A clean exact-head disposable Windows checkout of source candidate 21cc8dd1e834c462c244e25f10d24479f1f42ab2 passed python -B tests/r061_windows_service_curl_contract.py, dotnet run for all 18 R057 tests, and .NET 10 Service and GUI Release builds with 0 compiler errors/warnings; git diff --check passed. Seven candidate files changed vs main, including the existing hosted Windows CI step running both suites.
  • Pending separate acceptance: hosted GitHub C# and Python CodeQL analysis on this exact new PR head; investigate any new alert, with no dismissals/suppressions. Existing seven Critical items on protected organization main remain a separate gate until a real approved main scan. The privileged service, installer staging and physical Windows update/rollback were not executed by these tests.
  • Original personal source PR fix(security): pin GUI and service curl; native hosted regression (R057–R062) GOD13emad/DirectInternetMethod#62 remains OPEN and requires actual human second-owner approval. The separate release-candidate PR Draft: v1.5.5-rc1 Linux encrypted DNS, guarded upgrades and deterministic Windows setup GOD13emad/DirectInternetMethod#60 is being developed in parallel; current merge compatibility must be checked against a fresh exact PR Draft: v1.5.5-rc1 Linux encrypted DNS, guarded upgrades and deterministic Windows setup GOD13emad/DirectInternetMethod#60 HEAD before acceptance. No main, installed app, VPN, service, routes, tag, package registry or release was changed.

QA-only lifecycle: Reopen this same Draft solely to collect fresh exact-head CodeQL/CI evidence. After recording the official check result in both the original PR and the canonical project issue, close this temporary QA Draft unmerged again. Do NOT approve/merge it.


R057–R059 HISTORICAL audit trail (prior candidate SHA)

R057 — QA-only, source-SHA pinned GitHub CodeQL qualification — DO NOT MERGE

Purpose: GitHub's advanced code-scanning configuration is accessible on this public organization fork, while scanning in the original personal source has not been confirmed. This Draft tests the exact contents of existing original-owner source security PR #62 under the organization scanning rules. It is NOT a competing merge or release route.

Exact SHA and provenance

  • Organization protected main stays 26ef644117ea474b487186ce5e6e61e92cd02dd4 (equal to stable original personal main).
  • Source PR fix(security): pin GUI and service curl; native hosted regression (R057–R062) GOD13emad/DirectInternetMethod#62 candidate df2cd6070b567190d2b140a2cc1bc1d8c579e78c, mirrored unchanged on branch audit/r057-gui-probe-codeql-source. Compared with base: five changes (GUI process callsite, pure bounded process-plan helper, two test sources and existing Windows CI step), 7 ahead, 0 organization-only commits.
  • Functional improvement: only allow OS-system curl.exe, use tokenized ProcessStartInfo.ArgumentList rather than a mutable PATH/bare filename or interpolated command line, require canonical IPv4 and explicit known HTTPS target hosts. This eliminates one concrete Windows GUI search-path/argument-injection risk, not unrelated system-service scanner findings.

QA evidence, not approval

Gate discipline

NEVER MERGE THIS QA-ONLY PR. Collect exact-head CodeQL/CI and compare with protected main; retain results in the canonical project issue and source PR #62. Close this Draft unmerged after evidence collection to avoid duplicate production PRs.

Production acceptance requires independent actual-human review by Mohammad of the personal source PR, an agreed source-to-organization promotion protocol, successful exact-head CI, a separately approved integration path and native physical probe/regression where appropriate. No tag, public release, installed program, Windows service, DNS, routes, Tailscale or protected default branch is modified by this QA proposal.

R058 scanner trace and direct SystemDirectory provenance

GitHub CodeQL's first organization QA scan of the earlier 0d4fd6... candidate found one new Critical cs/command-line-injection finding (#89) at the process executable, with an exact SARIF source→sink trace from Environment.GetFolderPath(SpecialFolder.System) to ProcessStartInfo.FileName. No attacker-supplied IP or URL was the traced origin. This finding was not dismissed or marked fixed. The code was revised to use the direct OS Environment.SystemDirectory API, still composing the absolute System32\\curl.exe path and verifying file existence; the corresponding test's expected system executable path was updated. The new immutable candidate is df2cd6070b567190d2b140a2cc1bc1d8c579e78c and was non-force fast-forwarded to the QA-only organization branch. On the real Windows host, Environment.SystemDirectory equals the previously returned system folder and contains protected curl.exe. Separate exact-head temporary Windows 18/18 security tests and WPF .NET 10 Release build PASS, zero warnings/errors. New CodeQL/CI on df2cd6070b567190d2b140a2cc1bc1d8c579e78c must be evaluated before considering the scanner gate closed; passing local tests alone does not justify dismissing #89 or the seven prior Critical organization-main alerts.

R059 exact revised-head hosted CI / CodeQL result

  • Revised candidate df2cd6070b567190d2b140a2cc1bc1d8c579e78c: Source personal PR #62 hosted linux-source SUCCESS, windows-source SUCCESS; the unsigned Windows release job was intentionally SKIPPED, not a PASS. The same exact candidate in organization QA Draft PR #1 obtained linux-source, windows-source, Analyze (csharp), Analyze (python) and CodeQL SUCCESS, with only the intentionally skipped unsigned release job.
  • Exact CodeQL result: No new alerts in code changed by this pull request, zero failed annotations, analysis SHA confirmed for C# 1971779277 and Python 1971778829, GitHub PR-head alert query returned zero open alerts. The older 0d4fd6... branch scan had raised one Critical #89 due to Environment.GetFolderPath(SpecialFolder.System); the tested switch to direct OS Environment.SystemDirectory removed the new candidate alert without dismissing or suppressing it.
  • Seven preexisting Critical CodeQL entries on protected organization main remain OPEN (IDs 88, 87, 86, 85, 37, 36, 35). Successful candidate-only CodeQL is not post-merge security acceptance, no installed native probe or privileged service has been tested by the separate 18-case process-plan suite, and no stable / RC1 / organization main branch or public release was changed.
  • Review gate: The personal security PR #62 is READY FOR INDEPENDENT HUMAN REVIEW, with Mohammad formally requested. The organization QA-only Draft QA ONLY: R850 PR66 exact-head CodeQL 3/3 (DO NOT MERGE) #1 was CLOSED UNMERGED after archiving the exact-head CodeQL evidence; product integration must later follow approved source/organization fork rules and review gates. PR Draft: v1.5.5-rc1 Linux encrypted DNS, guarded upgrades and deterministic Windows setup GOD13emad/DirectInternetMethod#60 has been receiving unrelated commits, so verify merge compatibility at a future stable exact PR60 head rather than reusing the stale R057 SHA check.

R061 FINAL exact-head organization CodeQL receipt

R062 FINAL exact-SHA hosted native downloader and CodeQL result

The existing, temporary QA-only Draft #1 has now completed the requested security scan at source SHA be81c312b70d88bbd259ff54373cfd18178839b1, exactly matching still-open personal upstream PR #62. Organization protected main remains 26ef644117ea474b487186ce5e6e61e92cd02dd4.

  • 5/5 required exact-head checks completed SUCCESS: Windows source and Linux source, C# analyzer, Python analyzer, CodeQL check 117330095150. The unsigned Windows release-contract check was deliberately SKIPPED, not accepted.
  • GitHub CodeQL analysis C# 1971977980 and Python 1971976414 each bind to commit be81c312b70d88bbd259ff54373cfd18178839b1 on PR ref refs/pull/1/head, and the API returned zero currently open candidate-ref CodeQL alerts. The seven Critical alerts 88, 87, 86, 85, 37, 36, 35 remain open on protected organization main; candidate zero is not proof of main closure or a release approval.
  • Original personal-source windows-source and linux-source both succeeded on this PR candidate. Hosted Windows job 117329101970 emitted PASS_R062_HOSTED_NATIVE_SERVICE_DOWNLOADER: OS-protected curl selected despite fake first-PATH entry, temporary loopback HTTP fixture downloaded with SHA256 parity, no installed service or installer started. The typed .NET 10 harness fixes historical PowerShell-native Reflection PSObject incompatibility.
  • A disposable compatibility test combined this exact security SHA with the snapshot of source RC1 PR Draft: v1.5.5-rc1 Linux encrypted DNS, guarded upgrades and deterministic Windows setup GOD13emad/DirectInternetMethod#60 at 46b0724f565df20f81f0a6b3c1c9537c11a51c3c; both Git merge orders produced identical tree 00c7bf3b25a68bcc44d1fe69485450822dca7b64. Eight service negative tests, 18 GUI negative tests, and all three .NET 10 Windows project builds passed. This is snapshot-only evidence; ongoing RC1 updates and real privileged update/rollback remain separate gates.

Final disposition: This QA Draft must be CLOSED UNMERGED, retaining these readbacks for review. The original author-specific personal PR GOD13emad#62 is the only R062 source product proposal, pending real human partner review, approved source-to-org promotion and actual post-merge main CodeQL. No protected default ref, release, installed product, Windows network service, account permission, security alert state or branch-policy bypass was performed.

R765 exact current CI head correction : The original QA code at 0764401 built the correct 8,410,505-byte archive, but source CI still contained an obsolete byte-size assertion (8,408,326), though SHA matched. Only that byte-size constant was corrected in 73e71ffe02d3c92d1cf35c6fbf643f6f8846e92e without weakening SHA. The follow-up ephemeral R562 synthetic finalization fixture then failed closed because it saved an alleged native Root acceptance under a runner-owned parent; this was correct new Root security behavior. The test-only fixture was moved to a private root-owned /tmp directory in 634d2c6324d8408a91d7e6c64ec2d99e662a07ad (one test file changed, no product source code or archive change). Actual original-repository Root/Guard CI on this exact SHA is the acceptance source; earlier failed QA runs are not accepted. Patch receipts are stored host-locally, and release remains HOLD.


R765 final audit-only disposition for exact QA SHA 91b899a90f86080f8789adc3d596b6087c80f305 (2026-10-18): After a separately verified negative-first Root acceptance parent-symlink mitigation, two purely test/CI adjustments were required: (1) correcting archived package byte-size check to 8,410,505 without changing the hash, and (2) making the deliberately synthetic R562 acceptance receipt in a private Root-owned /tmp test directory while preserving the protected acceptance policy and its separate mutable-settings map. Final source Root transaction 2DC3FBDE..., watchdog 7CA937E..., and Linux QA package 5D2E86CBAEB999EB404A03072387D772C33FE40233010A2F46ADE5A9FA5D220A unchanged by the test-only fixes. No real installed application was changed.

  • Primary personal repository run 39165819093 SUCCESS: all 13 actually executed source/ephemeral privileged Root, standalone watchdog, rollback, user forward commit and R562 synthetic interruption/retirement jobs PASS. Two Windows private/unsigned release contracts deliberately SKIPPED (not PASS).
  • Exact-current audit CodeQL run 39166238968 C# and Python analyzer jobs both SUCCESS; overall PR workflow SUCCESS as an analysis execution, but aggregate CodeQL check 117789824274 FAILURE. Current refs/pull/1/head has 40 OPEN (1 Critical, 39 High), all on 91b899a90f86080f8789adc3d596b6087c80f305; 20 production alerts (8 protected Root transaction, 12 encrypted DNS controller) and 20 test alerts including Critical #131. Previous R763 had 41 open; one production Root path warning dropped after the dirfd/parent component guard, but remaining alerts are NOT dismissed or human adjudicated.
  • Organization fork source run 39166242137 linux-source fails at its original-repository identity guard; only primary-authorized repo supplies privileged source acceptance. Windows-source SUCCESS in org; its Linux Root jobs were intentionally SKIPPED.

This QA PR is restored to CLOSED DRAFT UNMERGED; protected organization main and original personal PR60/PR62 and public v1.5.4 remain untouched. Blocking release: CodeQL 40 alerts, independent human PR62 review, actual native owner-approved cross-host installed functional HTTPS acceptance and unsigned Windows release contracts. The complete R765 fix is preserved as an audit-only Git parent chain and separately SHA-pinned replay patches on canonical Windows Brain host; no merge or release authorized.


R766 FINAL 2026-10-19 — audit-only exact-head test-runner Critical repaired, release still HOLD. Tested original personal repo QA commit 6f008f3d9e0dd51b55c271ad4f4d305f534928d3, child of 91b899a90f86080f8789adc3d596b6087c80f305. Only tests/r566_native_systemd_persistent_catchup.py, the new tests/r766_systemd_exec_origin_contract.py, and a single .github/workflows/ci.yml test invocation changed. Original user-installed, product binaries/Root Guard, tar/ZIP, protected main, and public release remain unchanged.

  • On physical Emad Linux non-root, three hostile inputs previously reached subprocess.run under an injected mock (RED), then four source-origin mocked cases PASS: no executable other than OS-owned absolute /usr/bin/systemctl, no arbitrary unit/service or extra properties; permitted daemon-reload, start/stop owned dim-r566-catchup-<numeric-run-id> units, and show ... ActiveState --value remain supported. No systemctl actually executed during the mock tests.
  • Correct original-repository Actions 39167998509 on this exact SHA SUCCESS: 13/13 actually executed tests PASS including genuine privileged ephemeral R566 calendar catch-up, Root/User, rollback, independent watchdog, retirement, Windows/Linux source; two private/unsigned release gates SKIPPED, not PASS.
  • Organization CodeQL run 39168087069 analyzes exact SHA: Python and C# analyses SUCCESS; CodeQL aggregate 117795403043 FAILURE because there are 39 OPEN High alerts, 0 Critical. Exact current refs/pull/1/head Code Scanning REST read returned 20 production and 19 test findings; previous test Critical #131 no longer open, all current instances at 6f008f3d9e0dd51b55c271ad4f4d305f534928d3. Do not interpret zero Critical as security approval; the remaining 39 High require review. Fork linux-source fails closed at original-repo identity R527, with downstream privileged checks SKIPPED; primary-authorized CI is the valid execution authority.

Organization QA PR #1 is now deliberately CLOSED DRAFT UNMERGED again. No automatic merge, product PR changes, owner physical installation, privileged host operation or release. PR GOD13emad#62 independent human review is outstanding, installed RC1 multi-site functional HTTPS and Windows release gates remain open.


R767 FINAL SCOPED RESULT 2026-10-19 — candidate test-only, no product promotion. Exact org-only QA a0f6f64119a89af7c173f201d90429804dc1ff68 (parent R766 6f008f3) protects encrypted DNS opt-in and profile reading from user-home parent-directory symlink traversal by descriptor-relative no-follow for every directory and leaf, validates owner/file type/mode/length and preserves accepted failure codes. A real Emad Linux unprivileged negative-first test proved original .local symlink-parent bypass (1 RED), followed by 1/1 new negative and 35/35 existing controller cases PASS; no live Root/network/install change.

  • New exact-head org CodeQL run 39169899448 C#/Python analyzers SUCCESS; aggregate CodeQL check FAILURE because 27 OPEN High, 0 Critical. Compared to R766: total High 39 → 27, encrypted DNS product warnings 12 → 0, remaining product High 8 in protected Root transaction, remaining tests High 19. Every current alert instance was pinned to exact SHA. No alerts dismissed; 27 High still prevent security acceptance. The summary CodeQL PR workflow's own SUCCESS means analyzer execution, not passing the failing aggregate alert policy.
  • Source workflow 39169900817 windows-source and public Stable regression SUCCESS. Linux-source FAIL-CLOSED at immutable candidate SHA gate: the changed controller invalidated transitive protected transaction, guard and unpublished RC1 ZIP pins. No privileged test was executed; do not waive the identity/pin guards.
  • The exact current SHA's three files are public Git-verified immutable objects: linux/system/encrypted_selective_dns.py, tests/r767_consent_parent_nofollow_contract.py and a Linux Source CI test invocation. No protected main, personal PR60/PR62, public stable v1.5.4, running tunnel or physically installed app was modified.

Organization PR #1 is now intentionally CLOSED DRAFT UNMERGED. Replay requires a coherent controller → protected Root transaction → Guard → installer/CI/ZIP rebaseline and original-authority hosted/native physical tests. Independent security PR62 human review, 27 High alert adjudication and multi-host YouTube/OpenAI availability remain open; no release authorization.


R768 FINAL SCOPED RESULT 2026-10-19 — transitive Root/Guard/ZIP SHA V&V PASS; release HOLD. Exactly 12 dependency/pin/test/CI files updated on single audit-only child commit 10476722bb96fb048cd1a0be197bfe84de9ea952 (parent R767 a0f6f64, Git tree 8eaa01ccd5aa5a111e9a3fe305221e82504efe7a). Root encrypted consent controller R767 source unchanged: A8A8DD6155DDC4E2C5295A6CAA7B8809144C43985B47FD4664501ED683DB0AAE. New protected Root transaction SHA 5A50FDBF3D8CC207FEBA35B85274606E226508AB3D5059DF231789E0D947A616; independent Root Guard SHA 51DF6C262E409B5EF7FE78E09CA70AF679B3C5AD44FC8397309312C9706A52AD. Current unpublished candidate Linux ZIP 8,412,857 bytes, SHA 387216967DC1E0681D122B7EBADA721983E7FC2C618FF0E1E7C1535DB5ED497F; built byte-identically from exact QA source on physical Emad Linux and Windows, 30 unique archive entries and 28/28 manifest hashes. Original historical Stable v1.5.4 untouched.

  • On actual Emad Linux user-only QA, package integrity R519 17/17, protected transaction 25/25, autonomous guard 24/24, installer 11/11, encrypted DNS controller 35/35 and R767 malicious parent-symlink negative fixture 1/1 all PASS; additionally sixteen DNS, GUI, socket, Update and Tailscale source suites PASS. This is not a physical native install.
  • Exact-current personal original-repo Actions 39171319365 SUCCESS; 13/13 executed jobs PASS, including real disposable Linux privileged Root/User, independent Watchdog, interrupted finalization, autonomous rollback/retire, protected source and Windows source. Two private Windows and unsigned release jobs SKIPPED, not PASS.
  • Organization audit exact-head C# and Python analyzers SUCCESS (CodeQL run 39171424908); aggregate CodeQL FAILURE with 27 open HIGH, 0 Critical at refs/pull/1/head, every current instance bound to 10476722bb96fb048cd1a0be197bfe84de9ea952. 8 findings in protected Root transaction and 19 in test source, no DNS-controller warnings; no dismissals, no human security approval. Organizational fork source 39171426169 Linux-source deliberately FAIL-CLOSED at R527 repository-identity guard; independent original repo CI is the trusted privileged execution source, not the fork.

Audit PR1 restored to CLOSED DRAFT UNMERGED; its QA branch retains exact source commit for replay. Original production PR60 unchanged Draft and PR62 unchanged OPEN without independent review; protected personal/org main and public Stable v1.5.4 untouched. Installation and multi-site YouTube/OpenAI TLS and 27 CodeQL High finding review remain OPEN. Candidate and local ZIP must not be treated as accepted public release.


R770 full transitive Root/Guard/ZIP pin QA, 2026-10-19 — DO NOT MERGE. Audit source commit 8b0fd6ff276b3fe89fd7bc636216140050876374 (parent c598bb4f333c20a83e35785da1c5d8f5c7239674) adjusts exactly 11 SHA dependency/CI/test files after R769 no-follow streaming Root Transaction change; product Root source SHA remains 7E539F39CE89E4352655EC820730BA18EA6397B91A970943D8A3A37D739ACB3B. Independent Guard source 2A5125C190FE4251CD4D75A5BA1DA1B49595CB2CDA2AE20A875A106E3051947B. Current UNRELEASED/UNINSTALLED Linux candidate archive is 8,414,235 bytes, SHA256 FA99FCAA8E03C712C0D78EAEE39C2CF102427A2CE9866FD97E1F76059775F14F, 28/28 manifest file SHA checks; historic Stable v1.5.4 unmodified. Exact replay of the 11-file SHA-chain diff is preserved in canonical Windows Emad evidence DIM_R770_ROOT_HASH_GUARD_COHERENT_SHA_20261019.patch SHA256 ED26A2EE4E77E425039B7C1E1D9760ABBD9FDD30F97879495DB3D936D02A4B38.

The original-authority primary GitHub QA CI 39174137208 must verify actual privileged Root/Watchdog/rollback, source suites and package SHA on exact 8b0fd6ff276b3fe89fd7bc636216140050876374 (not yet accepted at time of annotation). This organization audit PR is for new SHA CodeQL C#/Python and alert-delta observation; R769 precursor had 26 open / zero Critical / 7 production Root file warnings. No CodeQL passing or zero findings is claimed until the exact new run completes. Original personal PR60/PR62, protected main, physical installations and v1.5.4 stay untouched. Close this organization QA PR UNMERGED following evidence capture.


R769+R770 FINAL 2026-10-19 — scoped fail-closed and coherent pin-chain QA; product release HOLD. R769 exact audit child c598bb4f333c20a83e35785da1c5d8f5c7239674 replaced unchecked hash_file and no_symlink_regular accesses with file-descriptor-pinned, O_NOFOLLOW directory+leaf traversal. Two user-owned symlink-parent negative tests RED on original R768 source and 4/4 green on new source; a legitimate 8 MiB static binary still streams SHA-256 unchanged. Never ran physical Root; no installed product/network/Tailscale changes. New protected transaction code SHA256 7E539F39CE89E4352655EC820730BA18EA6397B91A970943D8A3A37D739ACB3B.

The precise single-parent QA commit 8b0fd6ff276b3fe89fd7bc636216140050876374 added only 11 dependency-pin/CI/test changes after R769, creating independent Root Guard SHA 2A5125C190FE4251CD4D75A5BA1DA1B49595CB2CDA2AE20A875A106E3051947B. Unpublished candidate Linux ZIP 8,414,235 bytes, SHA256 FA99FCAA8E03C712C0D78EAEE39C2CF102427A2CE9866FD97E1F76059775F14F, exactly 28/28 manifest payload hashes verified on local Windows build; original historical Stable fixture is unchanged. 11-file reproducible patch saved in canonical Windows Brain host at evidence/DIM_R770_ROOT_HASH_GUARD_COHERENT_SHA_20261019.patch SHA256 ED26A2EE4E77E425039B7C1E1D9760ABBD9FDD30F97879495DB3D936D02A4B38.

Exact current original-repository Actions 39174137208 SUCCESS, all 13 actually executed source, real disposable privileged Root/User, Watchdog, accepted Finalization, Rollback and Retire jobs PASS, two Windows private/unsigned-release checks SKIPPED, not PASS. Independent org CodeQL exact SHA Python/C# analyzers SUCCESS in run 39174214117, but CodeQL aggregate 117813595960 FAILURE, with 26 OPEN High, 0 Critical on this exact SHA: 7 protected Root Transaction path findings and 19 test-source findings; no alerts dismissed. Organization fork's R527 original-repo identity guard fails closed as designed; only primary original repo tests can certify privileged CI.

CLOSED DRAFT UNMERGED audit QA PR #1, no product merge, tag or release. Full scoped receipt evidence/DIM_R770_ROOT_VERIFIED_DESCRIPTOR_PINCHAIN_20261019.json SHA256 BF0BCEABC3CD9FE5BF6130F52310E78CB47B407DDB547BF81E55C1261CCBD1B6. Original product PR60 remains Draft, PR62 human review remains missing, real physical owner-installed in-place update and YouTube/OpenAI multi-host HTTPS unaccepted; public Stable v1.5.4 is unchanged. This successful QA must not be described as final product acceptance.


R772 exact-head audit closeout (2026-10-19), NOT a product release. Exact audit-only Commit 9ee02423aade799d8ecd7555f80f5094a5ecb72c (parent R771 67aefb8e0df8e3f5a269adcaadee21a7b89a5814, Git tree fc85b1b78c0d08a9202119d37083850b70f88df0) coherently re-pinned Root transaction/Guard/installer/CI test SHA checks after the R771 FIFO O_NONBLOCK fail-closed fix. Exactly 11 downstream dependency files changed in this commit; original protected app code, personal PR60/PR62 and public v1.5.4 Stable remain untouched. New QA-only Linux RC1 archive was SHA-pinned 7A15A380AF1D4FA8ADA9E9A55DB09B8A988A597DEC2B304ACB59CE1B6BD53636, 8,414,421 bytes. This SHA is an unpublished test candidate, not an installed or public release.

Authorized original repository Actions 39209318910 on exactly 9ee02423aade799d8ecd7555f80f5094a5ecb72c: SUCCESS, 13/13 executed checks PASS including real disposable privileged Linux Root/User transactions, FIFO fail-closed source negative test, independent Root Guard/Watchdog, interrupted finalization, rollback and retire; two Windows private/unsigned release contracts intentionally SKIPPED (not PASS). This closes the scoped source and hosted privileged-CI gate; it does not establish physical owner-installed or multisite TLS acceptance.

Organization C#/Python CodeQL analysis 39177813056: both analyzers SUCCESS, but aggregate CodeQL check 117824188942 FAILURE. Exact-head refs/pull/1/head inspection returned 26 OPEN High, zero Critical, seven protected Root Transaction alerts and 19 test-source alerts, no foreign SHA instances and no dismissals. Fork linux-source FAILED at the intentionally enforced R527 original-repository identity gate; downstream privileged jobs SKIPPED in fork. The corresponding primary-authority tests passed in the proper personal repository.

The org audit PR #1 is deliberately restored CLOSED DRAFT UNMERGED, preserving its source commit and all earlier security evidence. Product release remains HOLD pending security adjudication of 26 High, independent human PR62 review, native host installation/rollback, and real YouTube/OpenAI HTTPS plus Windows release gates. No protected main, tag, installed app, DNS, VPN or external release was modified.

Stage 23 reviewed text-source changes on a candidate-only branch.
Require deterministic rc1 ZIP SHA, negative-first Linux upgrade tests,
rootless encrypted DNS safety tests, separate historic v1.5.4 regression,
and unchanged Windows/public-release contracts. No release or install.
Replace a local-only obsolete 8.3 MB ZIP dependency with SHA-pinned
original 26-entry manifest and original changed uninstaller source.
Check all 25 unchanged file digests and exact one-file delta.
R519 15/15 candidate package tests pass on fresh checkout.
Fix fake Root lifecycle test's host-specific UID=1000 assumption.
Retain real native_engine_attested uid/mode/binary checks unchanged.
Explicit virtual native State st_uid=1000 in test-owned temp directory;
8/8 native mock lifecycle regressions PASS on MMZ.
Add 11 rootless negative-first checks for protected backend metadata, atomic INSTALL.json activation, symlink/orphan fail-closed, and user-data preservation. CI executes only a fake HOME/Root; no release or runtime changes.
…R527)

Introduce 16 real UID0 mode/ownership/fsync/lock/rollback and fail-closed tests against a sandbox-only prefix; GitHub CI sudo fixture never invokes installed network/systemd and does not change public v1.5.4. Physical host acceptance remains open.
…u VM (R528)

Reconstruct published v1.5.4 root baseline from byte-pinned archive, run unmodified absolute-root stage/apply/rollback as UID0 in disposable hosted runner and verify restoration. Keep production and public Stable unchanged; physical DNS/GUI acceptance remains open.
…ed VM (R529)

Rehydrate byte-pinned v1.5.4 installed user+Root fixtures, stage user/root, apply actual UID0 protected transaction, apply unprivileged user transaction, run exact production atomic INSTALL.json fragment, reject premature commit and verify two-sided version, private data, custom provider and full rollback. No physical host or network mutation.
… disposable Linux VM (R532)

Use separate arm and verify processes on GitHub-hosted Ubuntu: arm monotonic systemd timer before protected/unprivileged two-sided RC1 mutation, exit, and require timer to perform byte-exact Root/User rollback. Pin helpers and preserve live public v1.5.4, DNS, routes and user data. No physical or product runtime changes.
…ade rollback (R535)

Build new private Windows WPF/Service/installer with unchanged AppId and explicit RC1 version. Keep published v1.5.4 root release metadata authoritative. Extend version-aware negative contracts without relaxing stable acceptance. Add disposable Windows 2025 native Stable->RC1->Stable upgrade and data-preserving rollback validation. No public assets or installed hosts changed.
…(R535)

The repository enforces text/eol=crlf for MainWindow.xaml.cs. The previous GitHub API blob inadvertently stored CRLF directly, making a pristine Windows runner checkout appear dirty. Normalize the indexed blob to LF; checkout converts to CRLF. No code logic or released artifacts changed.
Apply .gitattributes-aware canonical LF blob storage to private Windows RELEASE.json, manifest.json, and Service.csproj. Windows checkout still materializes CRLF as appropriate. No source logic or product payload content changes; preserve special mixed-line-ending Inno source with text=-text.
… (R535)

The hosted private Windows acceptance job adds a second SHA-pinned setup-dotnet step; retain the stable exact-count guard and accept exactly two in the RC1 branch, including explicit private job identity checks. No product source/payload change.
…branch (R535)

After successful hosted Windows v1.5.4→1.5.5-rc1→v1.5.4 in-place install, user-data preservation and rollback on exact tested source commit 037fef3, enable the same GitHub-hosted ephemeral native gate for feature/r520-linux-155rc1-ci. This only changes CI guards and scoped test entrypoint authorization; no runtime or published Stable files altered.
… (R537)

Show valid Control D DoH opt-in in split-Tailscale status; invalid/mutually-exclusive consent prevents Start. Add 12 negative-first GUI status tests, update mocks and exact RC1 package SHA/size pins. Keep user consent explicit and published v1.5.4 unchanged. No physical installations or network changes.
…probe (R538)

Use actual selectedDnsEncrypted field for active Tailscale/DoH status instead of legacy UDP flag. Fail closed on conflicting active DNS modes, test real YouTube homepage for either selected DNS mode, and disclose encrypted-selective-doh in live diagnostics. 12 negative-first regressions now pass; update the byte-pinned Linux RC1 archive and hosted CI/test hashes. No physical DNS, installed product, Tailscale or public v1.5.4 changes.
…ging routes (R541)

Physical read-only evidence on Emad Linux found NFQWS bound to wlp2s0 while default Internet egress is enp1s0. The nft OUTPUT oifname rules cannot intercept the current path. Show STALE in GUI, fail closed in HTTPS preflight, refuse false ALREADY_ACTIVE before any destructive cleanup, and direct an explicit Stop/Recovery then Start after route stabilization. Nine negative-first tests passed and physical source-extracted reproduction matched. Refresh dependent protected-root hashes and exact private RC1 package/hosted CI pins, preserving public Stable and user network.
… (AI-assisted)

R796 strengthens descriptor-pinned regular-file readers by selecting the basename only from a finite explicit allowlist of protected package, backend, receipt and synthetic-QA fixture names. Reject even lexically valid but unknown names; preserve symlink-parent and special-file fail-closed, SHA pins, ownership, 256-bit transaction nonce and existing native guard. A malicious string never selects an arbitrary os.open leaf.

Expand R795 negative regression with safe-character yet nonallowlisted fixture, and update every dependent Root, Guard, trusted bootstrap and deterministic Linux RC1 archive digest. Local isolated Emad Linux: 15/15 relevant suites PASS incl R552, 28 protected fake-root tests, 17 package tests, R789 stale receipt rejection and native parser dry-run.

Security candidate ONLY: do not infer CodeQL, independent human review, physical acceptance, signed/public release or privilege authorization from source tests. Protected main and public Stable v1.5.4 unchanged.

Copy link
Copy Markdown

Exact-security-head CodeQL disposition — b38aa94b67fb102dd24359184abaa324cd29a3ad

Technical evidence ONLY. Not an independent human code review or public release authorization.

  1. Original primary PR #63 fixed Root verified_regular_fd access by selecting the actual leaf os.open argument exclusively from a finite, explicit tuple of approved protected package/backend/receipt and dedicated QA fixture names. The untrusted requested filename is checked against a strict single-component ASCII pattern and then compared to allowlisted literal values. Parent lookup remains descriptor-pinned with O_DIRECTORY|O_NOFOLLOW, leaf O_NOFOLLOW|O_NONBLOCK, and same-descriptor fstat checks. Root-owned receipt mode/ancestor checks, SHA-pinned manifest and per-stage 256-bit nonce also remain.
  2. Exact-head scanner: fork CodeQL analysis run #39323731328 COMPLETED SUCCESS, both Python and C# analyzer jobs SUCCESS; its required CodeQL check #118304562667 SUCCESS with 0 open annotations at this commit. Previous exact heads had three then one High. No CodeQL warning was dismissed, suppressed or waived. This closes that specific tool gate at the exact SHA, not all possible path-security risks.
  3. Local Emad Linux in disposable user-owned QA worktree: 15/15 selected suites PASS incl 28 Root fake-transaction, 17 package, 14 fixed-bootstrap, 27 guard test cases, FIFO/symlink/race/replay and R795 allowed/denied basenames. New literal-list negative fixture rejects unexpected-but-valid-name.txt despite matching the ASCII regex.
  4. The primary original CI #39323686950 was still running final hosted Windows private native checks at time of this QA note. Final hosted native acceptance must be checked independently before any promotion.
  5. The public Stable v1.5.4, protected main, personal installations and OS networking remain unchanged. No human submitted APPROVE, current-source physical Linux Root/Polkit installation or real active-engine HTTPS acceptance was created by this QA. Close this scanner-only fork Draft PR UNMERGED, retaining its exact-head security evidence.

Source remediation is consistent with the official CodeQL path-injection advice to restrict untrusted filenames to a fixed safe allowlist.

AI-assisted technical candidate only; not independent review, native production acceptance or public release. Exact pinned predecessor pairs (Root/User 1.5.2/1.5.4 and 1.5.5-rc1/1.5.5-rc1), 256-bit receipt nonce, descriptor-pinned Root reads, owner checks and one bounded two-sided watchdog/rollback. Linux deterministic 28-file ZIP sha256 A8356107C5DE6529E8270D1EE404A7D8A629040BD0D17F3F83C61C390790655D and trusted 1.5.6 bootstrap sha256 D0181C15C54B90A3B6E03FBFBE32148341037AB60CF4D6788B6A72140304340F. Local 47/47 applicable Linux CI-source suites PASS; one Root-only suite and all hosted-native gates remain to run. README intentionally anonymizes physical test-host details. Existing Windows RC1, public Stable v1.5.4, protected main, PR GOD13emad#63 and personal installations unchanged.
AI-assisted correction to original-runner R782 environment guard only. The previous pin rejected valid hosted R803 jobs because it named the older security branch. Preserve exact GITHUB_SHA, original repository, UID0, hosted-runner workspace, manifest SHA, and non-production negative checks; do not authorize local Root or skip the security job.

Copy link
Copy Markdown

R803/R804 exact-head source security scan

Technical evidence for 240ddaeffdc4e74675717d55c363cedaddd41137 only, not an independent human security review or publication permission.

  • Fork CodeQL run #39345972914: Python and C# analyses both completed SUCCESS. Required CodeQL check #118378799156 completed SUCCESS with 0 annotations; no dismissals, waivers or disabled queries.
  • Original repository CI #39345726043: 14 applicable jobs SUCCESS, 0 failed, 2 conditional tag/private-Windows jobs SKIPPED at 240ddaeffdc4e74675717d55c363cedaddd41137. Linux Root, Root/User integrated rollback, watchdog, trusted bootstrap, stale receipt, systemd, source and public Stable regression passed in their documented scopes.
  • This fork's copy of the original Linux-source workflow correctly rejects the fork-only R527 privileged Root test with R527_EXACT_GITHUB_REPOSITORY_REQUIRED; this is an expected original-repository trust boundary, not an exemption nor a PASS. Original CI independently ran that test successfully.
  • Source candidate is Linux-only v1.5.6 private release preparation, with exact local Git tree matched to the original GitHub tree. No public release, tag, protected-main merge, deployed binary, human APPROVE or physical MMZ YouTube/ChatGPT sign-in acceptance was performed. Public v1.5.4 remains unchanged.

Retain this QA evidence; close the fork Draft PR unmerged after exact-head verification.

AI-assisted private draft, not a published release or independent human review. Forward-only GUI and Service 1.5.6.0 .NET10, unchanged Inno AppId, pinned bundled runtime, one installer, no forced signature. GitHub-hosted isolated Windows 2025 build, v1.5.4 to 1.5.6 upgrade and rollback test gates require original repo/branch/exact SHA; no test pass asserted before execution. Retain public RELEASE.json and v1.5.4 tags unchanged, preserve user data and physical network. Local R805 5/5, R664 monotonic guard, R482 .NET10 and publication authority source contract PASS. Linux v1.5.6 R803 verified prep is base. Physical Windows, browser, MMZ upstream and actual release remain OPEN.
@GOD13emad GOD13emad changed the title QA ONLY: R792 exact-head Linux Root CodeQL scan (DO NOT MERGE) QA ONLY: PR64 exact-head CodeQL security scan (DO NOT MERGE) Oct 31, 2026
@GOD13emad GOD13emad changed the title QA ONLY: PR64 exact-head CodeQL security scan (DO NOT MERGE) QA ONLY: PR66 v1.5.7 exact-head independent CodeQL scan (DO NOT MERGE) Oct 31, 2026
…lace and rollback against pinned original installer
@GOD13emad GOD13emad changed the title QA ONLY: PR66 v1.5.7 exact-head independent CodeQL scan (DO NOT MERGE) QA ONLY: R850 PR66 exact-head CodeQL 3/3 (DO NOT MERGE) Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants