← Back to Blog
AI Agents

AI agent security: risks, guardrails and approvals

AB
Neotask Team
November 29, 2026
8 min read

AI agent security is about limiting what an agent can do with the access you give it: which actions run without a person, what outside content can make the agent do, where its credentials are kept, how much it can spend, and whether you can see afterwards exactly what it did.

The risks

An agent is a model that takes actions with real tools, which brings risks a chatbot never had.

  • Prompt injection. Text in an email, web page or file is written to steer the model. Prompt injection is the first entry in OWASP's 2025 Top 10 for language model applications, which notes that indirect injections "occur when an LLM accepts input from external sources, such as websites or files" (OWASP LLM01:2025, read November 2026).
  • Too much access. An agent with write access to an inbox or a database can send or change anything that access allows.
  • Irreversible actions. A deleted record, a sent email or a payment can't be taken back.
  • Leaked credentials. API keys and sign-in tokens are worth stealing.
  • Runaway cost. A loop that keeps calling a model or a paid API keeps spending.
  • No record. If you can't see what happened, you can't fix it or prove it.

For prompt injection, OWASP's advice comes down to two controls: give the model "the minimum necessary" access, and put "human-in-the-loop controls" on privileged operations.

Risk levels and approval modes

Neotask gives every action one of four risk levels:

LevelWhat it covers
LowRead-only work: queries, searches, screenshots
MediumCreating, updating and writing, and all mouse and keyboard input on a computer
HighDeleting, sending, running commands and transferring
CriticalIrreversible or destructive operations

Each company's approval mode decides what happens at each level:

  • Strict: low-risk actions run. Medium and high-risk actions go to Auto review. "Critical" actions ask you first.
  • Balanced: low and medium-risk actions run. Auto review checks everything riskier before it runs.
  • Autonomous: every level runs on its own, except the fixed list below.

Auto review checks each riskier action against what you asked for. If the action clearly matches your request, it runs; if not, you are asked. If Auto review asks you to decide 3 actions in a row, or 20 in one session, it pauses for that session, and those actions come to you directly until you resume it.

Some actions ask a person in every mode, Autonomous included: payments, commands the destructive command guard catches, operating system security prompts, public board links, password managers and typing into terminals (unless you allow them), and anything you have marked "Always ask". Actions you mark "Never" are refused in every mode. You can also let an action run without asking after you have approved it a set number of times in a row, though never a "Critical" one.

If you are unsure where to start, the docs suggest Balanced. Our post on human in the loop AI covers how to widen an agent's freedom step by step.

A high-risk approval in the Neotask desktop app: the agent asks to run a command listing overdue wholesale invoices

Outside content is treated as data, not instructions

Before the model sees content from outside, such as an email, a webhook or a web page, Neotask's agent runtime wraps it in markers that label it untrusted. Each wrapper carries a random ID so a page can't fake its end, and the label warns the model that the content may contain social engineering or prompt injection. The runtime's rule is that outside content never goes straight into the agent's instructions.

Neotask also looks for patterns that suggest an injection attempt, but it logs them rather than blocking the content. No tool can promise a model will never be fooled. In Strict and Balanced mode, a fooled agent's riskier actions still have to pass Auto review or a person, and in every mode payments and the fixed list still come to you.

Where credentials are kept

  • On Neotask's servers: API keys, OAuth tokens and app secrets are encrypted with AES-256-GCM. The encryption keys are versioned, so they can be rotated without losing access to older secrets.
  • On your computer: the desktop app keeps app credentials in an encrypted file. Its key comes from the device plus a random value sealed in the operating system's keychain: Keychain on macOS, DPAPI on Windows, and libsecret or KWallet on Linux. Without a system keychain, the app keeps those secrets in memory only.
  • Account boundaries: every request to Neotask's servers is tied to your account through a verified sign-in token, never through an account ID the client sends.

Coding agents

Coding agents run shell commands, which raises the stakes. In Neotask's coding mode, work inside the project runs. Commands outside the project, network access, git push and pull requests, package installs and publishing, destructive commands and anything the system can't classify ask you first.

A destructive command guard runs before the approval step on every agent's commands. It blocks a short list outright, including deleting outside the workspace and erasing or formatting a disk, and sends other dangerous categories, such as database and cloud commands, to approval. None of those categories can be switched off entirely. The coding browser is limited to your local development server, and the desktop agent gateway listens only on your own machine by default.

Spending

You can set a daily budget for model usage. When it is reached, agents stop and resume the next day. Automatic top-ups for scheduled work never go past what is left of that day's budget.

Agent cards, which would let agents pay merchants, are still being built and are switched off. The code behind them requires a person's approval for every charge in every mode. Each card is used once and tied to that one approval, and spending is capped at the lower of your limit and your balance.

A record of what happened

Every run leaves an entry in the company's activity feed, including the tools it used and who or what approved each action: you, a rule you set, the mode, Auto review or a fixed check. Behind that, Neotask's audit log only accepts new events, and existing ones can't be edited or deleted. Each event is chained to the one before it with a hash, so a removed or altered row breaks the chain. Audit events are kept for 2 years in fast storage and 7 years in total by default.

Compliance status

As of November 2026, from the trust page and the compliance docs:

  • SOC 2: controls are built to SOC 2 Type II criteria, but they are not yet audited or certified.
  • ISO/IEC 27001: aligned to the 2022 standard, not certified.
  • HIPAA: a HIPAA mode exists but stays off until its requirements are met: a signed Business Associate Agreement and a dedicated, isolated U.S.-region environment.
  • Training: Neotask doesn't use your content to train its own models and doesn't sell it.
  • Subprocessors: the subprocessors list names 38 companies and was last updated on November 10, 2026.

According to the trust page, deleting your account revokes connected OAuth tokens, removes stored files and cancels payment-processor records.

What Neotask doesn't protect against

  • Autonomous mode. Apart from the fixed list, everything runs without asking.
  • Rules that skip asking. "Always approve" rules, and actions you have approved enough times in a row, run without a person.
  • Your connected apps' own permissions. An app grants whatever scopes you approve on its sign-in screen. Neotask's approval rules sit on top of those scopes and don't narrow them.
  • Model providers. Content an agent sends to a model provider is processed under that provider's terms.
  • The guard's own program. The destructive command guard needs its program installed. Without it, only a short built-in list of catastrophic commands is still blocked.
  • Local settings. The gateway listening only on your machine is a default, and a setting can change it.

A starting setup

  1. Start new companies in Balanced mode.
  2. Mark apps an agent should never touch as "Never".
  3. Mark actions that reach customers, such as sending email, as "Always ask" until you trust them.
  4. Set a daily budget before you schedule any work.
  5. Read the activity feed for the first week, and loosen rules only for actions you have approved many times.

Frequently asked questions

What is the biggest security risk with AI agents? OWASP ranks prompt injection first in its 2025 list for language model applications. It does most harm combined with broad access: an agent that can be steered by text it reads, and that has wide permissions, can be made to act against you.

Can an AI agent spend money without approval in Neotask? Not on payments: payment actions ask a person in every approval mode, including Autonomous. Model usage is different. Agents spend it without asking for each charge, up to any daily budget you set.

Is Neotask SOC 2 certified? No. Its controls are built to SOC 2 Type II criteria but have not been audited or certified yet.

Where does Neotask store my API keys? Encrypted with AES-256-GCM: on Neotask's servers for cloud connections, and in an encrypted file sealed with your operating system's keychain on the desktop.

Deploy AI Agents in Minutes.

Neotask gives you the orchestration layer to build, deploy, and manage AI agents at scale. Voice-controlled, multi-agent, production-ready.

Launch Your First Agent

Start automating in minutes.