Add SECURITY.md + AGENTS.md pointing at the published security model - #3905
Open
potiuk wants to merge 1 commit into
Open
Add SECURITY.md + AGENTS.md pointing at the published security model#3905potiuk wants to merge 1 commit into
potiuk wants to merge 1 commit into
Conversation
Generated-by: Claude Code
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.
This is a proposal for the PMC to review — please correct, reject, or discuss as needed. Nothing here is a requirement; the maintainers are the decision-makers.
This adds two small files so that an automated scanning agent can mechanically discover the project's existing security model through the conventional
AGENTS.md→SECURITY.mdchain:SECURITY.md— points at the published model at https://avro.apache.org/project/security/, which remains the single source of truth. Nothing is duplicated or restated here; the file is a pointer.AGENTS.md— a Security section linking toSECURITY.md.No existing content is changed — both files are new, and the security model itself is untouched.
Context
The Apache Security team is preparing the project for an automated agentic security scan we're piloting. Such scans anchor to a project's own threat model, and refuse to run when the model can't be found from the repository — refusing upfront beats spending PMC reviewer time triaging a noise-heavy report produced against no model at all.
Avro is in the good case here: the project already has a published security model, so nobody needs to write one. We read it against our rubric and it is usable as-is — it is explicit about what the library is responsible for, that transport is outside the library's scope, that avoiding leaks into side channels such as log files is a stated non-goal, that schema parsing itself is safe while SPIs remain a trust decision, and it places four numbered duties on applications using Avro. That is more than many projects start with.
The only gap was mechanical: there is no
AGENTS.mdorSECURITY.mdat the repository root, so the discovery chain doesn't exist. This PR is that chain and nothing more.This was requested on the PMC's private list — Martin Grigorov asked us to go ahead on behalf of the Avro PMC.
Not in this PR
Separately, and explicitly not blocking anything, the PMC has invited us to propose deepening the published model. The sections most useful to a scanner are an enumerated adversary model, a "known non-findings" list (the single biggest lever for cutting false positives in a report), and triage dispositions. Those touch the website content rather than this repository, so they'll come as a separate proposal.
Questions and pushback welcome — happy to adjust wording or file placement to match project house style.