In this article
Review current authority separately from the inherited no_new_privs execution restriction.
The operational scenario
A model worker reports NoNewPrivs enabled, and its review calls that proof of minimal authority. Yet the process already has access to a writable artifact directory, an application token or an authorized local service. The flag does not describe all of those resources. The review must identify what privilege could be newly obtained through execution and what authority the process possessed before that transition.
The trust-boundary mechanism
The Linux kernel documents no_new_privs as preventing exec from granting privileges unavailable without that execution. It is inherited across process creation and execution and cannot be unset after being enabled. The same documentation explicitly distinguishes privilege changes outside exec, including actions an already privileged task can perform and descriptor-based authority transfer. This is an execution transition restriction, not a command that clears all credentials or existing permissions.
Define the control contract
Define a current-authority inventory alongside the no-new-exec-gains requirement. Include effective process identity, capability state, open resources and application credential scope without recording secret values. State which launcher sets the flag and when. If a workload needs further restrictions, identify their mechanisms independently. Treating the flag as a substitute for read-only storage, network policy or per-call authorization leaves those intended boundaries without evidence.
A step-by-step verification
First inspect the launch path and actual worker flag using authorized status. In a harmless fixture, compare the flag across the intended child execution path and confirm it remains enabled. Separately exercise a previously granted synthetic resource to demonstrate that its access is an independent question. Where privilege-gain checks are required, use an approved controlled helper; no live set-user-ID program or production credential needs to be exercised for this article.
Evidence required for acceptance
Acceptance requires the worker observation, inheritance path and separate results for existing-resource access. A passing no_new_privs check supports the stated execution boundary; it must not be automatically relabeled as a successful permission removal. Preserve any capability or application authorization evidence under its own control identity. Verify normal declared work still succeeds through intended permissions, with a specific negative control for each additional restriction the release actually claims.
Failure cases and limits
The flag is useful without being a complete least-privilege certificate. It does not independently prevent every non-exec authority change, close descriptors, remove secrets or validate model output. Conversely, legitimate existing access does not show the flag is broken. The proposed review aligns each claim with the mechanism that can support it, preserving the difference between preventing new execution-based gains and limiting the authority already available to the running worker.
Primary references and related reading
Review current authority separately from the inherited no_new_privs execution restriction. Linux no_new_privs execution boundary; Linux no_new_privs attribute and observation.
The proposed investigation of no new privs existing authority boundary is a proposed control review; no live security test was executed. Related reading: Operation not permitted in a GPU container: checking seccomp; Read-only container will not start: where to allow temporary and cache writes.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.