chore: drift command adjustments#2947
Conversation
|
@cursor review |
🦋 Changeset detectedLatest commit: 63f6bb6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Performance Benchmark (Lower is Faster)
|
|
@cursor review |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
1 issue from previous review remains unresolved.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 0e6452f. Configure here.
Co-authored-by: Jacek Łękawa <164185257+JLekawa@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 009c983. Configure here.

What/Why/How?
Fixed loopback address handling so it doesn't trigger false security reports.
Preventing false positives when server returns 4xx response.
Fixed handling of deep objects in params description.
Added possibility to ignore specific headers.
Reference
Testing
Screenshots (optional)
Check yourself
Security
Note
Low Risk
Behavior changes only affect experimental drift validation heuristics (fewer findings on 4xx/loopback/deepObject); no auth or production API runtime impact.
Overview
Improves experimental
drift/proxytraffic validation by cutting common false positives and adding a way to ignore gateway-injected headers.schema-consistencyno longer runs request-side contract checks (required parameters, required body, request-body schema) when the exchange returned a 4xx; undocumented query params and headers are still reported. It now understandsdeepObjectquery parameters (name[prop]=value), matching bracketed keys to the documented parameter and validating the assembled object. Parameterstyleis loaded from the OpenAPI index to support this.security-baselineskips “credential exposure over insecure HTTP” warnings for loopback hosts (localhost,*.localhost,127.0.0.0/8,[::1]).New
--ignore-headersondriftandproxy(comma-separated names; trailing*for prefix, e.g.x-consumer-*) feeds undocumented-header checks viaparseHeaderIgnoreList/RuleContext.ignoreHeaders. Docs, changesets, and unit tests for schema and security rules are included.Reviewed by Cursor Bugbot for commit 63f6bb6. Bugbot is set up for automated code reviews on this repo. Configure here.