-
Notifications
You must be signed in to change notification settings - Fork 105
Add draft threat model + SECURITY.md + AGENTS.md for security-model discoverability #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
juanpablo-santos
merged 4 commits into
apache:master
from
potiuk:asf-security/threat-model-2026-05-31
Jun 8, 2026
+486
−0
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
9d58d6b
Add draft THREAT_MODEL.md + SECURITY.md + AGENTS.md for security-mode…
potiuk fd86d47
Add ASF license header to generated files to satisfy Apache RAT
potiuk f49ed0c
Merge branch 'master' into asf-security/threat-model-2026-05-31
potiuk 00a672c
Revise threat model per PMC review (juanpablo-santos) + fix GFM tables
potiuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| <!-- | ||
| SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| https://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| --> | ||
|
|
||
| # Agent Guide for Apache JSPWiki | ||
|
|
||
| This file is read by automated agents (security scanners, code analyzers, | ||
| AI assistants) operating on this repository. It points them at the | ||
| human-authored references they should consult before producing output. | ||
|
|
||
| ## Security | ||
|
|
||
| Security model: [SECURITY.md](./SECURITY.md) → [THREAT_MODEL.md](./THREAT_MODEL.md) | ||
|
|
||
| Agents that scan this repository should consult `SECURITY.md` and the linked | ||
| `THREAT_MODEL.md` for the project's threat model — in-scope / out-of-scope | ||
| declarations, the security properties claimed and disclaimed, the adversary | ||
| model, and known non-findings — before reporting issues. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <!-- | ||
| SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| https://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| --> | ||
|
|
||
| # Security Policy | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| Apache JSPWiki follows the [Apache Software Foundation security process](https://www.apache.org/security/). | ||
| Please report suspected vulnerabilities **privately** to `security@apache.org` (the JSPWiki PMC is | ||
| reachable at `private@jspwiki.apache.org`). Do **not** open public GitHub issues or pull requests for | ||
| security reports. | ||
|
|
||
| When reporting, include the affected version, a description of the issue, and — if you can — which | ||
| security property you believe is violated (see the Threat Model below) and a reproduction. | ||
|
|
||
| ## Threat Model | ||
|
|
||
| What JSPWiki considers in scope and out of scope, the security properties it claims and the ones it | ||
| explicitly disclaims, the adversary model, and how inbound reports and tool/AI findings are triaged are | ||
| documented in [THREAT_MODEL.md](./THREAT_MODEL.md). Reporters and triagers should consult that document | ||
| alongside this policy: a finding that violates a claimed property is handled per the process above; a | ||
| finding that falls outside the model is closed citing the relevant section. | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.