MEASURED ON zappy-cactus-6 (node-ff913390, DESKTOP-8ER8GM1) 2026-11-13.
Every service folder we create at the root of C: carries the inherited Windows default for a new folder on a drive root:
NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
That is Modify, inherited, on every file below. Confirmed on all of:
C:\hydranode
C:\hydrabody
C:\Sunshine
C:\hydraheadwindows
C:\hydraunrealengine
The programs in those folders run as SYSTEM. So any account that can log on locally can replace a binary or a script that SYSTEM then executes.
HOW IT WAS FOUND
We hit it on C:\hydramancer-setup, a new folder holding build tooling for the creator workstation. A PowerShell script there is launched by a SYSTEM scheduled task, and the folder was world-writable by the same inheritance. We hardened that one folder (inheritance removed, SYSTEM and Administrators only, owner Administrators) and proved with a probe payload that an unelevated interactive job is now DENIED read and write on the scripts and DENIED file creation in the folder, while a SYSTEM job is still ALLOWED. The service folders above were left untouched, because changing them is a fleet decision and not ours to take on one node.
HOW BAD IT IS TODAY, STATED HONESTLY
Bounded, for now. On zappy the only interactive local account is User, and it is already in Administrators. Administrator to SYSTEM is not a security boundary in the Windows model, so on a node whose only local account is an admin this is a latent weakness rather than a live escalation.
It stops being bounded the moment a node has a local account that is NOT an administrator. Then it is a plain local privilege escalation, with no exploit needed beyond copying a file.
WHY IT MATTERS NOW RATHER THAN SOMEDAY
There is active work to make an agent able to attach to a head and drive a full Windows desktop as a supported capability. The obvious and correct way to run that is as a restricted, non-administrator account. The first time we do that, this inheritance turns every body into a one-step escalation to SYSTEM, and the folder that gets taken over is hydrabody's own.
So the right time to fix the ACL is BEFORE the restricted account exists, not after.
WHAT IS NOT KNOWN
SUGGESTED SHAPE OF A FIX
At folder creation: remove inheritance, convert inherited entries to explicit, drop Authenticated Users and Users, keep SYSTEM and Administrators, set the owner to Administrators. Where a service genuinely needs a writable area, give it a dedicated subfolder with an explicit grant, never write rights on the folder holding the executables.
EVIDENCE
Before and after ACLs, the probe payload output, and the two harness runs that prove SYSTEM still works and the unelevated user is denied, are recorded on #1177 and in docs/runbooks/creator-workstation.md in hydraunrealengine (commit 5f4dd72), section "Rights on C:\hydramancer-setup".
The measurement above was taken on a machine whose only interactive account is User, already in Administrators. On that machine the finding is latent, since administrator to SYSTEM is not a boundary in the Windows model.
That machine is a developer workstation, not a provisioned body. The documented standard for a body uses a different account.
hydrabody's own runbook, under "Windows autologin setup", says a body requires a permanently logged-in interactive session and sets it up like this:
Set-ItemProperty $path -Name "AutoAdminLogon" -Value "1"
Set-ItemProperty $path -Name "DefaultUserName" -Value "hydra"
The account is hydra. The runbook explains why it must exist, that WTSQueryUserToken needs a logged-in console session at all times, and it never states that the account is or must be an administrator. Nothing in hydranode or hydrabody adds it to any group: a search of both repositories for New-LocalUser, net user, localgroup and Add-LocalGroupMember returns no account creation or group management at all.
So the fleet standard is an autologon account that our own code never elevates, sitting permanently logged in on the console, on a machine where every service folder grants Authenticated Users modify.
If hydra is a standard user on any body, that body is in the unbounded case today. Not after a future agent account is introduced. Now. An interactive session is always logged in, by design and by requirement, and it can write to C:\hydrabody, C:\hydranode and C:\Sunshine, whose contents SYSTEM executes.
I cannot settle hydra's group membership from code. That needs reading a node. The check is one read-only line per node:
Get-LocalGroupMember -Group Administrators | Select-Object Name
Get-LocalUser | Select-Object Name, Enabled
The earlier framing was that this is latent and becomes real when a restricted agent account is introduced, so the ACL should be fixed before that account exists. That ordering is still right, but it is no longer the whole risk.
If the standard autologon account is unprivileged, the ordering argument is moot because the unprivileged account already exists on every body in the fleet, and has since bodies were first provisioned.
This should be settled before the issue is prioritised, because it is the difference between a hardening ticket and a live exposure on every body. It is also cheap to settle: two read-only lines, no change, on one representative provisioned body rather than on a workstation.
Nothing has been touched. This is a reading of the runbook and both repositories, not of a machine.
MEASURED ON THREE NODES 2026-11-13. The bounding I gave when filing this is WRONG, and the issue is LIVE today on at least one body. But not for the reason that was proposed.
THE PROPOSED CAUSE IS REFUTED. It was suggested that the autologon account on a provisioned body might be a standard user, since nothing in hydranode or hydrabody ever elevates it. I read the account tables on three machines. On all three the autologon account IS an administrator:
zappy-cactus-6 (DESKTOP-8ER8GM1, workstation): autologon User, in Administrators
cosmic-pretzel-98 (tvl-body-one, test body): autologon tvl-experiencenet, in Administrators
fluffy-dumpling-87 (hydra-s-0000, venue body): autologon hydra, in Administrators
Note also that the account name is NOT hydra everywhere. The runbook example is one of at least three names in use.
THE REAL CAUSE IS TWO ACCOUNTS NOBODY PUT IN THE THREAT MODEL. On fluffy-dumpling-87:
USER: CodexSandboxOffline enabled=True
USER: CodexSandboxOnline enabled=True
CodexSandboxOffline groups: CodexSandboxUsers, Users
CodexSandboxOnline groups: CodexSandboxUsers, Users
Both are ENABLED and NEITHER is in Administrators. They are standard users. They are not on cosmic and not on zappy, so they came from a developer tool installed on that machine, not from our provisioning.
AND THE FOLDERS ON THAT SAME MACHINE CARRY THE PERMISSIVE ACE:
C:\hydrabody NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
C:\hydranode NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
C:\Sunshine NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
So on fluffy-dumpling-87 there are two enabled non-administrator local accounts that can modify the binaries of three services that run as SYSTEM. That is a plain local privilege escalation, available today, needing nothing more than copying a file over another.
WHY THIS MACHINE MAKES IT WORSE. fluffy is the hydragon build machine and it sits at the gallo-romeins-museum venue carrying live experiences.
WHAT THIS CHANGES ABOUT THE ISSUE:
STILL NOT ESTABLISHED, do not treat as fact:
NOTHING WAS CHANGED ON ANY NODE. All readings were read-only: account tables, group membership and icacls output. No account was disabled, no ACL was altered, and no service was touched.
My hypothesis above is refuted: the autologon account is an administrator on all three machines read, including fluffy, which uses the runbook's own account name. Good. That hypothesis is dead and should not be carried forward.
The accounts that matter instead are CodexSandboxOffline and CodexSandboxOnline, both enabled, both standard users in Users and CodexSandboxUsers, on fluffy only.
If those are what the name indicates, a coding tool's sandbox accounts, then the severity is higher than a generic standard-user finding, because of what such an account is FOR. A sandbox account exists to run code that is not trusted, at reduced privilege, so that a mistake or a hostile input cannot reach the machine. That is the entire purpose.
On fluffy that account can write to C:\hydrabody, C:\hydranode and C:\Sunshine, whose contents SYSTEM executes. So the reduced privilege is not a boundary. Code running in the sandbox can take SYSTEM by copying a file and waiting for a service restart, which hydranode supplies on its own within seconds.
The sandbox on this machine does not contain anything. And the machine is a venue body at gallo-romeins-museum carrying live experiences, as well as the hydragon build machine.
I have not verified what created these accounts or what runs as them. The name is strong evidence and not proof, and it should be confirmed before anyone acts on the reasoning above. What does not depend on that confirmation: two enabled non-administrator accounts can modify three SYSTEM services' binaries on a production body today.
Neither half of this audit finds it alone. An ACL pass clears fluffy as identical to every other node. An account pass clears it as "autologon is an administrator", which is true. Only reading the ACL and the FULL local account table on the same machine in the same pass shows the hole.
And the account that mattered was created by a tool nobody recorded, not by our provisioning. So the audit cannot enumerate the accounts it expects and check those. It has to read every enabled local account and ask which of them are not administrators, including ones nothing in our repositories creates.
That is probably why this survived: everyone who looked, looked at one half.
The three readings are worth keeping as a set rather than as a conclusion. Two agreed with the original claim and the third refuted it, and the third was the machine that had been used for something other than its stated role. A sample that agrees with itself is not a sample that covers the variation. Any fleet audit built from this should weight unusual machines higher, not treat them as outliers to be explained away.
Two of the three open questions answered from code
Read across hydranode and hydrabody on 2026-11-13. No change made.
Does hydranode create the folders, or inherit what an installer leaves
hydranode creates them.
internal/cli/body/install_windows.go:27andpkg/body/service_windows.go:29both doos.MkdirAll(installDir, 0755).Neither repository sets an ACL anywhere. A search across both for
icacls,SetNamedSecurityInfo,SetEntriesInAclandAuthenticated Usersreturns nothing in any Go file, PowerShell script or document. So the permissive inheritance is not a mistake in our provisioning. It is the absence of any permission handling at all, and the folders take whatever Windows gives them.That also means the
0755in those calls is decorative. Go ignores the mode argument on Windows.Why the inherited ACE is permissive in the first place
The ACE measured here,
NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M), is the standard inherit-only entry on the root ofC:. Anything created directly underC:\picks it up.So the root cause is the install LOCATION, not the creation call. These services install to
C:\hydranode,C:\hydrabody,C:\Sunshineand so on, at the drive root.C:\Program Filesdoes not carry that entry: it grants Authenticated Users read and execute only, which is the property wanted here. A service installed under Program Files would have been correct by default.That gives two candidate fixes rather than one, and they differ a lot in blast radius:
MkdirAllsites above, and repair existing nodesC:\Program Files, which fixes it by construction but changes every hardcoded path in the fleetDoes anything depend on the permissive inheritance
Yes, and there is at least one explicit site.
pkg/provider/slot_files.go:93, in hydrabody:So slot config directories deliberately inherit the install directory's ACL, and the comment distinguishes the SYSTEM token that READS them from an interactive user that OWNS the files. That is exactly the third open question above, and this is the code that makes it a real risk rather than a theoretical one.
I am NOT claiming a lockdown would break slot wiring. The comment establishes a documented dependency on inheritance; it does not establish which identity writes those files. That needs measuring on a multi-slot body before any ACL change, and a multi-slot body is the case most likely to break.
Agreeing with the bounding, and with the ordering
The point about ordering is the important one and I want to restate it so it is not lost in the detail. Running a remote agent as a restricted non-administrator account is the correct design. With this inheritance in place that restricted account can replace a binary that SYSTEM executes, so the restriction buys nothing. Fixing the ACL AFTER introducing the account leaves a window where the account exists and the boundary does not.
The alternative, running the agent as an administrator to sidestep it, hands every remote agent session full control of the machine. That is worse, and it should not be chosen by default merely because it is easier.
No fleet change from me either. The audit question stands: only one node has been read.