Add threat model + security-model discoverability (AGENTS.md → SECURITY.md → THREAT_MODEL.md)#3324
Open
potiuk wants to merge 1 commit into
Open
Add threat model + security-model discoverability (AGENTS.md → SECURITY.md → THREAT_MODEL.md)#3324potiuk wants to merge 1 commit into
potiuk wants to merge 1 commit into
Conversation
…TY.md → THREAT_MODEL.md) Generated-by: Claude Code
Member
Author
|
This is the right model proposal :) |
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the Apache bRPC threat model + security-model discoverability
This lands the bRPC threat model in-repo and wires up the discoverability
chain so automated security tooling (and human triagers) can mechanically find
it:
THREAT_MODEL.md— the threat model, first drafted by the ASF SecurityTeam and revised by @wwbmmm (Weibing Wang) on the PMC side. This PR puts
that reviewed model under version control in the repo rather than in a gist.
SECURITY.md— points reporters at the threat model + the ASF securityreporting process.
AGENTS.md— aSecuritysection linkingSECURITY.md → THREAT_MODEL.mdso an automated reviewer can follow the chain.
This is a draft for the PMC to finalize — review welcome here
@wwbmmm already did a substantial revision pass (streamlined the original
draft, answered the §14 open questions). Landing it in-repo as a PR is the
"one more look" before it's final — please refine directly here.
Two simplifications @wwbmmm flagged are best done as review on this PR (left to
the author rather than applied unilaterally):
-immutable_flags//flagspoint currently appears in the §5a config table, the §5ainsecure-default summary, §9 D13, §11 M14, and §14 Q46. Decide which homes
are load-bearing and trim the rest.
trust boundaries are defined and what security properties bRPC does / does
not provide, over code-level detail that drifts across bRPC versions — so the
document stays accurate and maintainable as the code evolves. (The §5a tables
already carry "example, not a complete list — analyze the latest code"
disclaimers in that spirit.)
The model is version-bound (based on
masteraround 2026-05-21); reportsshould be triaged against the model for the corresponding release, and the
document re-bound on each release.
This is part of an automated agentic security-scan pilot the ASF Security team
is running; a discoverable, in-repo threat model lets the scan focus on real
issues and suppress the by-design ones. No project source is touched.