By NHI Mgmt Group Editorial TeamBased on Backslash Security: “Backslash Security Wins 2025 InfoWorld Technology of the Year Award” (December 15, 2025)

TL;DR: AI-assisted and AI-native development now introduces security blind spots across coding agents, MCP servers, LLM workflows, and automated code generation, according to Backslash Security. The governance problem is that traditional application security and testing cadences do not see risks early enough to control AI-driven code creation.


At a glance

What this is: Backslash Security argues that AI-native coding environments create a governance gap because security controls and testing arrive after code generation has already introduced risk.

Why it matters: IAM, NHI, and application security teams need to govern AI coding agents and MCP-connected workflows as part of the development identity plane, not as a downstream code-scanning problem.


Context

AI-assisted development changes who and what can create software artefacts, which means the control problem shifts from code review alone to the identity and permission boundaries around generation, tooling, and execution. In practical terms, the question is no longer only whether code is secure, but whether the systems producing it are governed before insecure actions occur.

This is an NHI governance issue because AI coding agents, MCP servers, and related workflows act with machine identities, delegated access, and tool reach that developers may not fully track. Traditional testing and scanning still matter, but they cannot be the first line of control when the risky action happens during code creation rather than after delivery.


Key questions

Q: How should security teams govern AI-generated code in production environments?

A: Security teams should treat AI-generated code as normal production code with extra provenance risk. Require architectural review, test coverage, static analysis, and approval before merge. Then bind the agent and the build pipeline to least privilege, short-lived credentials, and complete audit logging so implementation speed does not outrun control.

Q: Why do MCP deployments increase security risk in AI environments?

A: MCP increases risk because it connects models directly to tools, data, and systems that can take action. Once a model can file tickets, retrieve customer data, or call APIs, mistakes in authorization or input handling can become real operational events. The protocol is valuable, but security teams must assume that every enabled action expands trust boundaries and attack surface.

Q: What breaks when AI-generated code is only checked after commit?

A: Post-commit controls miss the moment when risky code is created, so secrets, insecure patterns, and policy violations can enter the repository before security ever sees them. That makes audit evidence incomplete and weakens defensibility. The practical failure is timing, because detection after commit cannot prove that policy was enforced at generation time.

Q: Who should be accountable for governing safe use of AI coding tools across the organisation?

A: Accountability should not sit only with CTOs or CISOs. The article argues for clear principles set from the top, with broader organisational involvement in deciding whether AI code generators are allowed, how reviews should work, and what tools are approved. Safe adoption is a cross-functional governance issue, not a single-team preference.


Technical breakdown

Why AI coding environments create identity governance blind spots

AI-native development environments combine coding agents, IDE integrations, MCP servers, and LLM-powered workflows into a control surface that looks like software engineering but behaves like machine-mediated action. The governance challenge is not only code quality. It is the identity and authorisation model behind the tools that generate, modify, and trigger code-related actions. If those components can invoke capabilities, access repositories, or influence build output without explicit governance, risk appears before conventional testing even starts.

Practical implication: Treat AI development tooling as governed machine identity, not just developer productivity software.

How MCP servers expand the software supply chain boundary

MCP servers sit between AI systems and the tools or data sources they can reach, so they become part of the trust chain for code generation. That makes them a supply chain control point, not just an integration detail. If an MCP server is misconfigured, overtrusted, or insufficiently validated, it can steer AI-driven actions toward insecure outputs or expose sensitive development context. In that model, supply chain security includes the behaviour of the protocol layer that connects agents to tools.

Practical implication: Validate MCP server trust, scope, and monitoring as part of software supply chain governance.

Why preemptive guardrails matter more than post hoc testing

Backslash Security’s core message is that risk is introduced during AI-assisted creation, not only in compiled or deployed code. That means secure prompt rules, real-time evaluation, and configuration hardening operate as preventive controls, while testing remains a backstop. The important shift is temporal: security has to intervene at the moment the AI system proposes or performs the action, because waiting until test cycles means the risky decision is already embedded in the codebase or workflow.

Practical implication: Move governance and enforcement upstream to the point where AI systems generate or alter code.


Threat narrative

Attacker objective: The objective is to inject insecure code or unsafe behaviour into the development pipeline before normal security review can stop it.

  1. Entry occurs through AI coding agents, IDE workflows, or MCP-connected tooling that developers use to accelerate software creation.
  2. Credentialed access and trusted integrations let the AI-driven workflow influence code, configuration, or developer actions inside the software supply chain.
  3. Escalation happens when insecure prompts, risky tool calls, or overbroad server access produce vulnerable code or unsafe automation.
  4. Impact lands as insecure application code, weakened supply chain integrity, and security blind spots that conventional testing discovers too late.
  • Hugging Face Spaces breach 2024: Unauthorised access to Hugging Face Spaces may have exposed secrets users stored for AI apps; tokens were revoked and org tokens removed.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

AI-native coding creates a new NHI governance gap: the control problem is no longer only what code is written, but what machine identities and delegated tools are allowed to shape it. AI coding agents and MCP servers are now part of the development trust boundary, which means IAM and NHI governance must extend into the build-and-create phase, not stop at production.

The software supply chain now includes runtime tool governance: when an AI system can call tools, access context, and influence code generation, the supply chain is partly defined by the permissions attached to that workflow. That changes how teams should think about provenance, because insecure output can originate from a trusted internal process rather than a compromised external package.

Preemptive enforcement is the decisive control model: security that waits for testing to detect AI-generated risk is structurally late. The field needs guardrails that act at the point of prompt, tool invocation, and configuration change, because the harmful action is already in motion by the time traditional scanners see it.

Model Context Protocol creates an identity coupling problem: MCP servers are not merely connectors; they concentrate trust between the model, the tool, and the data source. That coupling makes overpermissive access, weak validation, and poor inventory hygiene governance failures, not just integration debt, so practitioners must govern MCP as a first-class identity surface.

AI development security will converge with NHI governance practice: the same discipline that inventories, scopes, monitors, and revokes machine access now has to cover coding agents and their surrounding workflows. The practical conclusion is that AI-native development should be managed with identity lifecycle thinking, not with point-in-time application scanning alone.

What this signals

AI-native development should be treated as an identity domain: the governance question is who or what can act inside the creation workflow, not just whether the resulting code passes review. That shifts responsibility toward inventory, scope control, and lifecycle management for coding agents and MCP-connected tooling.

Security teams should expect AI development governance to converge with NHI practice because the same access questions keep reappearing in a new form. The next control boundary is the one that sits at prompt time and tool invocation time, not only at release time.


For practitioners

  • Inventory AI development identities and tool paths Map every coding agent, IDE integration, MCP server, and automation path that can influence code or build output. Record who owns each identity, what it can access, and which systems can be reached through delegated tool use.
  • Constrain AI prompt-to-action behaviour Define secure prompt rules that block risky or unauthorized actions before the AI system executes them. Focus on repository writes, secret access, dependency changes, and code-generation behaviours that should never be implicit.
  • Validate MCP server trust continuously Treat MCP servers as governed integration points and verify their runtime behaviour, permissions, and reach before allowing them to influence development workflows. Remove any server whose access scope cannot be justified or monitored.
  • Shift security checks to creation time Add controls that evaluate AI-assisted changes as they are generated, not only after code is committed or scanned. Use this to catch unsafe patterns while the workflow is still reversible.

Key takeaways

  • AI-native coding introduces a governance gap because machine-mediated creation can introduce risk before conventional testing sees it.
  • MCP servers, coding agents, and LLM workflows expand the software supply chain into a machine-identity control problem.
  • The practical response is to govern AI development identities and enforce controls at creation time, not after code is already written.

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, OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI02 — Tool MisuseAI coding agents can misuse connected tools and workflows during code creation.
Recommendation — Restrict tool reach and prompt-to-action permissions for AI coding workflows.
OWASP Non-Human Identity Top 10NHI-03 — Vulnerable Third-Party NHIMCP servers and related integrations behave like externally governed non-human identities.
Recommendation — Inventory and validate third-party AI tooling as governed NHI dependencies.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article centers on controlling permissions for AI development identities and integrations.
Recommendation — Review and limit entitlements for AI development workflows before they generate code.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementUnsafe AI workflows can expose credentials and extend reach across development systems.
Recommendation — Map AI workflow abuse paths to credential access and lateral movement detection.

Key terms

  • AI Coding Agent: An AI coding agent is software that writes, edits, reviews, or tests code with limited human prompting. It operates as an agentic system that can plan actions, call tools, and modify development artifacts, so its identity, permissions, and audit trail must be governed like any other privileged software actor.
  • Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.
  • AI Development Trust Boundary: The AI development trust boundary is the set of systems, identities, and permissions that determine what an AI-assisted workflow can see and do. It extends beyond the model itself to the IDE, server, prompt layer, and connected tools that influence code creation.
  • Preemptive Guardrail: A preemptive guardrail is a control that blocks or constrains unsafe action before it happens, rather than detecting it later. For AI-native coding, that means enforcing policy at prompt time, tool invocation time, and configuration-change time, not only after code review.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 7, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org