TL;DR: More than 70% of collected open-source applications were not usable as training environments, with only 25% fully functional out of the box and the rest failing at build, startup, setup, or runtime verification, according to Novee. The finding shows that deterministic environments, not model size, are the hidden dependency in reinforcement learning for security AI, where broken infrastructure produces broken signals.
At a glance
What this is: This article argues that training security AI depends on deterministic, fully functional environments, and finds that most collected open-source apps were broken or incomplete.
Why it matters: It matters because AI and NHI programmes rely on trustworthy runtime conditions, and broken training or test environments can distort both agent behaviour and governance decisions across identity and security controls.
By the numbers:
- More than 70% of the open-source applications we collected for training didn’t actually work out of the box.
- Only 25% of the applications were fully functional out of the box.
- Current coverage: more than 80% of collected apps reach verified state.
👉 Read Novee's analysis of why deterministic training environments matter for security AI
Context
AI training breaks down when the environment is not deterministic. In security use cases, that matters because the model is not just learning language or code patterns. It is learning how to act inside systems whose state, authentication flow, and data dependencies must be stable enough to produce reliable signals. For AI agent identity and NHI governance, the key issue is that the runtime environment becomes part of the control plane.
Novee’s article shows a common gap between described infrastructure and operational reality. Open-source applications may look healthy from the outside while still failing to initialize data, complete setup, or produce meaningful responses. That is atypical only in the sense of scale, not in pattern. Many security and identity programmes encounter the same mismatch when they assume a configured system is also a governed one.
Key questions
Q: What breaks when AI training environments are not deterministic?
A: Training breaks because the model cannot distinguish real behavioural signals from noise caused by changing setup, dependency drift, or incomplete initialization. Reinforcement learning depends on repeatable state and identical resets. Without that, the model learns to cope with broken infrastructure rather than to reason reliably about security tasks.
Q: Why do broken environments matter for AI and identity governance?
A: They matter because the environment is part of the trust boundary. If the system used to train or validate an AI agent is unstable, every decision about access, tool use, or task completion inherits uncertainty. That weakens governance over both the model and the identities it may interact with.
Q: How do security teams know whether a training environment is actually usable?
A: They know by proving that it starts from scratch, initializes data correctly, returns real application content, and survives a full verification cycle without hidden manual intervention. Process health alone is not enough. Teams need functional evidence, not just container uptime or optimistic status flags.
Q: What should teams do when AI systems claim they have fixed a broken environment?
A: They should validate the result with an independent deterministic rebuild, full-stack startup checks, and content verification before accepting the fix. Any self-reported success from the same system that made the change must be treated as provisional until a separate check confirms the environment is truly working.
Technical breakdown
Why deterministic environments matter for reinforcement learning
Reinforcement learning depends on repeatable state, clear reward signals, and identical reset conditions. If a training target changes between runs, the agent cannot distinguish skill from noise. In security environments, that means build drift, hidden setup steps, and unstable dependencies all corrupt the learning loop. A model may appear to improve while actually learning how to cope with broken systems rather than how to exploit or defend real ones.
Practical implication: treat environment reproducibility as a security requirement, not a DevOps preference.
Why health checks are not the same as functional verification
A container can report healthy while the application itself is unusable. Process liveness checks only prove that a service is running, not that databases are initialized, endpoints return real content, or authentication paths work correctly. Functional verification goes further by testing actual queries, real responses, and clean startup behaviour. For training AI or testing controls, that difference determines whether the result is evidence or false confidence.
Practical implication: add service-specific validation to every environment that will train or test security automation.
How setup wizards and hidden human steps distort automation
Many applications assume a human operator will finish first-run setup, complete migrations, or solve CAPTCHA challenges. That is manageable in production support, but it creates a structural mismatch for automation and AI training. The environment looks available yet remains incomplete until manual steps are finished. In agentic systems, those hidden steps can also create governance gaps because the system state depends on undocumented human intervention.
Practical implication: remove manual setup dependencies from any environment used for AI training or controlled testing.
Threat narrative
Attacker objective: The objective is not direct exploitation but to produce AI models whose behaviour is trustworthy enough to operate against real targets without using customer data.
- Entry occurs through broken or incomplete open-source applications that look deployable but fail at startup, setup, or runtime.
- Escalation happens when the training pipeline accepts healthy status as proof of a working system and begins learning from unstable environments.
- Impact is a degraded agent that learns noisy or incorrect behaviour, producing unreliable security reasoning and misleading validation results.
NHI Mgmt Group analysis
Environment integrity is now a security control for AI systems. When a model learns from unstable or partially initialised systems, the resulting behaviour is not just lower quality, it is governance failure. Security teams should treat reproducible environment state as part of the trust boundary for AI training, testing, and agent validation.
Deterministic reset is the difference between training and drift. If every episode does not begin from the same verified state, reward signals lose meaning and model behaviour becomes non-comparable across runs. That creates a blind spot for AI security programmes because the system may look controlled while quietly absorbing randomness from the environment.
Verification must be independent of the system being fixed. Novee’s approach reflects a broader control principle: self-assessment is never enough when the system can claim success while still being broken. For agentic AI and NHI governance, this is the same reason independent validation matters for secrets handling, access review, and runtime authorisation.
Human setup steps create a hidden identity gap in automated environments. When setup wizards, manual migrations, and operator-only actions are required, the environment depends on an implicit human identity to reach a valid state. That matters for AI and identity programmes because governance breaks when the true actor completing setup is not the actor assumed by the control model.
Environment breakage is a form of AI governance debt. The article names a pattern that many teams understate: the cost of preparing reliable training grounds accumulates outside the model itself. If infrastructure is not deterministic, every downstream policy, evaluation, and runtime control inherits that weakness. Practitioners should manage it as a first-order risk, not a tooling nuisance.
What this signals
Environment reproducibility is becoming a governance signal for AI programmes. If teams cannot prove that training, evaluation, and deployment environments are identical from run to run, they cannot reliably defend model behaviour or access decisions. That is especially relevant where AI systems act on credentials, tokens, or service accounts, because the surrounding environment can distort how those identities are created, used, and validated.
Hidden setup steps create a control gap that traditional change management often misses. Manual migrations, wizard-driven configuration, and one-off fixes may look harmless, but they leave runtime state dependent on human intervention. For identity-heavy programmes, that is a warning that lifecycle controls, not just infrastructure controls, need to cover initialization and verification.
AI governance debt accumulates outside the model itself. Teams can spend heavily on model tuning and still fail if the training estate is non-deterministic. The practical response is to bring environment state, reset logic, and verification evidence into the same governance conversation as access, secrets, and workflow control.
For practitioners
- Make environment verification part of model readiness checks Require clean rebuilds, service-specific health validation, and content checks before any training run or red-team simulation is accepted as valid. A green container status is not enough when the underlying application state is incomplete or inconsistent.
- Remove hidden human steps from automated training estates Scan for setup wizards, manual migrations, and first-run configuration steps that assume an operator will finish deployment. Encode those actions into the build or startup path so the training environment starts from a known state every time.
- Treat self-reporting AI success as untrusted output Use a separate deterministic verifier to confirm that the environment works after any AI-driven repair or adjustment. The system that claims to have fixed the problem should not be the same system that certifies the result.
- Track environment drift as part of AI governance Version control build inputs, dependency sources, and initialization scripts so training environments can be reproduced across thousands of resets. Drift in the environment can be as damaging as drift in the model.
Key takeaways
- The core risk is not model weakness alone but environment unreliability, which can corrupt training and validation signals before the model ever reaches production.
- Novee’s data suggests that broken or incomplete applications are common enough to make deterministic verification a prerequisite for security AI, not an optional hardening step.
- Practitioners should govern training estates like any other high-trust system by proving state, checking functionality, and rejecting self-certified success.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST AI RMF | GOVERN | AI training governance depends on accountable, verified environments. |
| NIST SP 800-53 Rev 5 | CM-2 | Configuration baselines matter when environments must reset identically every run. |
| NIST CSF 2.0 | PR.DS-1 | Verified environment state supports trustworthy data handling during AI training. |
| OWASP Agentic AI Top 10 | The article addresses agent behaviour in controlled environments and verification risk. | |
| MITRE ATT&CK | TA0002 , Execution; TA0004 , Privilege Escalation | Broken builds and startup paths can enable unintended execution and control-path abuse. |
Map environment failure modes to execution and escalation points when assessing training pipeline exposure.
Key terms
- Deterministic Environment: A deterministic environment produces the same starting state, dependencies, and behaviour every time it is rebuilt. In security AI, that consistency is what makes training signals trustworthy, because the model can be evaluated against repeatable conditions instead of shifting infrastructure noise.
- Functional Verification: Functional verification proves that a system does more than run. It checks that applications initialize correctly, data exists, endpoints return valid responses, and teardown leaves no residue. For AI training estates, this is the control that separates a live container from a usable environment.
- Environment Drift: Environment drift is any unplanned change in build inputs, dependencies, configuration, or runtime state that makes one instance behave differently from another. It undermines model training, reproducibility, and confidence in validation results because the system is no longer testing the same conditions each time.
- Training Estate: A training estate is the collection of systems, containers, data sets, and controls used to prepare or validate an AI model before production. Its security and reliability determine whether the model learns from realistic behaviour or from broken infrastructure, hidden setup steps, and unstable assumptions.
What's in the full article
Novee's full blog post covers the operational detail this post intentionally leaves for the source:
- Step-by-step examples of how the Fixer converts broken open-source apps into fully functional containers
- Detailed verification logic for database, HTTP, and teardown checks across multiple frameworks
- Implementation patterns for handling setup wizards, CAPTCHA, and silent startup failures
- Examples of the specific build and entrypoint changes used to make environments deterministic
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and identity lifecycle controls. It is designed for practitioners who need to connect identity governance to broader security operations and AI-adjacent risk.
Published by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org