What AI security engineers do in SaaS and cloud software
AI security engineers secure the large language model features that SaaS products ship to customers, including chat assistants, search over customer documents, and agents that take actions inside the product. In a shared, multi-tenant product, one flaw can expose one customer's data to another, so the engineer's first question is always who can see what the model can see.
In a typical week the engineer tests prompt injection, where instructions hidden in a document, web page or support ticket steer the model against the user. They review what each agent tool can read, change or send, and cut permissions to what the task needs. They check retrieval pipelines for documents returned to users who lack access to them, because access rules often sit outside the vector store. They also review MCP servers, which connect models to company systems, for unsafe tool descriptions, weak authentication and overly broad access. The work hands fixes to application and platform engineers and takes threat models from product teams before launch.
This differs from application security in the same company. Application security tests the request handling, sessions and business logic that a user drives directly. AI security must also treat the model's output and the content it reads as untrusted input, and it must assume that any content the model reads can carry instructions.
Companies hire for this role when they launch an AI feature, when enterprise buyers ask about AI controls in security questionnaires, or when an agent gains write access to customer systems. Remote AI security engineers for this work are available through DeployOpen, and you can request a quote for the role.
- Customer data exposure: a retrieval or agent flaw can cross tenant boundaries in a shared environment.
- Assurance evidence: SOC 2 auditors test the controls around the product, and AI features fall within the systems in scope.
- Personal data: under the General Data Protection Regulation (Regulation (EU) 2016/679), processors must apply security measures suited to the risk, and AI features that process personal data are part of that assessment.
- Critical infrastructure duties: where the NIS2 Directive (Directive (EU) 2022/2555) applies to a cloud provider, incident handling and supply chain security extend to the model and plugin supply chain.
Security control areas this role covers in SaaS
A SaaS company's control evidence, tenant isolation and cloud recovery all depend on how its systems are built. The AI security engineer works on the AI features inside those systems, so each control area below includes that work.
Audit evidence for customer assurance
The engineer collects and maintains the evidence an auditor tests against the security criteria in SOC 2 (System and Organization Controls for service organizations). For AI features, that means logs of prompts, tool calls and agent decisions, and proof that the guardrails and tool limits described in the report actually run. Ask candidates how they would show an auditor that an agent's actions are logged and reviewable.
Tenant data protection in retrieval pipelines
Under GDPR Article 32, the company must apply security measures suited to the risk to customer personal data it processes. For AI products, the main exposure is retrieval: a pipeline can return a document that the asking user should not be able to see. The engineer checks that access rules are enforced on the retrieval path and tests tenant isolation across shared vector stores.
Incident handling and continuity for AI services
NIS2 requires technical and organizational measures for incident handling, business continuity and supply chain security for cloud providers. The engineer adds detection for prompt injection and unusual tool use, plans how an AI feature is switched off or restricted during an incident, and reviews model and plugin suppliers. Ask candidates how they would contain an agent that has already acted on injected instructions.
Agent and MCP server access hygiene
Baseline access control in the Cyber Essentials scheme covers user access control and secure configuration. For AI systems, the engineer reviews what each agent tool and MCP server can read, change or send, and cuts those permissions to what the task needs. Ask candidates to explain how they would find a tool that holds broader access than its task requires.
Regulations that shape the work in SaaS
The table shows which regulations apply to SaaS providers and what each one means for the engineer's access to customer data, logs and production systems during AI security testing.
| Rule | Who it applies to | What it means for the engineer's work and access |
|---|---|---|
| SOC 2 (System and Organization Controls for service organizations), issued by the American Institute of Certified Public Accountants (AICPA) | Service organizations whose customers and their auditors want independent assurance on controls | The engineer collects and maintains evidence for the security criteria in scope, so testing of AI features must leave records an auditor can follow, and access to logs and production systems should be granted under documented, least-privilege rules. |
| General Data Protection Regulation (Regulation (EU) 2016/679), issued by the European Parliament and Council of the European Union | Controllers and processors of personal data, including SaaS providers acting as processors for customers | Article 32 requires security measures suited to the risk, so the engineer tests whether retrieval pipelines and AI agents expose customer personal data, and needs access to test data sets and logs that are masked or limited to what the test requires. |
| NIS2 Directive (Directive (EU) 2022/2555), issued by the European Parliament and Council of the European Union | Entities in listed sectors, including cloud computing service providers and data center service providers | The engineer reviews incident handling, supply chain security and the model and plugin dependencies of AI features, so needs access to model sources, MCP servers, dependency records and incident logs for the systems in scope. |
| FedRAMP authorization, issued by the US General Services Administration (FedRAMP program) | Cloud products and services offered to federal agencies | Authorization evidence must show the AI features were assessed, so the engineer tests agent tool permissions and MCP server access in the authorized boundary and documents each finding for the authorization package. |
| California Consumer Privacy Act as amended by the CPRA, issued by the California Attorney General and California Privacy Protection Agency | For-profit businesses that do business in California and meet the law's thresholds | The law gives consumers rights over personal information and allows lawsuits after a breach caused by failure to keep reasonable security procedures, so the engineer's findings on data exposure through AI features need prompt, documented fixes, and the engineer needs access to the affected data stores only under agreed controls. |
| Cyber Essentials, issued by the UK National Cyber Security Centre (NCSC) | Organizations of any size, which a growing number of buyers require suppliers to hold | The scheme's five technical controls cover firewalls, secure configuration, update management, user access control and malware protection, so the engineer checks that AI services and their access paths follow these controls and needs read access to configuration and access settings for those services. |
Skills that matter for AI security in SaaS
These are the skills an AI security engineer needs when the product is a SaaS platform that runs language model features for many customers in a shared environment. Each card names the work and a practical way to test it in a hands-on round.
Prompt injection testing
The engineer tests LLM features for direct prompt injection and for indirect injection, where instructions hide in documents, emails or web pages the model reads. Ask for a live demonstration against a lab application that reads outside documents and shows the effect. A list of attack names alone proves little. Strong candidates explain how they separate the model's instructions from untrusted content and how they check unsafe output handling.
Least-privilege review of agent tools
The engineer reviews each tool an agent can call and cuts its permissions to what the task needs, so a successful injection does less damage. In a hands-on round, give the candidate an agent with broad tools and ask them to reduce it. Look for a clear permission list per tool and a plan for approval steps on actions that send data or change records.
Retrieval pipeline access control
Data exposure through retrieval is common when access rules sit in the application but not in the vector store, so the engineer checks that a user only retrieves documents they are allowed to read. Test this by having the candidate show a retrieval pipeline returning a document the asking user should not see, then fix the access check. Strong candidates trace the permission from the source system into the index.
MCP server and supply chain review
The engineer reviews Model Context Protocol servers for unsafe tool descriptions, weak authentication and access that is broader than the task. The same review covers model sources, plugins and dependencies, since each one can carry a flaw into the product. Ask the candidate to walk through an MCP server's tool list and authentication and say which tools they would restrict first.
Guardrails and agent logging
The engineer adds input and output filtering and logs prompts, tool calls and model decisions so incidents can be reconstructed. Judge this by asking how the candidate would log an agent's tool calls without storing sensitive customer data in the logs. A weak answer treats guardrail filters as a complete control, while a strong answer names their limits and pairs them with permissions and monitoring.
Interview questions for AI security engineers in SaaS
Six questions a hiring manager can put to AI security engineer candidates, with what a strong answer covers and the warning sign in a weak one.
| Question to ask | A strong answer covers | Warning sign |
|---|---|---|
| Walk me through how you would stop a retrieval pipeline from returning one tenant's documents to another tenant's user. | Enforces tenant and document-level access checks at query time as well as at ingestion. Filters inside the vector store query using the caller's identity, so the index never returns out-of-scope chunks. Tests with two tenants and a user who lacks access to a shared document. Logs denied retrievals. | Relies on the prompt to tell the model which tenant to answer for. Proposes only a post-retrieval filter in the application layer without considering what has already been fetched or cached. Does not mention embeddings or the index in the access design. |
| Describe how you would test an LLM feature for indirect prompt injection, where the model reads outside documents or web pages. | Plants instructions in a test document or page the feature will read, then checks whether the model follows them. Looks at what actions the injected text can trigger, such as sending data out or calling a tool. Retests after each fix and records the exact input and output. | Tests only the user's chat box and calls the model safe because direct jailbreaks fail. Treats prompt injection as a wording problem with no route to tool calls or data leaving the product. |
| Take me through how you would review the tools an AI agent can call, and what you would remove. | Lists every tool and its read, write and send rights. Removes tools the task does not need, scopes each to the minimum data and actions, and requires confirmation for irreversible or outbound actions. Assumes a successful injection will use whatever permissions remain. | Keeps tool access broad so the agent works well, and plans to rely on the system prompt to limit misuse. Does not inventory tools or separate read rights from write rights. |
| How would you assess a third-party MCP server before your company connects it to customer systems? | Checks where the server comes from and who maintains it, pins versions, and reviews its tool descriptions for instructions that could mislead the model. Tests its authentication and the scope of credentials it holds. Restricts network access and logs calls. | Approves the server because it is popular or widely downloaded. Does not read the tool descriptions. Accepts shared or long-lived credentials without asking what they can reach. |
| Tell me about an AI feature you threat modeled before launch. What did the team change because of it? | Names the data flows, trust boundaries and untrusted inputs, such as user uploads and retrieved pages. Worked with product and engineering on concrete changes, such as narrower permissions, output filtering or logging. Can say which risks were accepted and who accepted them. | Describes a review as a checklist exercise with no changes to the design. Cannot name the untrusted inputs or the data the feature can reach. |
| How would you add logging and monitoring for an agent's prompts, tool calls and decisions, given that customer data may be in them? | Records enough to investigate tool misuse and data exposure, with timestamps and the identity behind each call. Redacts or restricts personal data in logs to meet the company's data protection duties under the General Data Protection Regulation (Regulation (EU) 2016/679). Sets retention limits and controls who can read the logs. | Logs everything in full with no thought to personal data or retention. Or logs nothing, so a misuse cannot be traced. Does not consider who has access to the logs. |
Common hiring mistakes for SaaS AI security roles
Treating the work as generic penetration testing. Companies often post the role as a penetration tester who also knows machine learning. The work is different. An AI security engineer tests how a model reads untrusted input, such as documents, web pages and tool output, and how the application acts on what the model returns. A generic tester may find classic web flaws and miss prompt injection entirely. Ask candidates to explain how an injected instruction in a retrieved document could cause the agent to call a tool it should not call, and to describe the test they would run to confirm it.
- Withholding access to model, retrieval and tool logs. Teams often limit the engineer to the public-facing application. Without prompt logs, retrieval traces and tool call records, the engineer cannot see which document was returned to which user or why an agent chose an action. Agree in writing which logs, traces and test accounts the engineer gets before the role starts, and state how that access is recorded.
- Scoping the role without product or engineering input. A role written only by security or HR often lists tools the product does not use and omits the agents, MCP servers and retrieval pipelines that carry the most exploitable risk. Have the engineering lead and a product owner list every AI feature, data source and tool the product connects to, then write the scope from that list.
- Assuming customer assurance covers the AI features. SOC 2 reports are read by customers and their auditors, and the controls in scope may not describe AI features at all. Ask the candidate how they would collect evidence for an AI feature's access controls and logging, and agree with the company's auditor which of those controls fall within the report scope.
Questions hiring teams ask about this role
How is an AI security engineer different from an application security engineer?
An application security engineer reviews conventional software: code, APIs, authentication and dependencies. An AI security engineer covers those risks plus the behavior of applications built on large language models, such as prompt injection, agent tool permissions and retrieval pipelines that decide which documents a user can see. If your product has an AI feature, you need the AI skills in addition to application security. Read the application security engineers for SaaS and cloud software companies page for the wider role.
Can one engineer cover AI security and penetration testing?
Sometimes, for a small product with one AI feature. Penetration testing is a periodic, scoped exercise against the whole estate, while AI security is continuous work on the design of each AI feature, its agents and its data sources. When several AI features ship at once, or agents connect to customer data, hire a dedicated AI security engineer and keep penetration testing as a separate activity.
What should the job description say for this role?
List the AI features and agents the engineer will review, the tools and data sources each one can reach, and the frameworks you use to guide the work, such as the OWASP guidance for LLM applications. Name the controls you expect the engineer to build, including tool permission limits, output filtering and logging of prompts, tool calls and decisions. State who the engineer works with in product and engineering teams, because threat modeling before launch depends on that access.
What evidence does this work produce for customer audits and security questionnaires?
The engineer produces design reviews, threat models, test results with reproduction steps, records of fixes and logs of agent behavior. Under SOC 2, the CPA (certified public accountant) who examines your controls decides what evidence suffices, and the CPA issues the report. Under the GDPR, Article 32 asks for security measures suited to the risk, and regular testing is part of that. DeployOpen does not issue audit reports, attestations or certifications. Confirm with your auditor or legal adviser which records they will test.
How do you check a candidate's AI security skills?
Ask the candidate to explain prompt injection in an application that reads outside documents, and how an attacker could turn it into data exposure or a harmful tool call. Ask how they would limit an agent's tools to what the task needs, and how they would check a retrieval pipeline for documents returned to users who lack access. Strong candidates describe the controls they would add and the tests that prove them. DeployOpen's engineers complete a CyberHire lab for the role, and you review the scored run before you accept the engineer. You should also run your own technical interviews.
How do EU and US rules affect this role?
For SaaS companies that process personal data for EU customers, GDPR Article 32 requires security measures suited to the risk, and processors must support their customers' breach notification duties under Articles 33 and 34. NIS2 Directive measures for cloud providers cover supply chain security, which includes the models, plugins and MCP servers your AI features use. If you sell to US federal agencies, FedRAMP authorization shows that the cloud offering's security posture has been assessed. Take these obligations to your own legal or compliance adviser before you scope the role.
Which tools matter for this role?
Focus on skills. Brand names matter less than the engineer's understanding of the controls. The engineer needs prompt injection and jailbreak testing, OWASP guidance for LLM applications, MCP server and agent tool security, vector store access control, Python and API testing, model and dependency supply chain review, guardrail and output filtering tools, and logging of agent behavior. Most of these tools can be swapped for another product that does the same job, so judge the engineer on the reasoning behind the controls they choose.
Hiring AI security engineers through DeployOpen
Global talent that saves cost. DeployOpen places an remote AI security engineer with your team. Before you accept, you review the engineer's scored CyberHire run.
Assessed in CyberHire
- Every engineer DeployOpen places completes a CyberHire lab for the role, and the client reviews the scored run before accepting the engineer
- The run shows a task timeline with the time, points, hints and wrong answers for each task
- The run shows a command log with every command, the time and the host it ran on, with pasted commands marked
Rates
- Rates are quoted for each role
- Ask for the quote with the role description, so it reflects the skills the role needs
Hours and terms
- Engineers work remotely
- Working hours are agreed for each role
- Contract terms are agreed for each role
How to start
- Send the role description, and DeployOpen replies with a quote for the role
- Hiring your own staff instead? CyberHire runs the same hands-on assessment for your candidates
Sources and further reading
- American Institute of Certified Public Accountants (AICPA): SOC 2 ↗
- European Parliament and Council of the European Union: General Data Protection Regulation 2016/679) ↗
- European Parliament and Council of the European Union: NIS2 Directive 2022/2555) ↗
- US General Services Administration (FedRAMP program): FedRAMP authorization ↗
- California Attorney General and California Privacy Protection Agency: California Consumer Privacy Act as amended by the CPRA ↗
- UK National Cyber Security Centre (NCSC): Cyber Essentials ↗

