Skip to content

Add umbrella threat model + SECURITY.md + AGENTS.md for security-model discoverability#352

Merged
elecharny merged 2 commits into
apache:masterfrom
potiuk:asf-security/threat-model-2026-05-31
Jun 2, 2026
Merged

Add umbrella threat model + SECURITY.md + AGENTS.md for security-model discoverability#352
elecharny merged 2 commits into
apache:masterfrom
potiuk:asf-security/threat-model-2026-05-31

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented May 31, 2026

This is a draft proposal for the Directory PMC to review — please correct, reject, or discuss as needed. Nothing here is a requirement; the maintainers are the decision-makers, and this describes the project as the PMC says it is.

This PR adds the Apache Directory umbrella THREAT_MODEL.md (hosted here in directory-server) plus SECURITY.md and AGENTS.md, wiring AGENTS.md -> SECURITY.md -> THREAT_MODEL.md. The other nine in-scope repos (directory-ldap-api, directory-kerby, the four directory-fortress-*, directory-scimple, directory-mavibot, directory-studio) get discoverability pointers to this umbrella in companion PRs.

The model captures the shared trust boundary across the stack — a network service that authenticates a remote principal and authorizes its requests over a wire protocol (LDAP / Kerberos / SCIM / REST) — with per-domain addenda where the surface diverges (LDAP bind/ACI, Kerberos KDC crypto, Fortress RBAC/SoD, SCIM, MVCC storage).

Draft-first, mostly inferred (~18 documented / 0 maintainer / ~70 inferred); every *(inferred)* claim routes to a numbered §14 question, grouped by domain. The wave-1 rulings decide VALID-vs-misconfiguration across the stack:

  • LDAP: is anonymous/unauthenticated access off by default?
  • Kerberos: are weak enctypes (RC4/DES) disabled and preauth required by default?
  • Fortress / SCIM: do the REST endpoint, web console, and SCIM endpoints require authentication (+ TLS) by default?

A meta question (§14 q10): would the PMC rather have Kerby / Fortress / SCIMple each carry their own full model (they are semi-independent products) instead of the umbrella? Proposed: umbrella + pointers now, split later if preferred.

Context: the ASF Security team is preparing the project for an automated agentic security scan we're piloting. Drafted via the threat-model-producer rubric. If you'd rather author it yourselves, close this PR and we'll regroup.

potiuk added 2 commits May 31, 2026 03:45
…odel discoverability

Adds a draft (v0) umbrella threat model for the Apache Directory identity stack
(shared trust model with per-domain addenda for LDAP, Kerberos, Fortress RBAC,
SCIM, and MVCC storage), plus SECURITY.md and AGENTS.md, so an automated scan
agent can discover it via AGENTS.md -> SECURITY.md -> THREAT_MODEL.md. The model
is a proposal for the PMC to review; most claims are (inferred) and route to open
questions in its section 14.

Generated-by: Claude Code (Claude Opus 4.8)
Generated-by: Claude Opus 4.8 (1M context)
@elecharny elecharny merged commit ad9697f into apache:master Jun 2, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants