October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk7 min

How to Secure AI Agents That Use Tools and Access Company Data

AI agents can call tools, chain actions, and retain information. Secure them with distinct identities, narrow permissions, per-action authorization, human approval for high-impact work, bounded runtimes, and protected memory.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Secure an AI agent by treating it as a system that can take actions—not just as a chatbot. Give it a distinct identity, narrowly scoped tools and data, and authorization checks at the boundary of every action. Treat retrieved content as untrusted, require human approval for high-impact operations, constrain the runtime, and protect persistent memory. A prompt can guide an agent, but it cannot enforce access permissions.

Why an agent needs stronger controls than a chatbot

A chatbot mainly returns responses. An agent can call tools, pass information between systems, and carry out a sequence of actions. If its instructions are steered by a malicious document, email, web page, or tool response, it may attempt actions the user never intended. Persistent memory adds another risk: information stored now may shape actions later.

As an Amazon Associate I earn from qualifying purchases.

OWASP identifies risks including direct and indirect prompt injection, tool abuse, privilege escalation, data exfiltration, memory poisoning, goal hijacking, excessive autonomy, approval manipulation, high-impact action abuse, and cascading failures. Its AI Agent Security Cheat Sheet cautions against unrestricted tools, wildcard permissions, trusting external content, arbitrary unsandboxed code, and unprotected sensitive memory.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The central design principle is to let the model propose an action while trusted application components decide whether that action is permitted. Microsoft Learn frames the issue as whether an agent should perform each action, against which resources, and under whose authority in its guidance on least privilege for AI agents.

#1 Best Overall
Yubico - Security Key C NFC - Basic Compatibility - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

How to set an agent’s identity and permissions

Give the agent a distinct, accountable identity

Bind each agent to an owner and an identity. Record its purpose, approved data scope, tool dependencies, and environment so the organization can review what it is meant to do and who is responsible for it. Deny unreviewed tools by default; if elevated access is needed, make it time-limited rather than a permanent expansion of the agent’s privileges.

Review effective access across roles and connected systems, not only the permissions listed in one configuration. Several individually narrow grants can combine into broad access. A permission design should reflect the task: user-scoped access may need to act under the initiating user’s authority, while an application-owned background workflow may need an agent identity of its own.

Authorize each action at the tool boundary

For every tool call, validate the requested operation, arguments, target resource, tenant, and initiating authority. Check authorization again for each action rather than relying on a check performed when the session began. The component that executes the operation—not the model’s prompt or explanation—must enforce the decision.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use delegated user authority for user-scoped records when that matches the organization’s authorization model. Use an agent identity for application-owned background work. In either case, downstream systems should make their own authorization checks, so an agent’s access cannot bypass the controls protecting the underlying resource.

Rank #2
Yubico - Security Key NFC - Basic Compatibility - Multi-Factor Authentication (MFA) Key, Connect via USB-A or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key NFC via USB-A and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

How to choose an identity and tenant-isolation model

Choose based on whose authority the workflow should use, the consequences of a misconfiguration, and the operational work required to manage identities and deployments. Microsoft’s multitenant agentic-systems guidance describes shared identities as operationally simpler but dependent on strong isolation controls; tenant-scoped identities and dedicated deployments can improve isolation while increasing operational complexity or cost.

Model Access and isolation considerations Operational trade-off
Shared identity One identity serves multiple tenants. Strong tenant-aware authorization and isolation are essential because a permissions or isolation error can affect more than one tenant. Simpler identity management; relies on strong isolation controls. Microsoft Learn
Tenant-scoped identities Identities are scoped to tenants, helping separate access and limit cross-tenant exposure. Improves isolation but adds identity-management complexity. Microsoft Learn
Dedicated tenant deployments A separate deployment for a tenant can provide stronger separation from other tenants. Can improve isolation, with greater operational complexity or cost. Microsoft Learn
Hybrid model Combines identity or deployment approaches to fit different workflows or isolation needs; the appropriate design depends on the organization’s access and blast-radius requirements. Trade-offs depend on the chosen combination; the cited guidance does not prescribe one universal hybrid design. Microsoft Learn

Tenant and user context must be explicit in authorization checks. Delegated access can align user-scoped permissions with the initiating user, but it does not remove the need to verify the tenant and target resource on each action.

How to defend against prompt injection and unsafe tool inputs

Treat user input, retrieved files and web pages, tool outputs, and messages from other agents as untrusted data—not as instructions with authority over the control plane. An agent may need to read such content, but content it reads should not be able to grant itself permissions or override application policy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Use strict schemas for tool arguments and outputs, and validate inputs before a call reaches an action-taking component.
  • Sanitize outputs in context and use allow lists where appropriate, so malformed or injected content is less likely to cross into a tool invocation.
  • Keep server-side authorization separate from prompt instructions and model-generated explanations. Validation and sanitization reduce exposure; they do not replace permission checks.

These controls address common injection paths, but no prompt wording can reliably turn untrusted content into a trusted authorization decision. OWASP discusses these agent-specific threats in its security guidance and its Securing Agentic Applications Guide 1.0.

When to require human approval

Keep a human confirmation step for actions that are sensitive, irreversible, externally visible, or otherwise high-impact. Examples include sending messages externally, deleting data, making payments, or changing production systems.

The reviewer should see the actual operation and target resource—not just the agent’s summary of what it intends to do. Log the approval decision, make the approval flow resistant to manipulation, and do not let model confidence alone waive a policy requirement. For lower-impact actions, organizations can set different approval requirements according to their risk tolerance, while still enforcing authorization for every action.

How to bound the agent’s runtime

Limit what the agent can execute and how long it can continue. Sandbox code execution and browsing tools, restrict network egress to required destinations, and apply tool-level permissions. Set ceilings for steps, iterations, loops, and spending so an error or cascading sequence cannot run without bound.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Log tool invocations with the principal or identity, action, target, relevant inputs and outputs, and authorization decision. Apply privacy controls to those logs because they may contain sensitive information. Provide a fast way to disable the agent or revoke its access, and ensure connected systems re-check authorization so revocation cuts off effective access rather than merely stopping new sessions.

Rank #4
Sale
Thetis Nano-A FIDO2 Security Key Hardware Passkey Device with USB Type A, TOTP/HOTP, FIDO2.0 Two Factor Authentication 2FA MFA, Works with Windows/mac/iOS/Android/Linux/Gmail/Facebook/GitHub/Coinbase
  • Ultra-Compact FIDO2 Security Key - Plug-and-stay or carry on a keychain. This USB-A hardware security key offers portable, always-on protection for desktop and mobile use. (Item Size: 0.75 X 0.74 IN x 0.25 IN)
  • USB-A Hardware Key for All Devices - Works with USB-A ports on PC, Mac, Android, and other laptop/notebook device. Enables secure, cross-platform login with FIDO2.0 passkey support.
  • FIDO Certified Security Key - Meets FIDO and FIDO2 standards. Works with Google, Microsoft, GitHub, Dropbox, and more. Please check service compatibility before purchase.
  • Passwordless Login with Passkey - Supports passkey login via WebAuthn and CTAP2. Enjoy password-free sign-ins where supported. Not all websites or services currently support passkeys.
  • Advanced Multi-Factor Authentication - Offers 200 FIDO2 passkey slots and 50 OATH-TOTP slots. Strong, flexible 2FA/MFA support across various apps and authentication platforms.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to protect agent memory

Persistent memory is company data if it can contain company information or influence future actions. Isolate memory by user and tenant, restrict who and what can read it, encrypt it in transit and at rest, and validate information before storage. Minimize sensitive content and define data classification, retention, and deletion practices.

Track provenance when stored information can influence later decisions or actions. A memory item should not become trusted merely because the agent saved it: access controls and validation need to apply both when information enters memory and when it is retrieved for use. OWASP covers memory risks in its AI Agent Security Cheat Sheet and agentic applications guide.

What changes across SaaS, managed, and self-hosted deployments

Responsibilities shift with the deployment model and with how much of the runtime and orchestration the organization operates. Microsoft’s AI agent shared responsibility model says customer responsibility grows as the customer takes on more of that runtime and orchestration. It identifies data, identities, authorization, human oversight for high-impact actions, and governance as customer responsibilities across deployment types.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use that as vendor guidance, not as a substitute for checking the actual service terms and configuration. When comparing platforms, establish who controls orchestration and tool permissions, which authorization and audit controls can be configured, how memory isolation and sandboxing work, and who operates monitoring and incident revocation. A provider feature does not ensure that it is enabled or correctly configured.

What standards work is underway

On February 5, 2026, NIST’s National Cybersecurity Center of Excellence announced a concept-paper effort to apply identity standards and best practices to software agents. The announcement listed identification, authorization, auditing, non-repudiation, and prompt-injection controls among the topics for community input. It describes an effort to gather input, not a finalized standard: NIST’s announcement.

The reviewed primary guidance describes threats and recommended safeguards qualitatively; it does not provide controlled comparative results showing how much a particular control reduces risk. Build the control set around your agent’s authority, data, and potential impact rather than relying on an unsupported risk-reduction percentage.

A practical security baseline before enabling an agent

  • Name an accountable owner, assign a distinct identity, and document the agent’s purpose, data scope, tools, and environment.
  • Grant only the permissions the workflow needs, deny unreviewed tools by default, and check authorization for every operation, target, tenant, and initiating authority.
  • Keep untrusted content from acting as control-plane authority; validate tool inputs and outputs with strict schemas and appropriate allow lists.
  • Require human approval for sensitive, irreversible, externally visible, or high-impact actions, with the actual operation and target visible to the reviewer.
  • Sandbox execution, restrict egress, set runtime and spending ceilings, and log actions with privacy controls.
  • Isolate and protect memory, define retention and deletion rules, and track provenance when memory can affect future actions.
  • Test the disable and revocation path and confirm that downstream systems enforce the revoked access.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.