Conversation
🔧 CI Fix AvailableI've pushed a fix for the CI failure on this PR, rebuilt on the latest head ( What failed: The fix: drops the staging Behavior is unchanged: |
22a563b to
55056fd
Compare
# Conflicts: # cmd/vaults_commands.go # cmd/vaults_output_test.go
|
bugbot run verbose=true |
|
Bugbot request id: serverGenReqId_454b1f9d-c2e1-4cf2-a566-ba9f3b8fabc0 |
Bugbot rules debugBugbot rules included in this run
Bugbot request id: serverGenReqId_454b1f9d-c2e1-4cf2-a566-ba9f3b8fabc0 |
- temporarily replace kernel-go-sdk with the preview build for Link checkout cards - send credential updates through the generic client while the preview SDK lacks the item update method - omit fields from selector-free fills instead of sending an empty array - point fill help at each item's advertised fill description and drop authorize wording - drop merchant_url from display output and map browser_unavailable fill errors
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 92146ac. Configure here.
| } | ||
| if value, ok := object[key]; ok { | ||
| if key == "url" || key == "approval_url" || key == "merchant_url" || key == "merchant_origin" || key == "image_url" || key == "product_url" { | ||
| if key == "url" || key == "approval_url" || key == "merchant_origin" || key == "image_url" || key == "product_url" { |
There was a problem hiding this comment.
Checkout page URL skips safety filter
Medium Severity
page_url is now a displayed spec field, but the display-safe URL gate that previously covered merchant_url does not include it. Filtered JSON and the Link card table can therefore emit a checkout URL that carries userinfo or query secrets.
Additional Locations (2)
Triggered by learned rule: Filter vault secrets; print action URLs in full
Reviewed by Cursor Bugbot for commit 92146ac. Configure here.
There was a problem hiding this comment.
fixed in e890842: page_url now goes through the same display-safe URL filter as other displayed URLs, so JSON and the Link card table withhold checkout URLs with userinfo or secret query/fragment keys. Covered by TestVaultCheckoutPageURLsWithSecretsAreWithheld.


Depends on kernel/kernel#3950; do not merge before it and the SDK release.
Summary
vaults cards createcommandmerchant_url)fieldsfrom the requestavailable_operationsinstead of hardcoding inputsbrowser_unavailablefill error codeTemporary SDK pin
go.modpins the Go SDK to a preview build generated from kernel/kernel#3950:(commit
a235f00476bf5b0ffec8cc99265ec04abaf89d3d). The preview repository is private, so CI jobs that download modules without access to it (including preview binaries) are expected to fail until the pin is swapped. Local builds needGOPRIVATE=github.com/kernel/*and access to that repository.The preview SDK does not generate the vault item update method, so
vaults credentials updatetemporarily sends its PATCH through the SDK's generic client (cmd/vaults_credentials.go).Before merge: remove the
replaceline, bumpgithub.com/kernel/kernel-go-sdkto the release that includes kernel/kernel#3950, rungo mod tidy, and switchsaveCredentialback toItems.Updateif that release exposes it.Validation
go build ./...go vet ./...go test ./...