Sessionright

AI Agent Security Review Questions: 25 to Ask Before an Admin Agent Gets Credentials

By Jay H.Published Updated 10 min read

Jay H. · Founder, Sessionright
Founder of Sessionright. Twenty years running Citrix, NetScaler, Citrix Cloud, NetScaler Console, Azure and Azure Virtual Desktop estates; writes the guides and reviews the platform's rules.

Stuck on this right now? Talk it through with a Sessionright engineer: 15 minutes, free.

Two vendor defaults show why an AI admin agent needs its own security review. In Microsoft Foundry, Prompt Shields can scan for "hidden instructions embedded in document content", but document attack detection "is off by default and must be enabled" (Microsoft Learn). In Citrix Virtual Apps and Desktops, configuration logging is enabled by default, but mandatory logging, which "prevents configuration changes from being made unless they can be logged", is disabled (Citrix docs). An agent working across Citrix, NetScaler and Azure Virtual Desktop (AVD) sits across both gaps: it reads text other people control, and it can act.

Below are 25 questions in the order a procurement review runs, each with what a good answer looks like and a platform control to check it against. They are vendor-neutral, so use them on any product. For which tasks to hand an agent at all, see AI agents for Citrix and AVD admins.

Where it runs and where credentials live

A product that runs in your subscription under identities you control is a different review from a SaaS service holding standing credentials to your estate.

  1. Where does the component that talks to our systems run, and who operates it? Ask for a diagram (your subscription, vendor-hosted, or split) and how vendor support access is granted and logged.
  2. Which identity does it use, and do we hold the credential? For anything in Azure, a managed identity is the strongest answer: "You don't need to manage credentials. Credentials aren't even accessible to you" (Microsoft Learn). If the vendor uses a service principal, ask whether it is single tenant in your directory. Conditional Access can block service principals by location or risk, but only "single tenant service principals that are registered in your tenant"; multitenant apps and managed identities are not covered, and the policies need Workload Identities Premium licences (Microsoft Learn).
  3. What is the narrowest role it needs on each platform? Expect built-in read-only roles first. Desktop Virtualization Reader "allows viewing all your Azure Virtual Desktop resources, but doesn't allow changes" (Microsoft Learn). The Citrix Read Only Administrator "cannot change anything" and can be limited to a scope (Citrix docs). The NetScaler read-only command policy gives "Read-only access to all show commands" except show ns runningConfig, show ns ns.conf and the command-group show commands (NetScaler docs). Microsoft advises: "Avoid assigning broader roles at broader scopes" (Microsoft Learn).
  4. Where do write credentials live, and when are they used? A good answer: in your Key Vault or a role activated only for an approved change, never in prompts or logs. Ask whether the vault uses Azure RBAC. Microsoft says legacy access policies "have known security vulnerabilities and lack support for Privileged Identity Management (PIM)", and recommends soft delete and purge protection (Microsoft Learn).

What data leaves your network

  1. Which fields leave the estate, and in what form? Ask for a field-level list (host names, user principal names, client IP addresses, log excerpts) and whether user identifiers can be redacted before they reach a model or storage.
  2. Who are the subprocessors, and in which region is each one? For Azure-hosted models the deployment type changes the answer. Standard deployments process prompts "within the customer-specified geography", a Global deployment may process them "in any geography where the relevant model sold by Azure is deployed", and a DataZone deployment anywhere within the data zone (Microsoft Learn). Ask which type the vendor uses.
  3. Can the model endpoint be private? If the product calls a model resource in your subscription, ask whether public access is off. With "Allow access from" set to Disabled, "Private endpoint connections will be the exclusive way to access this resource" (Microsoft Learn).

Model provider terms (training, retention)

  1. Which model provider, under which contract, and is our data used for training? Get the provider and the contract named in writing. As a benchmark, Microsoft states that for Foundry Models sold by Azure, prompts and completions "are NOT available to OpenAI" and "are NOT used to train any generative AI foundation models without your permission or instruction" (Microsoft Learn).
  2. What does the provider retain, and can people read it? Stateful features such as the Responses API and Stored completions persist message history in your resource, and abuse monitoring can route flagged prompts and completions to review by "authorized Microsoft employees" (same page). Customers who meet extra eligibility criteria can apply for modified abuse monitoring (Microsoft Learn); once it is approved, a ContentLogging capability shows false on the resource (Microsoft Learn).
  3. What does the vendor itself keep? Ask how long the vendor stores prompts, tool output and findings, whether you can set that period, and how deletion is confirmed at contract end.

Prompt-injection defences for environment data

An admin agent reads text other people control: machine descriptions, client names, event log messages. Microsoft calls instructions planted in such content document attacks: "Hidden instructions embedded in document content (documents, emails, web pages) that try to hijack the model session" (Microsoft Learn).

  1. How is environment data kept apart from instructions? A good answer describes architecture, not a clever prompt: tool output is labelled untrusted data, and nothing the model reads can become an action without a new plan and a human approval.
  2. What detection runs on tool output, and is it switched on? If the vendor relies on Prompt Shields, ask whether document attack detection is enabled, because it is off by default. And a clean result is not proof: "No document attack pattern detected. This result doesn't establish that the document is trustworthy" (same page).
  3. Can we test it ourselves? Put an instruction in a VM tag or machine description in a test environment, and check it appears only as quoted data and never changes a plan.

Approvals and separation of duties

  1. Can the model change anything directly? The answer you want is no: the model drafts a plan, and a separate executor runs only approved plans, rechecking live state before each step.
  2. What exactly does the approver see? An exact plan with targets, ordered actions, affected sessions and a dry run where one exists. ARM what-if "doesn't make any changes to existing resources. Instead, it predicts the changes" (Microsoft Learn). Ask whether the approver sees that output, and whether a changed plan voids the approval.
  3. Can requesters approve their own changes, and can high-risk changes need two people? Ask how it decides two approvals came from different people (unique identity ID, not display name) and whether approvals expire.
  4. Does it fit our existing elevation process? Privileged Identity Management can "Require approval to activate privileged roles", "Assign time-bound access to resources" and "Download audit history for internal or external audit" (Microsoft Learn). A product that needs a standing Contributor assignment should explain why.

Audit and export

  1. What does the audit trail record, including reads? Requester, approver, plan, each command, before and after state, result. Reads matter because platform logs miss them. The Activity log "doesn't typically capture read operations" and deletes events after 90 days, and data-plane operations such as "getting a secret from a key vault" appear only in resource logs, which "aren't collected by default" (Microsoft Learn).
  2. Is the trail tamper-evident, and who can delete from it? Ask whether records are hash-chained or written to write-once storage. Azure immutable blob storage keeps data in a state where it "can't be modified or deleted for a user-specified interval", through time-based retention or legal holds (Microsoft Learn). Compare Citrix configuration logging, where "With appropriate permission, you can delete entries from the configuration log" (Citrix docs), and confirm the product's account lacks that permission.
  3. Can we export it to our SIEM in an open format, with secrets redacted? Ask for the format and whether redaction happens at write time. NetScaler can store audit logs locally, on a remote server, or both, and NetScaler recommends remote logging over extensive local logging (NetScaler docs).

Rollback and blast radius

  1. What is the largest change one approval can make? Ask for hard limits on targets per plan and batch size, and whether logging users off needs a higher approval tier.
  2. What can it never do? Deleting host pools, catalogs or vServers and running arbitrary shell commands should sit outside the product's permissions, not only outside its prompts. Azure resource locks enforce this at the platform: with CanNotDelete, "authorized users can read and modify a resource, but they can't delete it", and "The lock overrides any user permissions" (Microsoft Learn). Locks do not restrict data-plane operations (same page).
  3. How is each change rolled back, and how do we stop everything? A good answer captures pre-change state, shows rollback steps before approval and treats rollback as its own reviewed change. Ask for a kill switch that halts all execution.

Compliance artefacts (SOC 2 / CSA STAR / pen test: what to ask for)

  1. Which SOC 2 report, for which period and scope? A Type 2 report evaluates whether controls "were operating effectively over a specified time period", while Type 1 audits "don't look back over a period of performance" (Microsoft Learn). Bridge letters cover the months after a period ends, but they "are self-attestations by Microsoft, not reports based on examinations by the auditor" (same page). Check that the AI features appear in the system description, and collect the model provider's reports too: Microsoft publishes its audit reports on the Service Trust Portal (Microsoft Learn).
  2. What is the CSA STAR level, and when was the last independent pen test? STAR Level 1 is a self-assessment based on the CAIQ questionnaire. Level 2 means an independent third-party assessment: STAR Attestation, built on a SOC 2 Type 2 audit with Cloud Controls Matrix criteria, or STAR Certification, built on ISO 27001 (Microsoft Learn: Attestation, Microsoft Learn: Certification). For the pen test, ask for the date, tester, scope (prompt injection and the approval path?) and finding status. To test a product in your own Azure subscription, you have not needed Microsoft's pre-approval since 15 June 2017, but you must follow its Rules of Engagement, and a third-party tester needs "explicit written authorization from the resource owner" (Microsoft Learn).

FAQ

What should a security questionnaire for an AI tool include?

Your standard questionnaire plus the model provider's training and retention terms, the data sent to the model, prompt-injection handling, approval binding and audit export.

What is the difference between SOC 2 Type 1 and Type 2?

A Type 1 report covers control design at a point in time. A Type 2 report also tests whether the controls operated effectively over a period; Microsoft's own Type 2 audits examine a rolling 12-month window (Microsoft Learn).

Does Azure OpenAI use my prompts to train models?

Microsoft states that prompts to Foundry Models sold by Azure, which include Azure OpenAI models, are not used to train foundation models without your permission. Flagged content can still reach human review under abuse monitoring unless a modification is approved.

What is indirect prompt injection?

It is an instruction hidden in content the model reads, rather than in the user's request. Microsoft's Prompt Shields calls these document attacks. For an admin agent, that means environment data such as log lines.

What is CSA STAR?

A registry launched in 2013 by the Cloud Security Alliance and the British Standards Institution, where cloud providers publish assessments (Microsoft Learn). Level 1 is a self-assessment; Level 2 adds an independent attestation or certification.

Can an AI admin agent work with read-only access?

Yes, and it should start there. AVD, Citrix and NetScaler each ship a built-in read-only role or command policy.

Want to see how we answer these?

This guide stays generic on purpose. Sessionright publishes its own answers on the security page, and how it works walks through the plan, approve and execute workflow: read-only by default, nothing changes until a person approves the exact plan, and every step is logged. To check those answers against your own environment, start with the read-only assessment for Azure Virtual Desktop, Citrix and NetScaler. If you would rather talk it through, book a 15-minute call: no install, no sales deck.

Sources

Want this watched for you, with the fix drafted before you ask?

Sessionright is an AI operator for Azure Virtual Desktop: it checks session hosts, scaling plans, FSLogix and cost continuously, attaches the evidence, and proposes fixes for a named approver to sign. It has run against simulated estates and Sessionright's own Azure lab tenant so far. To see what it finds on your own estate, run the free assessment: one command in Azure Cloud Shell reads your estate, never changes it, and writes an HTML report in about five minutes for a typical estate. Your estate data stays with you unless you choose to email yourself the HTML report through Sessionright. Design partner program: 90-day free Operator pilot, then 50% off year 1; list price at signing held to month 24. Engineer-led assessments are 50% off for design partners. Outside the program the onboarding assessment is $2,500, up to 500 users, one tenant.

Not ready for that? Talk to a Sessionright engineer: 15 minutes, free, and you leave with a next step.

Or get the next guide by email. One email per new guide, no marketing list.

New Sessionright guides by email. No marketing drip; unsubscribe in one click.

Related guides

Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or its affiliates. Azure is a trademark of the Microsoft group of companies. Sessionright is not affiliated with or endorsed by Cloud Software Group, Citrix or Microsoft.