You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could the documentation clarify the public Windows PSEC interface used by MXC at commit 6cd3d58?
Documentation questions
Startup attribute coexistence: Can PROC_THREAD_ATTRIBUTE_SECURITY_ENVIRONMENT and PROC_THREAD_ATTRIBUTE_SECURITY_CAPABILITIES be supplied together in one CreateProcessW attribute list? If supported, which Windows versions support this combination and where is its contract documented?
Identity and capability defaults: How does PSEC determine the resulting AppContainer SID/profile and TokenCapabilities, including when the schema's capabilities field is unset? Which supported APIs expose these identity/default-selection semantics?
Launch prerequisites: Where are the required executable/loader filesystem access and minimal explicit environment documented for a PSEC-attached CreateProcessW launch?
This is a documentation/supportability question about public interfaces, not a report of a demonstrated defect. Links to the supported contract would be appreciated.
Thank you for documenting the PSEC interface. I have a related clarification for the direct schema 1.0 route at commit 6cd3d58.
The same-version Node README says that an omitted read/write list does not permit TEMP writes and that cwd alone does not add a filesystem grant. The PSEC builder copies the authored read-only/read-write/deny vectors. For direct CreateProcessSecurityEnvironment with capabilities and fs_read_write absent:
What identity/capability and system/ALL APPLICATION PACKAGES read baseline remains effective beyond the explicit vectors, and does explicit fs_deny override that baseline?
Can the environment or attached process receive independently created or redirected writable storage despite an absent read/write vector? If so, where is its ownership, host-content import and teardown contract documented?
Is there a supported API or procedure to establish that effective baseline and the minimum loader/cwd requirements for a CreateProcessW launch using the PSEC startup attribute?
This is a documentation/supportability question, not a vulnerability report. No private host details or credentials are included. Links to a versioned interface contract would help distinguish authored policy from native defaults.
No `network` field → no network. No `readwritePaths` → process can't write `%TEMP%`. No `ui` → no GUI. Use the discovery helpers to compose a sensible baseline.
### `process.cwd` doesn't grant filesystem access
Setting `cwd` (or the `workingDirectory` argument) does **not** add that path to the policy. Add it to `readonlyPaths` / `readwritePaths` explicitly.
Activity
GlediraSocial commentedon Oct 18, 2026
Thank you for documenting the PSEC interface. I have a related clarification for the direct schema 1.0 route at commit 6cd3d58.
The same-version Node README says that an omitted read/write list does not permit TEMP writes and that cwd alone does not add a filesystem grant. The PSEC builder copies the authored read-only/read-write/deny vectors. For direct CreateProcessSecurityEnvironment with capabilities and fs_read_write absent:
This is a documentation/supportability question, not a vulnerability report. No private host details or credentials are included. Links to a versioned interface contract would help distinguish authored policy from native defaults.
References:
mxc/sdk/node/README.md
Lines 420 to 426 in 6cd3d58
mxc/src/backends/appcontainer/common/src/base_container_helpers.rs
Lines 40 to 60 in 6cd3d58