Merged
Conversation
Closed
Agent-Logs-Url: https://github.com/ut-code/hitori-mahjong/sessions/57392065-5323-4fba-a63b-7722d9200a64 Co-authored-by: tknkaa <145080781+tknkaa@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ut-code/hitori-mahjong/sessions/57392065-5323-4fba-a63b-7722d9200a64 Co-authored-by: tknkaa <145080781+tknkaa@users.noreply.github.com>
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.
各ページ/APIの認証・認可ロジックを点検し、ゲーム結果を確定するエンドポイントでクライアント由来値を信頼していた箇所を是正しました。あわせて、状態変更系APIに対する不正/不適切なリクエストをサーバー側で拒否するようにしています。
和了確定 (
/api/agari) のサーバー側認可を強化junme採用を廃止し、DB上の現在状態を唯一のソースに統一流局確定 (
/api/ryukyoku) の状態遷移制約を明確化remainTsumo > 0の間は流局確定不可に変更打牌API (
/api/tedashi) の入力検証を厳格化indexをintかつ>= 0に制約し、異常値入力を早期拒否シードAPI (
/api/seed) のメソッド境界を明確化GETでの状態変更を廃止し、POSTのみに限定(405 Method Not Allowed)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
sparrow.cloudflare.com/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --no-warnings --experimental-vm-modules /home/REDACTED/work/hitori-mahjong/hitori-mahjong/node_modules/wrangler/wrangler-dist/cli.js types(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --no-warnings --experimental-vm-modules /home/REDACTED/work/hitori-mahjong/hitori-mahjong/node_modules/wrangler/wrangler-dist/cli.js types _ _ _ _ _ --print-diagnostics-summary --print-metrics-summary conf�� get --global t http.https://gitrm(dns block)workers.cloudflare.com/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --no-warnings --experimental-vm-modules /home/REDACTED/work/hitori-mahjong/hitori-mahjong/node_modules/wrangler/wrangler-dist/cli.js types(dns block)If you need me to access, download, or install something from one of these locations, you can either: