Skip to content

Describe the threat model in the security policy - #6687

Merged
Koudai Aono (koxudaxi) merged 1 commit into
public-namesfrom
security-threat-model
Nov 10, 2026
Merged

Koudai Aono (koxudaxi) merged 1 commit into
public-namesfrom
security-threat-model

Conversation

@koxudaxi

Copy link
Copy Markdown
Member

No description provided.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • SECURITY.md is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@koxudaxi
Koudai Aono (koxudaxi) marked this pull request as ready for review November 10, 2026 16:41
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T16:42:42.516886Z 7e99216 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed

codspeed Bot commented Nov 10, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 50.58%

2 warnings

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ 53 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

❌ 53 regressed benchmarks
⏩ 98 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_perf_client_calls[async] 20.8 ms 49.3 ms -57.82%
❌ test_perf_client_calls[sync] 18.8 ms 44.2 ms -57.48%
❌ test_perf_load_pyproject_config[config-multiple] 113.9 µs 264.3 µs -56.92%
❌ test_perf_load_pyproject_config[mapping-None] 108.8 µs 252.3 µs -56.85%
❌ test_perf_load_pyproject_config[mapping-multiple] 115.5 µs 265.8 µs -56.53%
❌ test_perf_load_pyproject_config[config-None] 111.9 µs 243.4 µs -54.02%
❌ test_perf_openapi_large 1.8 s 4 s -53.72%
❌ test_perf_all_options_enabled 3.4 s 7.2 s -53.11%
❌ test_perf_extreme_large_schema 8.8 s 18.6 s -52.87%
❌ test_perf_simple_msgspec_unset_field_rendering 290.2 ms 611.3 ms -52.52%
❌ test_perf_inherited_required_fields[required-derived-first] 444.1 ms 934.7 ms -52.49%
❌ test_perf_openapi_large_pydantic_v2_builtin 863.2 ms 1,810.3 ms -52.32%
❌ test_perf_graphql_style_pydantic_v2 475.4 ms 995.1 ms -52.22%
❌ test_perf_complex_refs 1.2 s 2.6 s -51.94%
❌ test_perf_duplicate_names 601.6 ms 1,250.7 ms -51.9%
❌ test_perf_large_models_dataclass_builtin 834.9 ms 1,727.8 ms -51.68%
❌ test_perf_large_models_typed_dict[total-false-requiredness] 703.6 ms 1,455.7 ms -51.67%
❌ test_perf_large_models_pydantic_v2_builtin 810.5 ms 1,676.6 ms -51.66%
❌ test_perf_inherited_required_fields[required-base-first] 404 ms 833.4 ms -51.52%
❌ test_perf_large_models_typed_dict[legacy-requiredness] 702.6 ms 1,445.3 ms -51.38%
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing security-threat-model (7e99216) with public-names (e4ce122)

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@koxudaxi
Koudai Aono (koxudaxi) enabled stacked auto-merge (squash) November 10, 2026 18:39
@koxudaxi
Koudai Aono (koxudaxi) merged commit 2676006 into main Nov 10, 2026
129 of 135 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the security-threat-model branch November 10, 2026 18:53
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR only changes SECURITY.md, adding a threat model section that explains trusted and untrusted input, and rewording the Scope paragraph. It changes no source code, templates, CLI options, Python API, defaults, supported Python versions or error handling, and the behaviour diff gate did not run because nothing affects generated output, so there are no breaking changes.


This analysis was produced by the release draft workflow

@github-actions

Copy link
Copy Markdown
Contributor

🎉 Released in 0.93.0

This PR is now available in the latest release. See the release notes for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant