Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Agent guidance

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), which links to
the canonical model document at
<https://shiro.apache.org/security-model.html>.

Agents that scan this repository should consult the linked
security model for the project's threat model, in-scope /
out-of-scope declarations, and known non-findings before
reporting issues.
14 changes: 14 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security

Apache Shiro's security model and disclosure process are
published on the project website rather than in the repository:

- **Threat and security model**:
<https://shiro.apache.org/security-model.html>
- **Security policy, vulnerability reporting, past advisories and CVEs**:
<https://shiro.apache.org/security-reports.html>

The project website is the authoritative source; this file
exists so agents and tooling that look for `SECURITY.md` in
the repository can mechanically follow the link to the
canonical documents.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@
<!-- Apparently some test in samples/spring-client generates velocity log - would better to reconfigure to output to target/ -->
<exclude>velocity.log</exclude>
<exclude>CONTRIBUTING.md</exclude>
<exclude>AGENTS.md</exclude>
<exclude>SECURITY.md</exclude>
<exclude>**/README.md</exclude>
<exclude>**/*.json</exclude>
<exclude>**/spring.factories</exclude>
Expand Down Expand Up @@ -1595,6 +1597,8 @@
<!-- Apparently some test in samples/spring-client generates velocity log - would better to reconfigure to output to target/ -->
<exclude>velocity.log</exclude>
<exclude>CONTRIBUTING.md</exclude>
<exclude>AGENTS.md</exclude>
<exclude>SECURITY.md</exclude>
<exclude>**/README.md</exclude>
<exclude>**/*.json</exclude>
<exclude>**/spring.factories</exclude>
Expand Down
Loading