Look for two signals: re-approval when executable config changes, and process visibility when those configs run. If a folder-open task, hook, or install script can still spawn a shell without telemetry or review, the control is not working. Effective governance means the trust decision follows the change, not just the original approval.
What “under control” means for config-driven execution
Config-driven execution is under control only when a change to executable configuration forces a fresh trust decision and leaves a visible trail when the resulting action runs. That matters for anything that can start code indirectly, including folder-open handlers, hooks, install-time actions, scheduled jobs, and other “looks like config, behaves like execution” paths.
The key distinction is between approved state and executable state. If the original approval survives a later config change without re-review, or if runtime activity happens without telemetry, you have governance on paper but not control in practice.
For teams that want a practical test, the question is not whether the config was ever approved. The question is whether the system can prove, after each material change, who re-approved it and whether the executed process is observable enough to investigate unexpected behaviour.
How to tell whether the control is working
Look for two outcomes at the same time: the change that affects execution triggers re-approval, and the actual launch of the process is visible in logs, alerts, or endpoint telemetry. If either side is missing, the control is incomplete.
A strong signal of control is that executable configuration is treated like code with a changed trust boundary. A folder-open task that now spawns a shell, a hook that now reaches a command interpreter, or an install script that now starts a privileged process should not remain covered by an old approval just because the parent file or package was previously trusted.
Visibility matters because the dangerous part is often not the config object itself but the action it causes. If a system can alter behaviour at runtime and security teams cannot see that execution event, then the review process may be sound while the operational control is not.
In practice, good control shows up as three things working together: change detection on the executable config, a gate that forces re-approval after meaningful edits, and logging that ties the resulting execution back to the change record. That gives teams evidence that trust followed the modification, not merely the first approval.
Where this usually breaks down
The common failure is stale trust. A configuration object gets approved once, then later gains a shell launch, helper command, or redirect that changes its effect without re-authentication of the decision. That is a governance gap because the security meaning of the file has changed even if the file format has not.
Another failure is silent execution. Security tools may see the file write or installation event, but not the spawned child process or the privilege context in which it ran. Without that second layer, a malicious or accidental change can slip through as “normal configuration activity.”
Teams also underestimate how often control breaks at the boundary between application behaviour and operating-system behaviour. If the config controls execution but monitoring only covers the app layer, the real decision point can disappear from view.
Risk and Threat Considerations
Config-driven execution becomes risky when a trusted configuration channel can be used to start code, alter privilege, or pivot into a shell without a new approval event. That creates a stealthy path for abuse because attackers, or simply mistaken operators, can hide execution inside ordinary-looking configuration changes.
Failure mechanism: A change to a config file, hook, or install-time script modifies behaviour after the original approval, but the system does not re-evaluate trust or record the resulting process launch. The control fails when execution is possible without a fresh decision and without process-level visibility.
Impact: Security teams lose the ability to distinguish legitimate automation from unauthorized code execution, which can lead to privilege abuse, persistence, and delayed detection of compromise.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | CM-3 — Configuration Change Control | Executable config changes need formal review before runtime effects change. |
| AU-12 — Audit Record Generation | Process visibility depends on generating records when configs launch code. | |
| SI-4 — System Monitoring | Monitoring must detect suspicious execution spawned from trusted config. | |
| Recommendation — Require change review and approval before config changes can alter execution paths. Generate audit records for config-triggered process execution and child launches. Monitor for unexpected process creation and execution from config-driven paths. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Control depends on governing configuration changes that alter execution behavior. |
| CIS-8 — Audit Log Management | The test needs logs that show when executable config actually runs. | |
| Recommendation — Harden and track configuration changes that can change executable behaviour. Ensure logs capture config-triggered execution and support review after changes. | ||
Practitioner Guidance
What to verify: Confirm that any change to executable config, not just the first introduction of the file, triggers a review or approval step before it can affect runtime behaviour. If a change can alter commands, handlers, or child-process spawning, treat it as a security-relevant change.
What good looks like: You can trace the path from config change to runtime execution, with a reviewer, timestamp, and alertable execution event all attached to the same activity. If you cannot show that chain, the control is not yet trustworthy.
Practitioner takeaway: The control is real only when trust is re-established at the moment execution meaningfully changes, and when the execution itself is visible enough to investigate after the fact.
Related resources from NHI Mgmt Group
- How can security teams tell whether agent access is actually under control?
- How can security teams tell whether credential storage is actually under control?
- How can security teams tell whether identity shortcut paths are actually under control?
- How can security teams tell whether Exim exposure is actually under control?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org