Skip to content
BIG TECH

Meta AI Security Engineer interview questions

Meta hires security engineers for AI security threat analysis and reporting, and engineering managers for teams using AI to scale security. Its security engineering loop is better documented than its AI-specific teams.

The Meta AI Security Engineer interview process

Partial public data

Public guidance on the Meta AI Security Engineer interview experience, including round formats and preparation priorities. Last reviewed November 4, 2026.

Historical candidate and employee accounts for general security engineering. These are not confirmed AI security rounds.

  1. 1
    Initial screenReported by Meta employees to usually include a coding question and a technical security component.
  2. 2
    Onsite loopReported to include security system design, two coding interviews, a behavioural interview and security code review, with a focus on either native or web security that shapes the technical rounds.
WHAT THEY'RE EVALUATING
  • Coding for security tasks
  • Security system design
  • Secure code review
  • Threat modeling a sample application

Reports date from 2023 and 2024 and describe security engineering generally, not AI security teams.

Sources and review scope

Compiled from the company's careers pages and candidates' public accounts, all linked in Sources above. Different teams at one company, such as red team, product security and research, may interview differently, and the process varies with level and location. Plan with this, then confirm your own rounds with the recruiter.

Meta AI Security Engineer salary

Each figure cites where it came from. If we found no posted or aggregated range for this company, we say so and leave the figure out.

POSTED BY META
$147K - $208KbaseEmployer posting

This band covers the title Security Engineer, AI Security Threat Analysis and Reporting. Compare it only with that title. One posting frequently spans several levels, so the top of a wide range reflects the most senior hire, not a typical offer.

Employer-posted Menlo Park base range read via a job-board mirror on 4 November 2026; the posting date could not be confirmed.

Every posted band we have, by employer and level, is in the AI security engineer salary guide.

Questions modeled on Meta loops

126 questions · 20 unlocked for you

More from the tracks Meta's loop tests

The most-voted questions from Meta's other rounds.

8 questions · 4 unlocked for you

Go deeper on the topics Meta's loop tests

The tracks that map to a Meta AI Security Engineer loop, ordered easy to hard.

The concepts Meta's AI Security Engineer loop assumes you know

What a Meta interviewer expects you to reason from without being told: memory traffic, KV sizing, scheduling, parallelism. Foundation concepts are free to read, the advanced ones need Premium.

SECURITY FOUNDATIONS

Foundational
Trust Boundaries, Assets and AdversariesSecurity reasoning starts with three questions: what is worth protecting, who could want it and with what ability, and where data or control crosses from one level of trust to another. A trust boundary marks a change in authority or trust. Reviewing the checks at those crossings helps explain failures such as SQL injection and prompt injection.
Foundational
Confidentiality, Integrity, Availability and AuthenticitySecurity controls exist to protect a small set of properties: confidentiality (only the right parties can read), integrity (nothing changes without authority), availability (the system works when needed) and authenticity (you know who or what you are dealing with). Naming the property a control protects is the fastest way to see what it does not protect, and AI systems put new pressure on every one of them.
Foundational
Threat Modeling with Data-Flow Diagrams and STRIDEThreat modeling is a structured way to find what can go wrong in a design before it is built. Draw a data-flow diagram, mark the trust boundaries, and walk each element through STRIDE: spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. The output is a list of specific threats, each with a decision: mitigate, accept, transfer or remove the feature.
Advanced🔒 Premium
Threat Modeling AI SystemsThreat modeling an LLM application uses the same data-flow diagram and STRIDE walk as any system, with new elements drawn in: the context assembler, retrieval stores, the tool layer, memory, and the model and its supply chain. Two adjustments make it work. Annotate every input to the context with its author, because any author can steer the model. And classify every control as deterministic or probabilistic, because only deterministic controls can carry a boundary.

APPLICATION SECURITY

Foundational
Injection VulnerabilitiesInjection happens when data from an untrusted source is combined with code for an interpreter, such as a SQL engine, a shell or a template engine, and the interpreter treats part of the data as instructions. The structural fix is to keep code and data in separate channels: parameterised queries, argument arrays instead of shell strings, sandboxed templates. Prompt injection is the same failure in an interpreter that offers no separate channel, which is why its defences look different.
Foundational
Cross-Site Scripting and Output EncodingCross-site scripting (XSS) is injection into a browser: attacker-controlled content ends up in a page as executable script, running with the site's origin and the victim's session. It comes in stored, reflected and DOM-based forms. The fixes are contextual output encoding (frameworks do this by default), sanitisation when HTML must be rendered, and a strict Content Security Policy as a second layer. Chat interfaces that render model output as HTML or Markdown are a new and common source.
CoreSign in
Content Security Policy in DepthA Content Security Policy is a response header the browser enforces for one document: it decides which scripts, styles, frames and connections the page may use, blocks the rest and can report violations. Host allowlists failed in practice because allowed domains host code an attacker can reuse. A strict policy trusts scripts by per-response nonce or by hash, propagates trust with strict-dynamic, and adds object-src and base-uri. Trusted Types closes DOM sinks. CSP limits XSS impact; it does not fix XSS or stop data leaving.
Advanced🔒 Premium
How Browsers Separate Origins: SOP, CORS and CSRFThe same-origin policy lets a page send requests almost anywhere but stops its script reading responses from other origins. CORS is the server's way to relax that read restriction for chosen origins; it never stops a request being sent. CSRF is the attack that exploits sending: a cross-site page makes the victim's browser submit a request with the victim's cookies. The defences are separate: exact CORS allowlists for reads, and for writes a CSRF token, Fetch Metadata checks, strict content types and SameSite cookies as defence in depth.

RED TEAMING & RESPONSE

SYSTEMS & OS SECURITY

Foundational
How the Kernel Isolates ProcessesThe CPU runs applications in an unprivileged mode and the kernel in a privileged one. Each process gets its own virtual address space through page tables only the kernel can change, plus credentials and handles the kernel checks on every request. Programs reach privileged operations only through system calls, where the kernel must treat every argument as hostile. Isolation is deliberately relaxed through debugging interfaces, shared memory and IPC, and it collapses entirely if the kernel itself is exploited, which is why containers sharing one kernel are a weaker boundary than virtual machines.
CoreSign in
Secure Boot, Measured Boot and Remote Attestation in DepthSecure boot enforces: each stage runs the next only if it is signed and not revoked. Measured boot records: each stage extends a hash into a TPM register, blocking nothing by itself. Attestation proves that record to a remote verifier with a fresh nonce. A patched but still-signed boot component stays usable until it is revoked, which is why BlackLotus worked. PCR values break on every update, so policies use event logs or signatures. Confidential AI uses the same chain to release model weights only to attested machines.
Foundational
The Linux Privilege Model: Permissions, setuid, Capabilities and MACLinux decides what a process may do in layers. Discretionary permissions (owner, group, others, plus ACLs) are set by the owner of each file. setuid and setgid executables run with their owner's identity, which makes every one an escalation surface. Capabilities split root into about forty separately grantable powers, some of which are nearly root on their own. Mandatory access control (SELinux, AppArmor) adds a system-wide policy no process can change. Hardening a service means working through all four layers, not just making sure it is not UID 0.
Advanced🔒 Premium
Active Directory Attack Paths and How Tiering Breaks ThemActive Directory compromises usually follow a path: a phished user, a shared local administrator password, a privileged credential cached on a workstation, a relayable authentication or a misconfigured certificate template, and then control of the domain. Each step is an edge in a graph, and defence means removing edges: Windows LAPS for unique local passwords, Protected Users and Credential Guard for privileged credentials, signing, channel binding and EPA against NTLM relay, careful AD CS templates, and an administrative model in which higher planes are never controlled from lower ones.

MOBILE SECURITY

Foundational
The Mobile Platform Security ModelAndroid and iOS both isolate each app in a sandbox, identify apps by their signatures, gate sensitive resources behind permissions or entitlements, and offer hardware-backed key storage. Android isolates apps with per-app Linux user IDs and SELinux and allows sideloading and vendor-controlled updates; iOS uses a kernel-enforced sandbox profile, mandatory code signing and central distribution. Both models protect apps from other apps, not from a device owner with root or a jailbreak, which is why mobile security designs keep authoritative decisions on the server.
Foundational
Protecting Data on Mobile DevicesMobile apps protect data by storing as little as possible, keeping keys in the Android Keystore or iOS Keychain and Secure Enclave, encrypting what must persist with those keys, and choosing protection classes that keep secrets out of backups and inaccessible while the device is locked. Hardware backing stops keys being copied off the device, but not their use by a compromised app. Most real leaks bypass storage entirely: logs, crash reports, analytics SDKs, backups, app-switcher screenshots, the clipboard, keyboard caches, URLs and notifications.
CoreSign in
Mobile IPC, Deep Links and WebViews as Attack SurfaceMobile apps expose entry points that other apps and web pages can reach: Android activities, services, receivers and content providers; deep links and custom URL schemes on both platforms; and WebViews with JavaScript bridges into native code. Each is an API with an untrusted caller. Typical bugs are missing authorization on exported components, intent redirection where the app forwards attacker intents with its own identity, content-provider path traversal, custom schemes claimed by malicious apps to steal OAuth codes, deep links that perform actions without confirmation, and WebView bridges reachable from untrusted pages. Fixes are the API-security basics applied on the phone: minimal exposure, verified identity, validated input and explicit confirmation.
Advanced🔒 Premium
WebView Security: A Browser With Your App's IdentityA WebView is a browser engine inside an app, with no address bar and whatever powers the app adds. Most WebView bugs come from three choices: a JavaScript bridge exposed to every frame, file and content access that let a page read local data, and loading content the app does not control, such as deep-link URLs and model-generated HTML. The defences: separate trusted and untrusted content, give local files a real origin, use origin-restricted message channels, and send external links and login to the system browser.

Where to apply, and official Meta resources

Straight from Meta: open roles and the company's own hiring guidance. Prep here, then apply there.

External links to Meta's own pages. Roles and processes change; always confirm on the official site.

ABOUT THE ROLE
META INTERVIEW FAQ
What is the Meta AI Security Engineer interview process?▲

Historical candidate and employee accounts for general security engineering. These are not confirmed AI security rounds. Stages: Initial screen → Onsite loop. Key focus: Coding for security tasks. Based on the public sources linked on this page. Interview formats change, so confirm yours with the recruiter.

Does Meta hire AI security engineers?▼
What is the Meta AI security interview process?▼
What does Meta pay for AI security roles?▼

Walk into your Meta AI Security Engineer interview ready

A single bank spans every round, from threat modeling and code review to designing secure agents, and every answer begins with what an attacker wants. Start with the free answers and see whether the depth fits.

Every worked answer in all 17 topics, every lesson in every course, the full concept curriculum, the complete practice-test bank, and the downloadable security field guides.

6 months · One payment · No auto-renewal

Or create a free account to unlock more free answers per topic.

Other AI Security Engineer interviews to prep

Companies whose loops test the same tracks as Meta's.

Independent and not affiliated with Meta. All trademarks belong to their owners.