fix(deps): dependabot remediation 2026-07-21 (tkhq/sdk) - #1446
Open
arawal wants to merge 1 commit into
Open
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3333569:
|
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.
Dependabot remediation
Bumps two
pnpm-workspace.yamloverrides to address 9 open Dependabot advisories. Lockfile regenerated viacorepack pnpm install --lockfile-only. The override declares the floor; the actual version change lands inpnpm-lock.yaml.axios
>=1.15.1→>=1.18.0Covers 7 axios advisories (all fixed in 1.18.0). All are transitive; no first-party
axiosimports in this repo. We're taking these defensively — the vulnerable code paths (server-side proxying of attacker-controlled proxy config, HTTP/2 streamed uploads with a maxBodyLength cap,formToJSONon untrusted FormData keys,NO_PROXYpolicy relying on 0.0.0.0 rejection) are not reachable in this client-side signing SDK.What changed (1.15.1→1.18.0): hardens the Node HTTP adapter's proxy resolution against
Object.prototype.proxypollution after interceptor config cloning; adds amaxDepthguard informDataToJSON'sbuildPathrecursion; adds byte-counting stream enforcement for HTTP/2 streamed uploads (previously only HTTP/1 withmaxRedirects:0); treats0.0.0.0and::as loopback inshouldBypassProxy'sNO_PROXYcheck; guardsauth.username/auth.passwordsubfield reads withhasOwnProp; adds a top-level shortcut depth check ontoFormData{}-metatoken keys. No public API changes.toFormData{}-metatoken bypassesmaxDepth,JSON.stringifystack overflow. low/trivial → 80. Not reachable: SDK does not serialize attacker-controlled objects with axios form serializer.maxBodyLength. low/trivial → 80. Not reachable: SDK does not proxy attacker streams over HTTP/2.0.0.0.0not treated as loopback → NO_PROXY bypass SSRF. low/trivial → 80. Not reachable: SDK is a client-side signing library, not a URL-forwarding server.formDataToJSONwhen serializing FormData withContent-Type: application/json. low/trivial → 80. Not reachable: SDK does not accept attacker-controlled FormData keys.Object.prototype.username/.passwordleaked into outbound Basic auth when caller passesauth: {}. low/trivial → 80. Not reachable: SDK does not use theauth: opts.auth || {}pattern with untrusted prototype state.protobufjs
>=8.6.0→>=8.6.6Covers 2 protobufjs advisories (both fixed by 8.6.6). All are transitive; no first-party
protobufjsimports in this repo. Both bugs require parsing attacker-controlled schema or text-format input, which this SDK does not do.What changed (8.6.0→8.6.6): adds an end-of-input check in the
.protooption-name parser (was looping until=without EOF guard); switches text-format string-keyed map parsing to a null-prototype backing object so a__proto__map key can no longer mutate the parsed map's prototype. No public API changes..protooption parsing (Root.load/parse). low/trivial → 80. Not reachable: SDK does not parse untrusted.protoschemas.__proto__map key in text-format extension. low/trivial → 80. Not reachable: SDK does not parse untrusted text-format protobuf.Auto-opened by the Dependabot remediation workflow.