Secure AI fails when getting work done requires bypassing the controls

The difficult AI-security decision in 2026 is how to let engineering teams move quickly without making bypasses the easiest way to finish their work. At tech-industry events, the recurring question is: “How can we use AI at scale in our engineering teams while managing the risks?” Overgovernance can preserve safety while slowing delivery; undergovernance can preserve speed while exposing the business. Neither produces the operating model that cybersecurity leaders, engineering leaders, L&D teams, and engineers need.

That operating model starts where engineers use AI. Secure prompt hygiene means keeping API keys and secrets out of prompts, along with personally identifiable information (PII), customer data, and proprietary algorithms. Engineers still put sensitive information into prompts, so training becomes part of the control system. Teams need AI-best-practice training because a policy has little effect when people cannot apply it in everyday work.

Safe inputs are only the first boundary because useful AI also needs access to the systems where work happens. Governance has to constrain risky behavior strongly enough to matter while remaining usable for ordinary engineering work. Permissions provide the clearest test: an agent needs access to real systems to complete useful tasks, and every additional permission changes what it can damage or expose.

Least privilege has to survive contact with the engineering workflow

Agent permissions require engineers to make several connected decisions: which tools an agent may use, what data it may read, what actions it may perform, where those actions are permitted, and how long its access should last. Each dimension needs deliberate limits. Zero trust and the Principle of Least Privilege (PoLP) provide established security principles for doing that by giving the agent the minimum access needed for a task and explicitly controlling that access.

Those boundaries come under pressure once the agent starts working. A tightly scoped agent can reach the middle of a task and fail because it lacks a permission it needs, at which point widening access may be the fastest way for an engineer to resume work. The security issue is also a workflow-design issue because repeated blocks create an incentive to broaden permissions. Teams designing agent access have to account for that human response.

Broader permissions increase the consequences of error or compromise. An agent with excessive access could introduce breaking errors into products and services, delete data or other resources, or be hijacked by a malicious actor and used to cause business damage. Those outcomes depend directly on the tools, data, actions, locations, and time periods available to the agent. Permission scope determines how far a failure can propagate.

Limiting that propagation requires PoLP to remain usable under real engineering conditions. Engineers have to understand permission scoping well enough to grant the access needed for a task while preserving meaningful boundaries, and systems should make those decisions manageable as work changes. Once many engineers and agents face the same decisions, reusable controls can carry some of that work across multiple workflows.

Okoone experts
LET'S TALK!

A project in mind?
Schedule a 30-minute meeting with us.

Senior experts helping you move faster across product, engineering, cloud & AI.

Please enter a valid business email address.

Make safeguards part of the architecture

Reusable controls matter because asking every engineer to recreate the same safeguards wastes effort and makes omissions more likely. Agentic guardrails move some repeated judgment into the system. These safeguards encode behaviors the organization has already decided to constrain, giving engineers established boundaries within which agents can operate.

A public-facing AI tool, for example, can receive a prompt injection in which a malicious user asks it to help build a bomb. Guardrails can prevent that request from being executed. Engineering teams can also build safeguards directly into the agents they deploy, so control over governed behavior does not have to reside exclusively with the AI vendor.

Different guardrails address different parts of agent behavior. Relevance classifiers keep an agent within its intended scope, while safety classifiers detect unsafe inputs such as prompt injections and malicious instructions. PII filters detect and remove personally identifiable information, and moderation can flag toxic or inappropriate material. Tool safeguards operate where an agent takes action by assessing risks associated with available tools and dynamically approving or restricting what the agent attempts to do.

Those controls become harder to maintain as an organization uses or delivers several AI solutions. Separate copies of PII filtering, prompt guardrails, and safety classifiers force engineers to find and update each implementation when a control changes. Repeated maintenance consumes engineering time and increases the chance that one implementation will miss an update, creating a reason to centralize common enforcement.

LLM and Model Context Protocol (MCP) gateways provide a shared enforcement point. MCP is a protocol for connecting AI systems to external tools and data, and a gateway can act as middleware between AI agents such as Claude and MCP servers. Centrally maintained controls can then be applied as traffic passes through the gateway, allowing a prompt guardrail, PII filter, or safety classifier to be updated at the shared layer.

The shared layer changes the engineering workflow as well as the maintenance burden. Once a gateway is implemented, every AI-assisted action an engineer performs can be routed through that process, making governance part of the path the work already takes. The gateway may also reduce context bloat, the accumulation of unnecessary material supplied to a model, which can reduce token use. That efficiency matters because security infrastructure is easier to sustain when it also reduces avoidable operational overhead.

The shared layer still requires engineering work of its own. Leaders have to make the explicit build decision, and the organization needs engineers with the skills to build, deploy, and manage the gateway. Centralized safeguards move repeated per-tool security work into shared infrastructure, while responsibility for designing and operating that infrastructure stays with the engineering organization.

Traceability, third-party vetting, and sandboxes make safe workflows usable

Shared infrastructure governs execution, but organizations also need evidence of how AI contributed to engineering decisions. That requirement matters particularly in healthcare, finance, and government, where software may face compliance scrutiny. If the reasoning behind an engineering decision existed only in an AI chat window that deleted itself months earlier, an audit can expose a basic evidence gap: the team may no longer be able to show why the decision was made.

That evidence gap makes auditable, traceable agentic workflows part of the control model. Spec-Driven Development, an approach that uses an explicit specification to guide development work, can create a more persistent record and improve auditability when teams later need to reconstruct decisions. AI use then becomes part of an inspectable engineering workflow, with critical decision evidence preserved beyond transient conversations.

Lifecycle control also applies when teams extend what their AI systems can do. Plugins, extensions, and MCP servers can increase the capabilities of otherwise limited AI tools, but they also introduce third-party security exposure. Before deploying an addition across a team, engineers need to evaluate its security and capability. Teams also need training that makes this evaluation a deliberate deployment step.

Controlled extension leads to a similar need for controlled experimentation. Sandboxes are secure virtual environments, including terminals, code editors, and cloud consoles, where engineers can practice, learn, and experiment under defined conditions. An engineer can develop a skill in a lower-pressure setting, focus on an exercise without installing software, or test a tool without adding it to the local environment. Experimentation remains useful because mistakes are contained in a practical environment.

That containment can cover financial exposure as well as software risk. Third parties may provide these sandboxes through subscriptions, which can contain some financial risks of experimentation. An engineer trying an AI model directly in AWS, for example, could inadvertently generate a large compute bill. A controlled sandbox reduces the chance that learning and exploration turn into a large business expense while still giving engineers room to experiment.

Infrastructure does not inherit the engineer’s accountability

Containing experimentation still leaves engineers responsible for what AI produces. At volume, unsupervised AI tools can create security and business risks, so teams have to decide when and how generated output should be reviewed. Safety, governance, and oversight remain individual engineering responsibilities alongside the architectural controls that help people apply those responsibilities consistently.

That responsibility requires specific evaluation skills. Engineers should understand human-in-the-loop (HITL) evaluation, in which people participate in reviewing or deciding on AI output, as well as LLM-as-a-Judge, where a language model evaluates another model’s output. They also need to know which use cases are appropriate for AI, which are inappropriate, and where the tools’ limitations affect the reliability of a decision.

Those evaluation skills also support explainability. Engineers remain responsible for AI-related decisions and for explaining them, even when guardrails, gateways, and automated evaluation participate in the workflow. The same engineer or engineering organization still has to scope permissions, assess a plugin or MCP server, evaluate generated output, and decide whether an AI tool belongs in a particular use case.

Because those judgments remain human responsibilities, L&D teams need to make them teachable and repeatable, while engineering organizations need people who can construct and operate guardrails, gateways, and related governance systems. The eight practices form a useful 2026 readiness baseline by adapting established disciplines to AI workflows. The practical test is whether secure behavior remains workable during normal engineering work, so finishing legitimate work does not routinely depend on bypassing the controls.

Pluralsight offers a 6-minute AI Readiness assessment intended to measure an engineering team’s current AI proficiency, identify capability gaps, and provide improvement recommendations. As a technology-skills training provider, Pluralsight benefits commercially when organizations invest in the AI capabilities its assessment and related material recommend. That material includes “8 AI skills engineering teams need in 2026,” “The 5 AI tools modern software engineers are using in 2026,” and “Why your organization’s cloud maturity is tied to your AI maturity.” These practices and examples provide a baseline for comparison.

That training baseline can help organizations identify skills to develop, but infrastructure still needs people to encode and operate the resulting controls. Tooling can enforce decisions once they are encoded, while engineers and leaders continue to decide what the boundaries should be and how to handle situations the controls do not settle. Their accountability persists across permission scoping, third-party evaluation, generated-output review, and the operation of the shared systems through which AI work runs.

Key executive takeaways

  • Keep secure AI usable: Engineering leaders can reduce risky workarounds by designing AI controls around real workflows. Secure prompt practices and least-privilege permissions set boundaries while preserving access needed to complete legitimate work.
  • Build safeguards into shared infrastructure: Platform and security teams can centralize guardrails, PII filtering, safety classifiers, and tool controls through LLM and MCP gateways. Shared enforcement reduces duplicated security work and makes controls easier to maintain consistently.
  • Preserve evidence and contain experimentation: Engineering organizations can improve auditability by keeping durable records of AI-assisted decisions, vetting third-party extensions, and providing sandboxes for experimentation. These controls limit security and financial exposure while giving engineers practical environments to learn.
  • Keep accountability with engineering: Engineers remain responsible for evaluating AI output, explaining AI-assisted decisions, and choosing appropriate use cases. L&D and engineering leaders can support that responsibility with training in human-in-the-loop review, LLM-based evaluation, permission scoping, and AI limitations.

Alexander Procter

September 29, 2026

9 Min

Okoone experts
LET'S TALK!

A project in mind?
Schedule a 30-minute meeting with us.

Senior experts helping you move faster across product, engineering, cloud & AI.

Please enter a valid business email address.