Most Security Considerations sections say almost nothing: a line about using TLS, a note that implementers should be careful, and no statement of what the design actually defends against. RFC 3552, written by E. Rescorla and B. Korver with the IAB and published in July 2003 as BCP 72, is still the IETF's reference guidance for fixing that, and its threat model works just as well for API specifications, internal design documents and industry standards outside the IETF. This guide explains what RFC 3552 requires, how its passive and active attacker model works, and gives a reusable section skeleton plus a worked outline for an API specification. It is written for protocol designers, API architects and standards contributors who need a section that reviewers and implementers can act on.
Key takeaways
- RFC 3552 is still current. As checked on the IETF datatracker in November 2026 it is BCP 72, updated by RFC 8996 and RFC 9416, not obsoleted; the only rfc3552bis draft (draft-nir-saag-rfc3552bis-00, 2016) has expired.
- Assume the attacker owns the network. The model assumes end systems are not compromised while the attacker has nearly complete control of the channel, and splits threats into passive (read) and active (write) attacks.
- Scope is the core deliverable. Authors must say which attacks are out of scope and why, and for every in-scope attack whether the design is susceptible and how it protects against it.
- "Run it over TLS" is not an analysis. If you rely on a lower layer, the RFC requires you to state which protections that layer must provide and what the combined system then achieves.
- Privacy is a separate lens. RFC 6973 adds threats such as correlation, identification and secondary use that a classic confidentiality and integrity analysis misses.
What RFC 3552 asks for
RFC 3552 starts from a simple observation: every RFC must contain a Security Considerations section, and historically those sections have been weak. It sets out the security goals a protocol may need, the threat model to analyse against, and then, in Section 5, what authors must write. The document's status and its two updates matter when you cite it:
| Document | Status | What it changes for authors |
|---|---|---|
| RFC 3552 (July 2003) | Best Current Practice, BCP 72 | The base guidance: goals, Internet threat model, required content of the section |
| RFC 8996 (2021) | Best Current Practice, updates RFC 3552 | Deprecates TLS 1.0 and TLS 1.1, so examples that relied on them are no longer acceptable |
| RFC 9416 (July 2023) | Best Current Practice, part of BCP 72 | Requires analysis of transient numeric identifiers (sequence numbers, IDs, nonces): interoperability requirements, a vulnerability assessment and a generation algorithm |
| draft-nir-saag-rfc3552bis-00 (2016) | Expired Internet-Draft | None. Do not cite it as a replacement |
RFC 3552 describes three communication security goals: confidentiality (keeping data from unintended listeners), data integrity (the data received is what was sent) and peer entity authentication (the other end is who it claims to be, called data origin authentication when applied to messages). It also covers non-repudiation and systems security, which includes unauthorised usage, inappropriate usage and denial of service. A good section names which of these goals the design claims and which it deliberately does not.
Section 5 contains the binding language. Authors MUST describe which attacks are out of scope and why, and which are in scope, with susceptibility and protection for each. At least eavesdropping, replay, message insertion, deletion, modification and man-in-the-middle MUST be considered, and potential denial of service attacks MUST be identified. Authentication methods must be specified along with the assumptions their security depends on. The threat environment MUST at a minimum include deployment across the global Internet, so "inside the firewall" is not an acceptable assumption. Residual risk after mitigation should be described, and so should the risks of misapplying the protocol.
The Internet threat model
The model in Section 3 is deliberately harsh: assume the end systems are sound but the attacker controls the path between them. This is what makes it portable to any networked specification. It separates attackers by what they can do to traffic.
| Attack class | RFC 3552 examples | Typical mitigation to state in the section |
|---|---|---|
| Passive: confidentiality violation (3.2.1) | Sniffing card numbers or email sent in clear | Encryption of the channel or the object, with the algorithm or profile named |
| Passive: password sniffing (3.2.2) | Capturing reusable credentials, then replaying them | No reusable secrets on the wire; challenge-response or token binding |
| Passive: offline cryptographic attack (3.2.3) | Dictionary attack on captured challenge-response exchanges | High-entropy keys rather than passwords; protected key exchange |
| Active: replay (3.3.1) | Resending a valid captured message | Nonces, timestamps with a defined window, sequence numbers |
| Active: insertion, deletion, modification (3.3.2 to 3.3.4) | Injecting forged messages, dropping or altering messages | Message authentication (MAC or signature) covering every security-relevant field |
| Active: man-in-the-middle (3.3.5) | Impersonating each party to the other | Authenticated key exchange; how identities are bound to keys |
| Denial of service (2.3.3, 4.6) | Resource exhaustion, for example TCP SYN floods | Stateless first exchange, cookies, rate limits, cost asymmetry analysis |
The RFC also discusses topology: an on-path attacker sees and can alter traffic, an off-path attacker must guess values such as sequence numbers or ports to inject blind traffic. That distinction is exactly where RFC 9416 becomes relevant, because predictable identifiers turn a blind off-path attacker into an effective one. Since 2014, RFC 7258 (BCP 188) adds that pervasive monitoring is itself an attack that protocol designs should mitigate, so a modern section should say how the design reduces metadata exposure, not only content exposure.
The model's main limit is its assumption that endpoints are not compromised. For APIs and agent platforms, a stolen bearer token or a compromised client is often the realistic attacker. Domain-specific attacker models extend RFC 3552 for that reason: RFC 9700 (BCP 240, the OAuth 2.0 Security BCP) defines attackers A1 to A5, from a web attacker who runs their own clients and servers to an attacker who obtains a valid access token. Borrow that pattern when your specification has more than two parties.
Structuring a Security Considerations section
The skeleton below satisfies RFC 3552 Section 5 and stays readable. Use it as the section's subheadings. Each item should be short and specific; a two-page section that names concrete fields beats ten pages of generic text.
- Security goals and non-goals: which of confidentiality, integrity, peer authentication, non-repudiation and availability the design provides, and for which messages or fields.
- Assumptions and trust model: parties, what each is trusted to do, how keys and credentials are provisioned, what is assumed of lower layers (for TLS, name the minimum version and profile, for example by reference to RFC 9325).
- Attacks out of scope: each one with a reason, for example "compromise of the authorisation server" or "traffic analysis of message sizes".
- Passive attacks: eavesdropping, credential capture, offline attacks; what an observer learns, including metadata.
- Active attacks: replay, insertion, deletion, modification, man-in-the-middle; mechanism and the fields it covers.
- Denial of service: state held before authentication, amplification factors, expensive operations an unauthenticated peer can trigger.
- Authentication and key management: methods, the assumptions each depends on, credential lifetime, rotation and revocation.
- Identifiers: per RFC 9416, uniqueness and predictability requirements for every transient numeric identifier and the recommended generation method.
- Residual risks and misapplication: what remains after mitigation and what goes wrong if implementers or deployers use the protocol outside its intended setting.
- Privacy considerations: a pointer to a separate section, or a short subsection using the RFC 6973 threats.
Write mitigations with normative keywords (MUST, SHOULD) in the main body of the specification and explain them in Security Considerations. A requirement that exists only in the security section is easily missed by implementers.
Applying it to APIs and non-IETF specifications
An HTTP API specification, an OpenAPI description with design notes, or an industry message standard has the same parties and the same network attacker. What changes is that the realistic threats include stolen tokens, abusive but authenticated clients and confused deputies between services. The W3C Security and Privacy Questionnaire (a Group Note, 18 April 2025) takes the same position for web features: authors should use its answers to inform their own Security Considerations and Privacy Considerations sections, and its threat model covers passive and active network attackers, same-origin policy violations, third-party tracking and legitimate misuse.
An example outline for a payments-style REST API specification:
- Goals: integrity and origin authentication of every request that changes state; confidentiality of account data in transit; no claim of non-repudiation unless requests are signed.
- Trust model: clients are confidential server-side applications holding OAuth 2.0 client credentials; the API trusts the authorisation server's tokens; TLS 1.2 or higher per RFC 9325.
- Out of scope: compromise of the client's host; insider abuse at the API provider; traffic analysis of request timing.
- Passive attacks: tokens and account numbers never appear in URLs or query strings, because these are logged by intermediaries.
- Active attacks: replay of payment creation is prevented by a required idempotency key with a defined retention window; modification is prevented by TLS, plus request signing if intermediaries terminate TLS.
- Stolen token: access tokens are short-lived and sender-constrained (mTLS or DPoP); refresh tokens are rotated. See the Client ID and Client Secret Guide.
- Authorisation: every object identifier is checked against the caller's authority, because unpredictable IDs alone do not prevent object-level authorisation failures.
- Denial of service: pagination limits, maximum body sizes, rate limits per client and the cost of each search endpoint.
- Identifiers: resource IDs are random, not sequential, so they do not reveal volumes or allow enumeration.
- Residual risk: a compromised client can make any request its scopes allow; scope design is therefore part of the security model.
For the controls themselves, see the API Security Guide and the API Security Checklist. The specification's job is to state them as requirements and explain the threat each one answers. STRIDE (spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege) is a useful cross-check: RFC 9416 itself lists the same six categories for its identifier vulnerability assessment.
Privacy considerations (RFC 6973)
RFC 6973 (IAB, Informational, July 2013) complements RFC 3552. It does not make a Privacy Considerations section mandatory: whether one is needed depends on the document's content, and some documents can cover privacy within Security Considerations. Its value is its threat list and its questionnaire.
| RFC 6973 threat group | Threats | Question to answer in the specification |
|---|---|---|
| Combined security and privacy | Surveillance, stored data compromise, intrusion, misattribution | What does an observer of the traffic learn, and what is retained by each party? |
| Privacy specific | Correlation, identification, secondary use, disclosure, exclusion | Which identifiers persist across sessions or recipients and allow linking? Can users see or control what is shared? |
Its mitigations fall into data minimisation (limit collection, retention and identifiability, including pseudonymity), user participation and security. Section 7 groups its guidance questions under the same headings plus a general group asking whether default settings protect privacy. For API authors, the practical questions are which identifiers are exposed to which observers, how long each persists, and whether intermediaries such as gateways or analytics services see more than they need. See the Privacy by Design Guide for Engineering Teams for the wider practice.
Common weaknesses in security sections
- The one-line delegation: "This protocol MUST be run over TLS." RFC 3552 states plainly that this is insufficient; the section must say what TLS is expected to provide and what remains, such as authorisation and replay at the application layer.
- No out-of-scope list: reviewers cannot tell whether an attack was considered and rejected or never considered. Every omission becomes a review comment or, worse, an implementer's assumption.
- Endpoint trust taken for granted: the base model assumes uncompromised endpoints, but for bearer tokens and API keys theft is the main threat. State token lifetime, binding and revocation.
- Predictable identifiers: sequential IDs, timestamps or counters that let off-path attackers guess values or enumerate objects. RFC 9416 now requires this analysis.
- Denial of service ignored: unauthenticated requests that allocate state or trigger expensive work, or responses much larger than requests, which create amplification.
- Stale cryptographic references: citing TLS 1.0 or 1.1 or algorithms since deprecated; reference a maintained BCP such as RFC 9325 rather than freezing a cipher list in the text.
- Requirements hidden in prose: security mechanisms explained only in Security Considerations, with no normative requirement in the protocol body, so conformance tests never check them.
Review process and measurement
Treat the section as a design artefact, not end-of-drafting text. A workable sequence:
- Write the goals, trust model and out-of-scope list before the message formats are fixed, so mechanisms can be designed in.
- Walk every message through the passive, active and denial of service rows above, and record the result for each field.
- Run the RFC 6973 or W3C questionnaire for privacy, and the RFC 9416 assessment for each identifier.
- Ask for an independent review (in the IETF, the Security Area Directorate; internally, an AppSec reviewer) and record each finding with its resolution.
- Turn every normative security requirement into a conformance or integration test case.
- Revisit the section when a dependency changes, for example a new TLS BCP or a deprecated algorithm.
Useful measures for a specification programme: the share of specifications with an explicit out-of-scope list; the number of security findings raised in review that trace back to a missing threat; the share of normative security requirements covered by tests; security defects found after publication per specification; and time since the section was last reviewed against current BCPs.
In control frameworks this work sits under NIST SP 800-53 SA-8 (Security and Privacy Engineering Principles), SA-17 (Developer Security and Privacy Architecture and Design) and SA-11 (Developer Testing and Evaluation); NIST CSF 2.0 PR.PS-06 (secure software development practices integrated into the life cycle); CIS Controls v8.1 Control 16 (Application Software Security), including safeguard 16.14 on threat modelling; and ISO/IEC 27001:2022 Annex A 8.27 (secure system architecture and engineering principles).
Practitioner checklist
- Cite RFC 3552 as BCP 72 with its updates (RFC 8996, RFC 9416), and confirm on the datatracker that nothing has obsoleted it.
- State security goals and non-goals per message or field, not for the protocol as a whole.
- List out-of-scope attacks with a reason for each.
- Cover eavesdropping, replay, insertion, deletion, modification, man-in-the-middle and denial of service explicitly.
- Specify what each lower layer must provide, naming a maintained profile such as RFC 9325 for TLS.
- Document authentication assumptions, credential lifetime, binding and revocation.
- Assess every transient numeric identifier for predictability per RFC 9416.
- Answer the RFC 6973 privacy questions, and add a Privacy Considerations section where data about people is exposed.
- Describe residual risk and misapplication risk honestly.
- Back every security mechanism with a normative requirement and a test case.
Standards and references
- IETF: RFC 3552 Guidelines for Writing RFC Text on Security Considerations (BCP 72)
- IETF Datatracker: RFC 3552 status and updates
- IETF: RFC 9416 Security Considerations for Transient Numeric Identifiers Employed in Network Protocols
- IAB: RFC 6973 Privacy Considerations for Internet Protocols
- IETF: RFC 7258 Pervasive Monitoring Is an Attack (BCP 188)
- IETF: RFC 9325 Recommendations for Secure Use of TLS and DTLS (BCP 195)
- IETF: RFC 9700 Best Current Practice for OAuth 2.0 Security (BCP 240)
- W3C: Self-Review Questionnaire: Security and Privacy
Related NHI Mgmt Group resources: API Security Guide · Network Threat Modelling Guide · Privacy by Design Guide for Engineering Teams · API Security Checklist