Hire AI security engineers for defense and federal contractors

What AI security engineers do for defense and federal contractors under CMMC and DFARS 252.204-7012, how to test candidates, and how to scope the role. Remote engineers are available through DeployOpen.

On this page

What the role involves for defense contractors

AI security engineers at defense and federal contractors test and harden large language model applications, retrieval pipelines, AI agents and MCP servers that touch Controlled Unclassified Information and Federal Contract Information. In a typical week the engineer tests applications for direct and indirect prompt injection, reviews what each agent tool and MCP server can read, change or send, checks whether retrieval returns documents to users who lack access to them, and reviews model sources, plugins and dependencies. The engineer works with product and engineering teams before launch, and hands findings to the teams that own the code and the cloud accounts.

The defense rules change the work in three ways. The Cybersecurity Maturity Model Certification Program (32 CFR Part 170) and DFARS clause 252.204-7012 require the company to scope which systems process, store or transmit covered information, or protect those systems, so an AI feature that reads a controlled document is inside the boundary even if it runs on a commercial model. NIST SP 800-171 Revision 3 sets the control families the engineer implements, including access control and incident response. DFARS 252.204-7012 also requires rapid cyber incident reporting and preservation of images and monitoring data, so the engineer must log prompts, tool calls and decisions in a form that survives a forensic review.

Companies usually hire for this role when an AI assistant or agent is about to reach controlled data, when a prime contractor flows down new requirements to a subcontractor, or when an existing AI feature needs a boundary review. Hire AI security engineers covers the wider role. DeployOpen places remote AI security engineers for this work, with terms agreed for each role.

  • Boundary scoping: deciding which AI components, vector stores and logs fall inside the assessed boundary, which often surprises teams that assumed a commercial model sat outside it.
  • Access control in retrieval: making sure the access check happens before retrieved content reaches the model. The user interface should never be the only place that enforces it.
  • Tool permission review: cutting agent tools to the minimum the task needs, because an injected instruction is far more damaging when the agent can send data out.

Security control areas this role covers

The industry rules sort the work into five control areas. For each one, the AI security engineer checks the parts of an LLM application, agent or MCP server that touch controlled information.

Scoping the boundary for controlled information

Before any testing, the engineer maps which AI components process, store or transmit controlled unclassified information, or protect the systems that do. That covers the model endpoint, the retrieval index, agent memory, logs of prompts and tool calls, and each MCP server an agent can reach. Systems outside the boundary are documented as such, because an unmapped AI feature can pull the whole environment into assessment scope.

Incident reporting and forensic preservation

The engineer confirms that prompt logs, tool-call records and agent decision traces are captured and retained in a form that supports a rapid cyber incident report and forensic review. Prompt injection and data exposure through retrieval are the AI incidents most likely to need this evidence. Logs held only in a vendor's dashboard, or overwritten on a short cycle, leave the company unable to show what an agent did.

Access control and incident response for controlled information

The engineer tests whether retrieval pipelines enforce the document owner's access rules, so a user cannot receive controlled content they lack access to. For agents, the engineer reviews each tool's permissions and limits what it can read, change or send. The engineer also tests whether the team can detect and contain a prompt injection that reaches a tool, including revoking the agent's credentials.

Basic safeguarding of contract information systems

The engineer applies baseline safeguards to AI features that handle federal contract information: authenticated access to the LLM application and its MCP servers, encrypted connections between components, and removal of secrets from prompts, configuration files and tool descriptions. The engineer checks that unsafe output handling does not pass model responses directly into systems that act on them.

Supplier controls by risk profile

The engineer reviews where each model, plugin, MCP server and dependency comes from, and whether its source, version and update path are known. Third-party MCP servers and model APIs are assessed against the controls the contract requires for the relevant risk profile, and those requirements are passed to subcontractors. A supplier that cannot show its controls is recorded as a gap for the contracting team to resolve.

Regulations and what they mean for access

The rules that set the work, and the systems, logs and cloud services each one requires the engineer to reach.

RuleWho it applies toWhat it means for the engineer's work and access
Cybersecurity Maturity Model Certification Program (32 CFR Part 170)Defense contractors and subcontractors that handle Federal Contract Information or Controlled Unclassified InformationSets the standards to implement and how compliance is assessed on systems that process, store or transmit that information or protect such systems. The engineer needs the system boundary documentation, asset inventories, and read access to the in-scope AI application, its logs and its data stores, so the assessment covers the right boundary.
DFARS clause 252.204-7012, Safeguarding Covered Defense Information and Cyber Incident ReportingContractors with covered defense information on covered contractor information systems, and their qualifying subcontractorsRequires adequate security, rapid cyber incident reporting, preservation of images and monitoring data, and access for forensic analysis. The engineer needs prompt, tool call and model output logs that are retained and preserved, a documented route to forensic images of AI components, and confirmation that any cloud provider meets requirements equivalent to the FedRAMP Moderate baseline.
NIST SP 800-171 Revision 3, Protecting Controlled Unclassified Information in Nonfederal Systems and OrganizationsNonfederal organizations that handle Controlled Unclassified Information for federal agenciesSets control families such as access control, incident response and supply chain risk management. The engineer needs to review agent tool permissions and retrieval access rules as access control evidence, and to review model, plugin and MCP server supply chain records.
FAR clause 52.204-21, Basic Safeguarding of Covered Contractor Information SystemsContractors whose information systems process, store or transmit Federal Contract InformationRequires a basic set of safeguarding measures on covered systems. The engineer needs to confirm these baseline safeguards apply to the AI application's servers, vector stores and administrator accounts, with read access to their configuration.
FedRAMP authorizationCloud products and services offered to federal agenciesAuthorizations show that a cloud offering's security posture has been assessed and is presumed adequate for federal agency use. The engineer needs visibility into any cloud-hosted model or vector service the AI features use, including its authorization status, its configuration, and the access it has to controlled data.
Def Stan 05-138 Issue 4, Cyber security for defense suppliersUK Ministry of Defence suppliers and their subcontract suppliers with a relationship to one or more MOD contractsRequires suppliers to meet the cyber controls set for the risk profile level each contract is assessed at, and to flow those controls to subcontractors. The engineer needs documentation of which controls apply to each AI feature under each MOD contract, and access to the systems that support those contracts.

Skills to test for in this role

These cards cover the skill areas an AI security engineer for a defense or federal contractor needs, with a practical way to test each one. Ask for evidence of hands-on work. Familiarity with the terms is not enough.

Prompt injection and jailbreak testing

The engineer tries to make a language model application ignore its instructions, including indirect injection hidden in documents or web pages the application reads. Test it by giving the candidate a small application that reads outside documents and asking them to show the injected instruction changing the output. A strong candidate explains what the injected text did and why the model followed it.

OWASP guidance for LLM applications

The engineer uses the OWASP guidance for large language model applications as a checklist for threat models and reviews, covering risks such as prompt injection, insecure output handling and excessive agency. Test it by asking the candidate to walk through a threat model for a chat feature that calls internal tools, and to name which risks apply and which controls address them.

MCP server and agent tool security

The engineer reviews the tools an agent can call and the Model Context Protocol (MCP) servers that expose them, cutting permissions to what each task needs. Test it by giving the candidate an agent with broad tool access and asking which permissions they would remove first and why. Look for a reasoned least-privilege cut. A list of general hardening steps is weak evidence.

Retrieval pipeline and vector store access control

The engineer checks that a retrieval pipeline returns only documents the asking user may read, because access rules often sit outside the vector store. Test it by asking the candidate how they would prove a user cannot retrieve a document they lack access to, and what they would change if the check ran after retrieval. Strong answers describe a test case. A design alone is weak evidence.

Model and dependency supply chain review

The engineer reviews where model weights, plugins, MCP servers and libraries come from, and whether each has been checked before use. Test it by asking the candidate how they would decide whether a third-party MCP server is safe to connect to controlled systems. Look for named checks on source, pinned versions and the permissions the component requests.

Logging and monitoring of agent behavior

The engineer makes sure prompts, tool calls and the model's decisions are logged in a form that supports incident investigation. For controlled data, these logs also feed the incident reporting and forensic preservation that the contract clauses require. Test it by asking the candidate what they would log for one agent action and how they would reconstruct a suspicious session from those logs.

Questions to ask candidates

Situational questions for judging whether an AI security engineer can handle the scoping, incident and access-control work that defense and federal contract rules create.

Question to askA strong answer coversWarning sign
Before you test an LLM feature, how would you confirm which systems fall inside the CMMC or DFARS 252.204-7012 boundary?Starts from the data: which systems process, store or transmit controlled unclassified information or Federal Contract Information, and which systems protect them. Traces the feature's data flows, including vector stores, logs, model providers and third-party plugins. Asks who owns the boundary decision and records the scope before any testing.Starts testing the application without asking what data it touches. Treats the boundary as a question for compliance staff only. Assumes the model provider's hosting is out of scope without checking the contract.
Walk me through the logs you would preserve after a suspected compromise of an AI application that handles covered defense information.Captures prompts, tool calls, retrieval results, model responses, authentication events and the host and time of each. Preserves images and monitoring data in a way that supports forensic access. Mentions the rapid cyber incident report under DFARS 252.204-7012. Says the log must show what the agent did as well as what the user typed.Lists only web server or application logs. Does not mention retaining monitoring data or images. Plans to clean up or reset the system before collecting evidence.
How would you stop a retrieval pipeline from returning documents a user is not authorized to see?Enforces access checks at retrieval time, using the user's identity and the document's permissions. The front end alone is not enough. Mentions filtering the vector store query by access metadata, syncing permissions from the source system, and testing with users who lack access. Notes that the model can still leak content it was given, so the check belongs before the model sees the text.Relies on the prompt to tell the model not to reveal restricted content. Proposes a single shared service account for retrieval. Does not test the pipeline with a low-privilege user.
Show me how you would test an agent for indirect prompt injection in a document it reads.Plants an instruction in an outside document the agent will read, then observes whether the agent follows it and which tools it calls. Records the effect concretely, such as a changed action or a data send. Then reduces the agent's tool permissions and retests.Tests only direct prompts typed by the user. Reports that the model 'sometimes ignores' the injected text without showing a demonstrated effect. Does not look at what tools the agent can call.
How do you decide which permissions an agent's tools and MCP servers really need?Starts from the task and lists each tool's read, write and send capabilities. Removes anything the task does not need, separates credentials per tool, and requires authentication on the MCP server. Checks tool descriptions for instructions that could mislead the model.Grants broad access so the agent 'won't get blocked'. Treats the MCP server as trusted because it is internal. Does not review tool descriptions or the server's authentication.
How would you review the model and dependency supply chain for an LLM application in a NIST SP 800-171 environment?Checks where model weights, plugins, MCP servers and libraries come from, and whether they are pinned and verified. Ties the review to the supply chain risk management control family and to the vendor's obligations. Asks what the contract and flowdown requirements say about subcontractor systems.Assumes a widely used model or library is safe without checking its source. Does not mention version pinning or verification. Does not connect the review to the contract or to subcontractors.
Tell me about the last time you threat modeled an AI feature with a product team before launch. What changed?Describes a specific feature, the data it touched and the trust boundaries drawn. Names a concrete change, such as removing a tool, adding output filtering, or restricting retrieval. Explains how the decision was documented for the client's review.Describes only penetration tests run after release. Cannot name a change that came from the threat model. Treats the review as a checklist. Does not treat it as a design discussion.

Mistakes companies make when hiring for this role

  • Scoping the boundary too narrowly. Teams often scope the controlled information boundary to the main application and its database, and leave out the chatbot, the internal assistant or the agent that reads the same documents. Under the Cybersecurity Maturity Model Certification Program (32 CFR Part 170), any system that processes, stores or transmits controlled information, or protects such systems, can fall inside assessment. An AI feature that retrieves controlled documents is therefore in scope. Avoid it by having the engineer map every AI component, its data sources and its users to the boundary before the assessment starts, and by asking candidates how they have traced data flows through retrieval pipelines and model APIs.
  • Giving agent tools broader permissions than the task needs. Teams connect an agent to a file store, a mailbox or a ticketing system with read and write rights because it is quicker to set up. A successful prompt injection then has the same reach as the agent. Avoid it by asking the engineer to review each tool and each MCP server, cut permissions to what the task needs, and show the before and after. Ask candidates which tool permissions they would remove first and why.
  • Treating a generic AI security hire as ready to produce CMMC evidence. A strong AI security engineer can find prompt injection and fix excess permissions, but may not know how assessment evidence is organized, how NIST SP 800-171 control families map to an AI feature, or what DFARS clause 252.204-7012 requires after a cyber incident. Evidence and reporting are separate skills from application testing. Avoid it by pairing the AI security engineer with a compliance lead, and by using the CMMC guide on DeployOpen to scope what the compliance work covers. DeployOpen prepares a company's systems and evidence, and independent auditors and certification bodies issue any report.
  • Leaving flow-down requirements to subcontractors unchecked. Requirements in DFARS clause 252.204-7012 and in the Cybersecurity Maturity Model Certification Program flow down to subcontractors that handle covered information. Teams often assume a subcontractor's AI vendor or model provider meets them, and they do not check. Avoid it by asking the engineer to review every AI supplier, plugin and MCP server that touches controlled information, and by writing the flow-down obligations into subcontract terms before the work starts.

Questions hiring teams ask about this role

Which CMMC level and DFARS clause apply to an AI feature?

The answer depends on the information the feature touches, so decide that before you write the job description. The Cybersecurity Maturity Model Certification Program (32 CFR Part 170) sets requirements for systems that process, store or transmit Federal Contract Information or Controlled Unclassified Information, and for systems that protect them. DFARS clause 252.204-7012 applies where covered defense information sits on covered contractor information systems, and it requires cyber incident reporting and preservation of images and monitoring data. Your contracts officer and compliance adviser confirm which rules bind your contracts.

Can an AI security engineer own boundary scoping?

An AI security engineer can map how a model, retrieval pipeline, agent or MCP server connects to controlled information, and that map feeds the boundary decision. The boundary is still a decision for your compliance lead, because it sets which systems the assessment covers. Ask candidates to show how they trace data flows from a prompt or retrieval index to a system holding controlled information.

What access does the engineer need to test a retrieval pipeline?

The engineer needs a test environment that mirrors production retrieval, with the same document stores, access groups and vector store configuration. Access should be limited to what the test requires, and test data should not include controlled information unless your boundary and handling rules allow it there. Agree in advance how findings are logged and where test artifacts are kept, since those records may fall inside the boundary themselves.

How does the engineer work with our own assessor?

The engineer prepares technical evidence, such as configurations, test results and descriptions of agent tool permissions and guardrails, and your team or assessor decides what that evidence proves. DeployOpen prepares systems, controls and evidence for a compliance assessment as a separate, fixed-scope engagement, and does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those. Set one point of contact so questions from the assessor reach the engineer without delay.

Which candidates should you evaluate for this industry?

Look for engineers who can explain how prompt injection, excess tool permissions and retrieval access failures would reach systems that hold controlled information. Ask them to describe how they would reduce an agent's tools to what a task needs and how they would log prompts, tool calls and decisions for later review. Engineers DeployOpen places complete a CyberHire lab for the role, and you review the scored run, with its task timeline and command log, before you accept the engineer. You should also run your own interviews to test defense-sector fit.

Should we hire one AI security engineer or a team?

One engineer can cover a narrow AI feature with a limited tool set, but a program with several agents, MCP servers and retrieval systems usually needs more depth. Pair the AI security engineer with an application security engineer for the application code and a security architect for the boundary and cloud design. Hire the AI security engineer first if your main exposure is a new LLM feature, and hire the architect first if boundary scoping is your open problem.

Which rules shape the work beyond CMMC?

NIST SP 800-171 Revision 3 sets controls for controlled unclassified information in nonfederal systems, including access control and incident response, and FAR clause 52.204-21 sets basic safeguarding for contract information systems. Defense suppliers in the United Kingdom work to Def Stan 05-138 Issue 4, which sets cyber controls by risk profile and requires flow-down to subcontractors. Cloud services handling covered defense information need to meet the FedRAMP-equivalent requirement in the DFARS clause. Your legal and compliance advisers should confirm which of these apply to each contract.

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

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.