{
  "id": 22741769,
  "title": "AI Agent Security: Permissions, Testing and Costs",
  "url": "https://urgent.news/2026/11/30/ai-agent-security-permissions-testing-and-costs",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-30T07:00:00.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mecanik-dev/ai-agent-security-permissions-testing-and-costs-15f5"
  },
  "original_language": null,
  "account": "AI agent security is a crucial business decision when an assistant has the ability to modify records, send messages, or trigger actions in other applications. To ensure the security of AI agents, it's essential to limit their data access and available actions, enforce authorization in connected applications, and require informed approval for significant changes. Thorough testing should be conducted to identify potential weaknesses and vulnerabilities before expanding access.\n\nWhen commissioning an integration, UK teams should ask what actions the agent is permitted to perform when its judgment is incorrect. The guide suggests a practical scope for a controlled pilot, outlining the evidence to request from a supplier and the associated costs. It's important to note that this guide does not guarantee an attack-proof system or provide a specific customer deployment example.\n\nBegin by defining the AI agent security around a specific business task. For example, you might start with a narrow workflow such as preparing a support reply or proposing a CRM update. Clearly outline the source records, intended user, and final destination. Separate reading, drafting, and executing into distinct stages, ensuring access to customer records does not imply permission to export them, and drafting a response does not imply permission to send it.\n\nDetermine what aspects of the integration are out of scope for the pilot. Examples of separate decisions include handling refunds, account permission changes, and bulk exports. A supplier should be able to demonstrate where these restrictions are enforced.\n\nAssign a named owner for the workflow who can make decisions about exceptions. Without this person, technical teams may quietly inherit business decisions regarding customer communications or record changes. Provide the workflow with an authorized outcome and its boundaries in a brief, rather than asking for an agent capable of using every available tool.\n\nWhen dealing with incoming content, treat it as evidence, not instructions. OWASP's prompt-injection guidance distinguishes direct manipulation through a prompt from indirect manipulation through external material, such as files and websites. Retrieval and fine-tuning do not fully eliminate this vulnerability. Connecting an agent to company documents does not make every retrieved sentence trustworthy. Always label external content and validate proposed outputs, but do not consider these measures as a complete defense.\n\nDesign the integration so that a misleading answer has limited authority. A model suggesting an inappropriate action should undergo an independent access check before any business system changes occur. Apply permissions to both the user and the record. The connected application should verify both the identity making the request and the specific record involved. An agent acting for a support colleague should not automatically inherit an administrator's access.\n\nImplement an action gateway between suggestion and execution. This application code checks proposed operations before calling the destination system, ensuring only approved record identifiers, permitted fields, and valid changes are allowed. Keep credentials in a controlled environment rather than in model-visible instructions. Prefer specific operations, like proposing a note, over general tools that can execute arbitrary commands or contact arbitrary destinations. A smaller interface is easier to inspect and test, and it provides a concrete list of capabilities to approve as the pilot expands.",
  "summary": "AI agent security becomes a business decision when an assistant can change records, send messages or trigger work in another application. A convincing demonstration tells you whether the agent can complete a task. It does not establish whose information it can access, which actions it may take or how your team recovers when something goes wrong. Secure an AI agent by limiting its data access and…",
  "summary_source": "publisher",
  "key_points": [
    "Define AI agent security around specific business tasks like support replies or CRM updates.",
    "Implement action gateway to check proposed operations before executing in connected applications."
  ],
  "editors_take": "Limiting the authority of AI agents protects businesses from errors and unauthorized actions by ensuring that every significant change requires independent verification and human oversight.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}