{
  "id": 22395180,
  "title": "One Permission Policy for Every AI Agent Action: Allow, Hold or Block",
  "url": "https://urgent.news/2026/11/28/one-permission-policy-for-every-ai-agent-action-allow-hold-or-block",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-28T15:49:56.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/bugbountybeyond/one-permission-policy-for-every-ai-agent-action-allow-hold-or-block-4kjh"
  },
  "original_language": null,
  "account": "In a recent lab, AI agents were manipulated using various methods such as a resume, receipt image, poisoned memory, another agent, a web page, and fabricated answers. Each time, the model proposed malicious actions and the app executed them without any restrictions. This lab introduced a single permission policy to control the interactions between the AI model and various tools. The model would propose an action, and the code would decide whether to ALLOW, HOLD (requiring user approval), or BLOCK the action. The decision-making process involved four key questions: the identity of the user, the origin of the data (turn read), whether the action produced side effects, and the risk level of the tool being used. The tools were categorized into four risk tiers: read, write, external, and account, each with its own set of rules. Data could only be sent to approved destinations, and the policy was implemented in code as follows:\n\n```python\nRISK = {\n\"fetch_page\" : \"read\",\n\"remember\" : \"write\",\n\"send_email\" : \"external\",\n\"update_account_email\" : \"account\"\n}\n\ndef decide(tool, args, user, tainted):\nrisk = RISK.get(tool)\nif risk is None:\nreturn \"BLOCK\", \"unknown tool\"\nif risk == \"read\":\nreturn \"ALLOW\", \"read only\"\nif risk == \"account\":\nif args.get(\"customer\") != user[\"name\"]:\nreturn \"BLOCK\", f\"{user['name']} can't change {args.get('customer')}'s account\"\nreturn \"HOLD\", \"account changes need the owner to confirm\"\nif risk == \"external\" and args.get(\"to\") != user[\"email\"]:\nreturn \"BLOCK\", f\"{args.get('to')} isn't an allowed recipient\"\nif tainted:\nreturn \"HOLD\", \"this turn read untrusted content\"\nreturn \"ALLOW\", \"the user asked for it directly\"\n```\n\nWith this policy in place, even a poisoned page could no longer save a fake refund portal or extract order history, and users could not access another person's account. However, legitimate actions like saving preferences and emailing oneself were still allowed. To test the effectiveness of the policy, the lab encouraged users to clone the GitHub repository, install the necessary dependencies, run the vulnerable and fixed versions of the app, and compare the results. The GitHub Actions workflow ensured that the tests were executed on every push and pull request. The lab concluded that placing one permission layer between the model and every tool is crucial for preventing malicious actions, even when the model proposes them.",
  "summary": "In the last six labs, AI agents were tricked by a resume, a receipt image, a poisoned memory, another agent, a web page and their own made-up answers. Every time, the model proposed something bad and the app ran it. This lab gives one agent all of those powers: it reads pages, remembers things, sends email and updates accounts. Then it puts one permission policy between the model and every tool.…",
  "summary_source": "publisher",
  "key_points": [
    "Single permission policy controls AI model-tool interactions",
    "Model proposes actions, code decides ALLOW, HOLD, or BLOCK",
    "Tools categorized into four risk tiers with specific rules"
  ],
  "editors_take": null,
  "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."
}