> For the complete documentation index, see [llms.txt](https://summerain-1.gitbook.io/summerain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://summerain-1.gitbook.io/summerain/ja/komyuniti/security.md).

# セキュリティポリシー

## 脆弱性の報告

セキュリティ上の脆弱性を発見した場合は、**公開 Issue を作成しないでください**。

[GitHub Security Advisories](https://github.com/kserksi/summerain/security/advisories/new) から非公開で報告してください。受領後、可能な限り速やかに報告を確認し、影響を評価します。

可能な範囲で次の情報を含めてください。

* 問題と影響範囲の明確な説明
* 再現手順（可能であれば最小再現例）
* 影響を受けるバージョン
* 修正案（ある場合）

## 対応プロセス

1. 72 時間以内に報告の受領を確認します。
2. 深刻度を評価し、脆弱性を検証します。
3. 修正を開発し、深刻度に応じて非公開ブランチを使用します。
4. 修正版を公開し、報告者の同意がある場合は謝辞を掲載します。

## サポート対象バージョン

セキュリティ修正の対象は、`main` ブランチ上の最新リリースのみです。旧バージョン向けの個別パッチは提供しません。

## デプロイ時のセキュリティ

完全なガイドは [docs/USAGE.md](/summerain/ja/yzgaidoto/usage.md) を参照してください。主な要件は次のとおりです。

* 本番環境では `COOKIE_SECRET`、`IMGPROXY_KEY`、`IMGPROXY_SALT` に強力なランダム値を設定します。
* `__Host-` 接頭辞を持つ Cookie には HTTPS と同一オリジンのデプロイが必要です。ローカル開発では自己署名証明書を使用する必要があります。
* MySQL、Redis、imgproxy の各コンテナはプライベートネットワーク内に置き、ポートを外部公開しないでください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://summerain-1.gitbook.io/summerain/ja/komyuniti/security.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
