docs: FT194 ipaddress モジュール フィールドトライアルレポートを追加#533
Merged
Conversation
- IPv4/IPv6 アドレス解析・CIDR 計算・SSRF 防御パターンを検証 - ssrf_safety_check: loopback/link_local/private/reserved/multicast を一括チェック - cidr_contains: match 文で IPv4/IPv6 バージョン不一致を型安全に処理 - F-1: typeshed num_hosts 未定義 → 手動計算 - F-2: Python 3.11+ is_private 仕様変更(127.0.0.0/8 が private に) - F-3: ValueError → HTTPException(422) 変換 - 42 passed / mypy --strict 通過 / ruff 通過 Closes #532 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.
Summary
ipaddressモジュール — IPv4/IPv6 解析・CIDR 計算・SSRF 防御パターンssrf_safety_check: loopback / link-local(169.254.x.x)/ private / reserved / multicast を全チェックcidr_contains:match文で IPv4/IPv6 バージョン不一致を型安全にFalse返却num_hosts未定義 →/31,/32を考慮した手動計算is_private仕様変更(127.0.0.0/8 が private=True)ValueError→HTTPException(422)変換パターン変更内容
docs/field-trials/2026-05-field-trial-194.md新規作成(6ペルソナ DX Review 含む)docs/field-trials/INDEX.md— FT194 エントリ追加docs/todo/current.md— v1.8.66 / FT194 完了 / FT195 診断あり予告pyproject.toml— v1.8.65 → v1.8.66Test plan
pytest42 passedmypy --strict通過ruff check+ruff format通過pip-audit— PYSEC-2025-183 (mcp 推移的 CVE、許容済み) のみCloses #532
🤖 Generated with Claude Code