Skip to content

🛡️ Sentinel: [MEDIUM] Add missing control character validation in Pydantic schemas - #1077

Closed
seonghobae wants to merge 1 commit into
mainfrom
fix-pydantic-control-chars-17868833403157059250
Closed

🛡️ Sentinel: [MEDIUM] Add missing control character validation in Pydantic schemas#1077
seonghobae wants to merge 1 commit into
mainfrom
fix-pydantic-control-chars-17868833403157059250

Conversation

@seonghobae

@seonghobae seonghobae commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Supersession / rejection record

Closed only after re-reading the exact patch and the current canonical repair #1067.

This PR mixes two distinct domain contracts under one blanket ^[^\x00-\x1F\x7F]+$ rule:

Canonical Draft #1067 exact head 6806ab1bc226134a856f1973b83013bb4786d2aa therefore fully inherits this PR's valid product-label delta and explicitly rejects its database-identity regression. #1067 also carries the missing regression fixtures and code-current gap baseline with the PostgreSQL lexical-identifier primary reference.

This PR has no independent test, fixture, contract or documentation delta beyond the four schema-field edits. Its generic Log Injection / Null Byte / terminal-injection rationale does not identify a concrete logging sink that would justify narrowing PostgreSQL identity at the domain boundary. Any real sink defect must be repaired at that sink without corrupting relation identity.

Result: valid delta is fully inherited by #1067; invalid database-identity restriction is not inherited. No force update, gate weakening, or PR-count-only closure.

@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: e149ddd3-0022-4c91-831f-0b94cdc94122

📥 Commits

Reviewing files that changed from the base of the PR and between 8dc7469 and 570a87e.

📒 Files selected for processing (1)
  • backend/app/schemas.py

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

Comment @coderabbitai help to get the list of available commands.

@seonghobae seonghobae closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant