Add draft threat model + SECURITY.md + AGENTS.md for security-model discoverability#106
Open
potiuk wants to merge 1 commit into
Open
Add draft threat model + SECURITY.md + AGENTS.md for security-model discoverability#106potiuk wants to merge 1 commit into
potiuk wants to merge 1 commit into
Conversation
…l discoverability Adds a draft (v0) threat model plus SECURITY.md and AGENTS.md so an automated scan agent can discover the model 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)
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 draft proposal for the Synapse PMC to review — please correct, reject, or discuss as needed. Nothing here is a requirement; the maintainers are the decision-makers.
This PR adds
THREAT_MODEL.md+SECURITY.md+AGENTS.md, wiringAGENTS.md -> SECURITY.md -> THREAT_MODEL.md.The model's framing: Synapse is a mediation engine, not a finished app. The integration developer authors the config (sequences, scripts, XSLT/XQuery, endpoints, security); that config is trusted input, while the inbound message from a network client is the untrusted adversary. So properties are conditional, and the integrator-responsibilities section carries weight.
Draft-first, mostly inferred (~12 documented / 0 maintainer / ~48 inferred); every
*(inferred)*claim routes to a numbered §14 question. The wave-1 rulings decideVALID-vs-misconfiguration:document()resolution on untrusted inbound messages by default (so an XXE/SSRF-via-transform report against defaults isVALID)?Also flagged: dynamic/content-based endpoint resolution as an SSRF surface, and confirming script/XSLT/XQuery bodies are trusted config.
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.