Skip to content

Dependency advisories in the pinned tree (multer / zod / vite + xlsx) #50

Backlog

Description

@ujjwalD16

Hi, I use OpenShorts and really appreciate the work — thank you for it. I was doing a security review of the pinned tree (HEAD 48df359) and found a few dependency advisories worth flagging. Sorry if any of this is already known — happy to be corrected.

What I found

Checked against OSV with proper version-range containment. The direct-dependency floor has 8 advisories across 3 packages ([email protected] ×1, [email protected] ×1, [email protected] ×6); the full lockfile has 65 unique advisories across 21 packages. The governing fixes below were all verified by re-querying OSV at the fixed versions (0 advisories remain after them, except the xlsx pair in §2):

  • hono ≥ 4.13.16, @hono/node-server ≥ 2.1.6, undici ≥ 6.29.1, vite ≥ 8.3.3, zod ≥ 4.6.6, multer ≥ 2.5.0, @modelcontextprotocol/sdk ≥ 1.32.0
  • body-parser ≥ 2.4.0, fast-uri ≥ 3.1.9, follow-redirects ≥ 1.16.2, image-size ≥ 2.0.3, ip-address ≥ 10.7.4, js-yaml ≥ 4.3.2, postcss-selector-parser ≥ 7.1.6, proxy-addr ≥ 2.0.8, qs ≥ 6.16.1, shell-quote ≥ 1.11.0, smol-toml ≥ 1.9.0, source-map-js ≥ 1.2.2

The two that have no fix

[email protected] (SheetJS) has 2 advisories with no fixed version: GHSA-4r6h-8v6p-xvw6 and GHSA-5pgg-2g8v-p4x9. The dependency would need replacing rather than bumping.

What I also checked (clean)

The code itself looked good to me: the server defaults to binding 127.0.0.1, the Origin guard blocks cross-site state-changing requests (including the ao doctor subprocess fork and the model-download / paid-provider endpoints), the SSRF validation rejects private and link-local addresses (including 169.254/16) with per-hop redirect validation, uploads are size- and type-limited, and the Electron window runs with contextIsolation: true and no nodeIntegration. Nothing to flag there — this report is only about the dependencies.

One fresh note from re-checking today (2026-11-26): open Dependabot PRs #45 (vite 8.3.0→8.3.5) and #46 (multer 2.4.0→2.5.0, zod 4.6.5→4.6.7) would partly bump the flagged packages, but both are unmerged, so main is still on the versions above.

Thanks again for the project — happy to help verify a fix if useful.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions