Join our Newsletter — 33% off our NHI Course

FAPI 2.0 Attacker Model

The Attacker Model is the foundation of FAPI 2.0. It defines the attacker types and security goals that the other profiles must address, so implementations can be analysed against specific threats rather than a vague compliance level. This makes the security requirements easier to reference, test, and reason about consistently.

What the Attacker Model Establishes

FAPI 2.0’s attacker model is the reference point for interpreting the rest of the profile set. It names the threat assumptions and security objectives that implementations are expected to withstand, so requirements can be tested against concrete attacker capabilities instead of vague “secure enough” claims.

This matters because the model does not exist as background commentary, it defines the security boundary for the standard. If an implementation is only resilient under weaker assumptions than the model allows, the profile may still look compliant on paper while remaining fragile in practice.

Why the Model Matters for Security Analysis

The attacker model gives architects and testers a shared baseline for evaluating OAuth and FAPI deployments. It helps separate controls that are merely defensive in general from controls that specifically address the adversary types and attack paths the standard is designed to resist.

That makes the model useful for threat modelling, test planning, and interpreting exceptions. When teams understand the attacker assumptions up front, they can judge whether a requirement is compensating for a real threat or simply repeating a generic best practice.

For readers mapping this to broader control thinking, the model aligns naturally with NIST AI Risk Management Framework only in the limited sense that both start from a threat-and-consequence view, but FAPI 2.0 is much more specific about protocol abuse and authorization threats.

How It Shapes FAPI 2.0 Requirements

The attacker model influences which security requirements appear in the profiles and how strict they are. It supports decisions around sender-constrained tokens, authorization code handling, client authentication, redirect integrity, and resistance to token theft or replay.

In practice, the model turns FAPI into an evaluable specification. Security controls can be checked against a defined attacker profile, which makes conformance testing more consistent and makes it easier to explain why a control exists beyond “the profile says so”.

That same logic is reflected in the underlying OAuth security ecosystem, where protocol-specific abuse cases are treated as first-class design concerns. Teams implementing FAPI should read the attacker model as a guide to the attacks the surrounding controls are trying to contain, not as an abstract glossary note.

Reading the Model as a Threat Boundary

The most important takeaway is that the attacker model is not just descriptive, it is normative. It sets the line between acceptable and unacceptable assumptions, which is why it sits at the foundation of the profile family rather than alongside optional guidance.

When the model is misunderstood, teams often overtrust the client, the browser, the redirect path, or bearer tokens, and then discover that the implementation fails under realistic interception, injection, or replay conditions. The model exists to prevent that category of false confidence.

For a broader protocol-security reference point, OWASP API Security Top 10 is useful because it frames comparable authorization and token-handling failure modes, even though FAPI’s attacker assumptions are narrower and more prescriptive.

Risk and Threat Considerations

The main risk is underestimating the attacker the profile assumes. If implementers design for a weaker adversary than the model describes, the deployment may remain vulnerable to token theft, code interception, replay, or abuse of authorization flows even when it appears standards-aligned.

Failure mechanism: Security decisions drift away from the specified attacker capabilities, so defensive controls no longer match the real attack paths the profile is meant to block.

Impact: The result can be authorization compromise, session or token misuse, and false confidence in a deployment that passes surface-level checks but fails under realistic protocol abuse.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP API Security Top 10 API2 — Broken Authentication FAPI attacker assumptions center on auth and token abuse in API-style flows
Recommendation — Test authorization and token handling against broken authentication abuse paths.
NIST SP 800-53 Rev 5 IA-2 — Identification and Authentication (Organizational Users) The model informs how identities must be authenticated before protocol trust is granted
IA-5 — Authenticator Management The model depends on secure handling of secrets, tokens, and authenticators
AC-6 — Least Privilege The model supports limiting what a compromised client or token can do
Recommendation — Require strong user authentication before accepting FAPI-driven authorization requests. Manage and protect credentials and authenticators used in FAPI deployments. Constrain client and token privileges to the minimum needed for the flow.
NIST SP 800-63 Digital Identity Guidelines FAPI attacker assumptions intersect with digital identity assurance and phishing-resistant auth
Recommendation — Align authentication assurance and phishing resistance with the intended trust model.

Practitioner Guidance

Why practitioners should care: The attacker model should be treated as a design input, not a footnote. It determines what “secure implementation” means for FAPI 2.0 and should shape review, testing, and exception handling from the outset.

What to watch for: Watch for teams that validate only happy-path OAuth flows, or that assume generic TLS and login security are enough without checking the profile’s required attacker-resistant properties. The model is most valuable when it is used to challenge those assumptions early.