Back to Resources

Webinar - New Attack Surfaces in AI Coding Security

 

The New Attack Surface of Agentic AI Coding

Featuring Gil Friedman, Backslash Security

Software development teams are rapidly moving from traditional IDE autocomplete tools to autonomous AI coding agents capable of analyzing repositories, executing terminal commands, and interacting with external applications and services.

While these capabilities accelerate software development, they also introduce a new attack surface across developer workstations. AI coding agents can access sensitive source code, credentials, internal systems, and development resources, often operating with permissions inherited from the developer.

In this webinar, Gil Friedman from Backslash Security explores how autonomous AI coding tools are transforming the enterprise security landscape. He examines the architecture of modern agentic AI environments, presents real-world attack scenarios, and discusses practical strategies for securing developer workstations without compromising engineering productivity.

We explore why traditional application and endpoint security approaches need to evolve and how security teams can establish visibility, governance, and runtime protection across the agentic AI ecosystem.

What You'll Learn in This Webinar

  • How the transition from autocomplete to autonomous AI coding agents introduces new enterprise security risks.
  • How LLMs, AI agents, MCP servers, Skills, and Hooks contribute to the agentic AI attack surface.
  • How indirect prompt injection, data exfiltration, and malicious configurations threaten developer workstations.
  • Why traditional endpoint and application security tools struggle to provide sufficient contextual visibility.
  • How security teams can evaluate MCP servers, govern agent Skills, and implement granular access controls.
  • How enterprises can secure AI coding environments without disrupting developer productivity.

Key Takeaways from the Webinar

From IDE Autocomplete to Autonomous AI Coding Agents

Traditional AI coding assistants were primarily designed to provide inline code suggestions within integrated development environments (IDEs). Their capabilities were relatively limited, with developers maintaining direct control over code execution and system interactions.

Modern AI coding agents operate differently. They can analyze entire repositories, read and modify files, execute terminal commands, interact with APIs, and complete complex, multi-step workflows.

This transition transforms developer workstations into active execution environments for autonomous AI agents.

For security teams, the challenge is no longer limited to identifying vulnerabilities in AI-generated code. It also involves understanding and governing the actions that AI agents perform throughout the development process.

Traditional endpoint and application security tools may lack the contextual visibility required to effectively monitor these interactions.

Understanding the Agentic AI Ecosystem and Its Attack Surface

Modern AI coding environments consist of multiple interconnected components. Each component introduces distinct security considerations that organizations need to address.

  • Large Language Models (LLMs): The underlying reasoning engines responsible for processing prompts, interpreting code, and determining potential actions.
  • Autonomous AI Agents: Execution engines that interpret objectives, manage tasks, interact with tools, and perform system-level actions.
  • Model Context Protocol (MCP): A standardized protocol that connects AI agents to local and remote resources, databases, applications, and APIs.
  • Agent Skills: Reusable instructions, scripts, and resources that extend the capabilities of AI agents.
  • Hooks: Event-driven mechanisms that automatically trigger predefined actions during agent workflows, tool executions, or development activities.

Each component introduces potential security risks, including excessive permissions, vulnerable dependencies, malicious instructions, and unauthorized access to enterprise resources.

Securing the agentic AI ecosystem requires visibility beyond the AI model or coding application itself. Security teams must understand how these components interact and what actions they are authorized to perform.

Prompt Injection, Data Exfiltration, and Malicious Configurations

As autonomous AI coding agents gain access to sensitive repositories and local system resources, attackers can exploit the relationships between agents, tools, and external content.

Several attack vectors are particularly relevant to enterprise development environments:

  • Indirect Prompt Injection: Malicious instructions embedded in external documentation, open-source dependencies, pull requests, or issue comments can manipulate an AI agent into performing unauthorized actions.
  • Sensitive Data Exfiltration: AI agents may unintentionally expose API keys, environment variables, proprietary source code, or other sensitive information to external model endpoints or unverified MCP servers.
  • Malicious MCP Configurations: Compromised or improperly configured MCP servers can introduce unauthorized access to local resources and internal enterprise systems.
  • Compromised Agent Skills: Untrusted Skills may contain malicious instructions or executable scripts that expose sensitive data or trigger unauthorized system activities.

Because these actions can occur through legitimate development tools and authenticated user accounts, traditional security solutions may struggle to distinguish malicious agent behavior from routine engineering activity.

Addressing these risks requires security controls that understand the context in which AI agents operate.

Establishing Security Guardrails Across AI Coding Environments

Security teams need to extend existing security practices to cover the tools, permissions, and execution capabilities available to autonomous AI coding agents.

Effective agentic AI security should include several foundational practices:

  • Audit and Vet MCP Servers: Evaluate the security posture, permissions, and potential vulnerabilities of MCP servers before approving them for enterprise use.
  • Inspect Tool Definitions and Prompt Schemas: Review tool descriptions and schemas for suspicious instructions, unexpected behavior, and excessive permission requirements.
  • Pin Tool and Skill Versions: Control the versions of approved tools, Skills, and dependencies to reduce exposure to unauthorized updates and software supply chain compromises.
  • Implement Granular Access Controls: Restrict agent permissions to the directories, APIs, files, and system resources required for approved tasks.
  • Continuously Monitor Agent Activity: Maintain visibility into changes in agent configurations, installed integrations, and runtime behavior.

These practices help organizations reduce their exposure to agentic AI threats while allowing developers to continue using approved tools within established security boundaries.

Centralized Visibility and Runtime Protection Are Essential

Relying exclusively on developer awareness and manual compliance is not a scalable approach to securing autonomous AI coding environments.

Security teams need centralized visibility into active AI agents, connected MCP servers, installed Skills, and their associated permissions across enterprise endpoints.

This visibility should be supported by continuous security assessments, automated policy enforcement, and runtime guardrails capable of identifying and restricting potentially harmful agent behavior.

At Backslash Security, we help organizations gain visibility into their agentic AI environments, assess the security posture of connected tools and integrations, and enforce security policies across developer workstations.

Our approach enables security teams to reduce their agentic AI exposure while supporting the productivity and innovation that autonomous coding tools provide.

Frequently Asked Questions

What is the agentic AI coding attack surface?

The agentic AI coding attack surface encompasses the AI agents, MCP servers, Skills, Hooks, permissions, and connected resources that enable autonomous coding workflows. Unlike traditional coding assistants, autonomous agents can execute commands, modify files, and access sensitive enterprise systems. These capabilities introduce security risks that extend beyond conventional application security and require visibility into the agentic execution environment.

How can security teams maintain comprehensive audit trails for autonomous AI coding activities?

Security teams need contextual audit trails that associate agent-driven actions with the AI agents, tools, and workflows responsible for initiating them. Traditional endpoint logs may record individual processes or commands without identifying the agent or prompt context behind the activity. At Backslash Security, we help security teams establish contextual visibility into agentic activities to support incident investigations, security monitoring, and policy enforcement.

What security risks do third-party MCP servers introduce to enterprise development environments?

Third-party MCP servers can introduce vulnerable dependencies, excessive permissions, insecure communications, and malicious functionality into development environments. CISOs should maintain an inventory of approved MCP servers, evaluate their security posture before deployment, and establish policies governing their access to enterprise resources. Continuous monitoring is also important because server configurations and capabilities can change over time.

How does indirect prompt injection threaten developer workstations?

Indirect prompt injection occurs when an AI agent processes untrusted content containing malicious instructions and interprets those instructions as legitimate commands. In development environments, these instructions can be embedded in source code, external documentation, pull requests, or open-source repositories. A successful attack may result in unauthorized command execution, sensitive data exfiltration, or modifications to local files and configurations.

Can traditional EDR solutions prevent agentic AI coding attacks?

Traditional Endpoint Detection and Response (EDR) solutions provide important protection against malicious processes and suspicious endpoint activity. However, they may lack the contextual understanding required to distinguish legitimate developer actions from unauthorized AI agent behavior. Dedicated agentic AI security controls complement existing EDR capabilities by providing visibility into agent interactions, MCP server activity, and runtime execution.

How can enterprises secure AI coding agents without slowing down developers?

Enterprises can secure AI coding agents without significantly disrupting engineering workflows by combining continuous endpoint discovery, automated security vetting, granular access controls, and runtime guardrails. Rather than imposing blanket restrictions on AI coding tools, security teams can establish policies that support approved applications and integrations while restricting high-risk configurations, untrusted Skills, and unauthorized agent activities.

Explore Our Agentic Endpoint Security Tools and Resources

At Backslash Security, we help organizations discover, assess, and secure the growing agentic AI attack surface across developer workstations and enterprise endpoints.

  • Agentic AI Exposure: Discover AI agents, MCP servers, and Skills operating across enterprise endpoints.
  • MCP Server Security Hub: Assess MCP servers for vulnerabilities, suspicious configurations, and potential security risks.
  • Skills Security Scanner: Evaluate agent Skills for malicious instructions, excessive permissions, and potentially harmful code.
  • Claw-Hunter: Discover OpenClaw deployments and assess their associated security risks.
  • Developer Workstations Threat Model: Explore the attack vectors, privilege boundaries, and security requirements associated with modern AI-powered development environments.

‍