Add THREAT_MODEL.md + AGENTS.md/SECURITY.md discoverability chain (draft for PMC review)#994
Add THREAT_MODEL.md + AGENTS.md/SECURITY.md discoverability chain (draft for PMC review)#994potiuk wants to merge 6 commits into
Conversation
…aft for PMC review) Generated-by: Claude Code
|
Thank you @potiuk for preparing this, it's a good starting point for the PMC to own and refine. Please find below answers to the open questions in §14. Wave 1 — Scope, defaults, and the decisions that reshape everything
Wave 2 — Trust boundaries and authentication
Wave 3 — Properties, resources, and KMS
Wave 4 — Misuse, non-findings, and ownership
|
The PMC (Abhishek Kumar) answered all 20 §14 open questions on 2026-06-12. This promotes the confirmed claims to (maintainer, 2026-06-12), records the answers in §14, and applies the substantive corrections: no-match default = deny (except HDFS native-ACL fallthrough); ranger-examples + ranger-tools are IN scope; plaintext HTTP is the supported default; admin password is mandated at install (no default-password posture); added Auditor + Key Admin roles; Byzantine-plugin full-trust and side-channel/KMS/audit dispositions confirmed. Generated-by: Claude Opus 4.8 (1M context)
|
Thanks @kumaab — these answers are exactly what turns a v0 draft into a real model. I've folded all 20 into the model and pushed an update to this PR:
Please give it a final read — if it looks right, this is ready for the PMC to merge and own. Thanks again for volunteering to steward it. |
This is a proposal for the Apache Ranger PMC to review — please correct, reject, or discuss as needed. The maintainers are the decision-makers; nothing here is a requirement.
This PR proposes a draft v0 threat model for Apache Ranger, plus the conventional
AGENTS.md → SECURITY.md → THREAT_MODEL.mddiscoverability chain (Ranger currently has noSECURITY.md). Context: the ASF Security team is preparing the project for an automated agentic security scan we're piloting; such scans need the model to be mechanically discoverable, and run far less noisily when a model exists. The Security team reached out separately on the PMC's private list with the program details.The model is written from Ranger's own public artefacts (README, ranger.apache.org, the FAQ, the public REST API docs, the repo layout) and focuses on the high-value boundaries: the policy decision/distribution path (Admin authors → plugins pull + cache), the Admin REST API, the trust placed in the per-service plugins (PEPs), and Ranger KMS.
Every claim carries a provenance tag:
Because this is v0 with no maintainer input yet, it's mostly (inferred). Every (inferred) claim has a matching question in §14 "Open questions" (20 questions in 4 waves). The fastest path: walk §14 and reply confirm / correct / strike per line — react, don't compose. We fold your answers in and the (inferred) tags become (maintainer).
A few decisions reshape the whole model — Wave 1 especially: the no-match default (deny vs. fall-through to native ACLs), the transport-security default, and the default admin credential. Those three most determine which reports are real findings vs. by-design.
If the PMC would rather author the model yourselves, close this PR and we'll wait — this is a starting point, not an imposition.