Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
18d5755
chore(deps): bump @tauri-apps/plugin-deep-link from 2.6.1 to 2.6.2
dependabot[bot] Oct 22, 2026
bc7af01
chore(deps): bump @tanstack/react-query from 5.104.2 to 5.104.4
dependabot[bot] Oct 22, 2026
2f0352e
chore(deps): bump @radix-ui/react-separator from 1.1.8 to 1.2.0
dependabot[bot] Oct 22, 2026
f6ebac3
chore(deps): bump cachix/install-nix-action from 31.11.2 to 31.11.3
dependabot[bot] Oct 29, 2026
c2b30d6
chore(deps): bump uuid from 1.27.0 to 1.29.0 in /apps/tauri/src-tauri
dependabot[bot] Nov 5, 2026
758054e
chore(deps): bump tauri-plugin-single-instance in /apps/tauri/src-tauri
dependabot[bot] Nov 5, 2026
3315e5b
chore(deps): bump tokio from 1.53.2 to 1.54.1 in /apps/tauri/src-tauri
dependabot[bot] Nov 5, 2026
df52c14
chore(deps): bump tauri-plugin-deep-link in /apps/tauri/src-tauri
dependabot[bot] Nov 5, 2026
d1a33e6
chore(deps): bump sha2 from 0.11.0 to 0.11.1 in /apps/tauri/src-tauri
dependabot[bot] Nov 5, 2026
2931b70
chore(deps-dev): bump the development-tools group across 1 directory …
dependabot[bot] Nov 12, 2026
998050b
fix(nix): refresh pnpm dependency hash for updated lockfile
Ruslan4234 Nov 17, 2026
8ce0fba
fix(nix): refresh pnpm dependency hash for updated lockfile
Ruslan4234 Nov 17, 2026
4058367
fix(nix): refresh pnpm dependency hash for updated lockfile
Ruslan4234 Nov 17, 2026
e8da873
fix(nix): refresh pnpm dependency hash for updated lockfile
Ruslan4234 Nov 17, 2026
f9b132a
Merge remote-tracking branch 'origin/main' into HEAD
ShevRuslan1 Nov 17, 2026
5edf9ac
Merge remote-tracking branch 'origin/main' into HEAD
ShevRuslan1 Nov 17, 2026
2e45fe1
Merge remote-tracking branch 'origin/dependabot/cargo/apps/tauri/src-…
ShevRuslan1 Nov 17, 2026
d527373
Merge remote-tracking branch 'origin/dependabot/cargo/apps/tauri/src-…
ShevRuslan1 Nov 17, 2026
f2ce769
Merge remote-tracking branch 'origin/dependabot/cargo/apps/tauri/src-…
ShevRuslan1 Nov 17, 2026
ffb0a05
Merge remote-tracking branch 'origin/dependabot/cargo/apps/tauri/src-…
ShevRuslan1 Nov 17, 2026
c613818
Merge remote-tracking branch 'origin/dependabot/cargo/apps/tauri/src-…
ShevRuslan1 Nov 17, 2026
ca1c31a
Merge remote-tracking branch 'origin/dependabot/github_actions/cachix…
ShevRuslan1 Nov 17, 2026
0c17545
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/radix-ui…
ShevRuslan1 Nov 17, 2026
3669d6d
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/tanstack…
ShevRuslan1 Nov 17, 2026
30712e3
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/tauri-ap…
ShevRuslan1 Nov 17, 2026
96559c9
fix(deps): resolve integration audit failures and document upstream c…
ShevRuslan1 Nov 17, 2026
d718680
fix(nix): refresh dependency hash for integrated PRs
ShevRuslan1 Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Configure build temporary directory
run: printf 'TMPDIR=%s\n' "$RUNNER_TEMP" >> "$GITHUB_ENV"
- name: Install Nix
uses: cachix/install-nix-action@448cde739abec1eaf0646249e3d25bb8d9bc7702 # v31.11.2
uses: cachix/install-nix-action@75c75c31ebece974e48ebc36b4ad125bd97bd97b # v31.11.3
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Evaluate metadata dependency helper with Nix
Expand Down
31 changes: 16 additions & 15 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,19 @@ jobs:

# Both audits read only the lockfiles, so nothing is installed or built.
# Compilation and typechecking are covered by the Regression Checks workflow.
- name: Production JavaScript dependency audit
run: pnpm audit --prod

- name: JavaScript dependency audit
run: pnpm audit
# No patched picomatch release exists. It is confined to build tooling
# with repository-owned globs; the production audit above has no ignore.
# Review by 2026-12-17 or the next release. See SECURITY.md.
# pnpm 11 --ignore records configuration; audit again to check every
# other advisory. This modifies only the disposable CI checkout.
run: |
pnpm audit --ignore GHSA-fc5q-39xc-vjpf
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
pnpm audit

- name: Install cargo-audit
uses: taiki-e/install-action@v2
Expand All @@ -46,20 +57,10 @@ jobs:
# glib is pulled in by Tauri's Linux WebKitGTK/GTK3 backend through wry.
# The patched glib line starts at 0.20, but the current upstream GTK3
# stack is capped at glib 0.18.5, so this cannot be fixed directly here.
#
# RUSTSEC-2026-0194 / RUSTSEC-2026-0195 (quick-xml 0.39, DoS-class):
# transitive via plist -> tauri-utils. The fix line is quick-xml 0.41,
# but plist (1.9.0, and its master as of 2026-07-02) still requires
# 0.39, so there is no upgrade path yet. plist only parses macOS
# .plist metadata here (trusted input), so exposure is minimal.
# Drop these ignores once plist releases with quick-xml >= 0.41.
# ZIP 8 remains a libsodium build dependency for signed Windows archives.
# Review these exceptions by 2026-10-30; see SECURITY.md for removal criteria.
# crypto-bigint 0.5 is required by Stronghold's k256/elliptic-curve stack.
# Refract uses its key-value store and snapshots, not curve procedures.
# Review by 2026-12-17 or the next upstream release; see SECURITY.md.
run: >-
cargo audit
--ignore RUSTSEC-2024-0429
--ignore RUSTSEC-2026-0194
--ignore RUSTSEC-2026-0195
--ignore RUSTSEC-2026-0367
--ignore RUSTSEC-2026-0368
--ignore RUSTSEC-2026-0369
--ignore RUSTSEC-2026-0387
2 changes: 1 addition & 1 deletion .github/workflows/update-package-manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: python3 -B -m unittest discover -s packaging/scripts -p 'test_*.py'

- name: Install Nix
uses: cachix/install-nix-action@448cde739abec1eaf0646249e3d25bb8d9bc7702 # v31.11.2
uses: cachix/install-nix-action@75c75c31ebece974e48ebc36b4ad125bd97bd97b # v31.11.3
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

### Security

* Update dependency fixes for TLS certificate validation, QUIC, archive handling, serialization, and build tooling.
* Update the launcher's ZIP library and remove unused updater ZIP support to address archive extraction advisories.

## 1.5.0
Expand Down
17 changes: 10 additions & 7 deletions PROJECT_KNOWLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,16 +701,19 @@ Additional optional settings used by the UI include minimize/start behavior, reo
Current audit exceptions:

- `RUSTSEC-2024-0429` for `glib 0.18.5`, blocked by the Tauri/Wry GTK3 stack.
- `RUSTSEC-2026-0194` and `RUSTSEC-2026-0195` for `quick-xml 0.39` through `plist`, blocked until upstream permits `quick-xml >= 0.41`; current use is trusted macOS plist metadata.
- `RUSTSEC-2026-0367`, `RUSTSEC-2026-0368` and `RUSTSEC-2026-0369` for ZIP 8 through libsodium-sys-stable's build dependency; remove when a compatible upstream release uses patched ZIP.
- `RUSTSEC-2026-0387` for `crypto-bigint 0.5.5` through Stronghold's k256/elliptic-curve stack. Refract uses the key-value store and snapshots, not elliptic-curve procedures; upstream still requires the affected version line.
- `GHSA-fc5q-39xc-vjpf` for development-only picomatch 4.0.7, which has no patched release. The separate production JavaScript audit has no ignore. Build tools consume repository-owned glob patterns.

The November 17 update removes the old quick-xml and ZIP exceptions: plist 1.10.4
uses quick-xml 0.42.0, and libsodium-sys-stable 1.24.6 uses ZIP 9.5.1.
Review retained exceptions by 2026-12-17 or the next relevant upstream release.

The exact active ignores live in `.github/workflows/security-audit.yml`; revisit and remove them when upstream releases allow it.

JavaScript security floors live in `pnpm-workspace.yaml`. The October 5 audit follow-up
requires Seroval 1.6.8 or newer within version 1 and source-map-js 1.2.2 or newer within
version 1; the lockfile resolves those versions without changing the router or build-tool
versions. The full and production JavaScript audits pass. See `SECURITY.md` for the
upstream advisories and compatibility review.
JavaScript security floors live in `pnpm-workspace.yaml`. They require Seroval 1.6.11
or newer within version 1, Zod 4.6.6 or newer within version 4, and source-map-js 1.2.2
or newer within version 1. TypeScript ESLint 8.73 uses patched minimatch 11 directly.
See `SECURITY.md` for the upstream advisories, scoped exceptions and compatibility review.

## External services

Expand Down
70 changes: 58 additions & 12 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,50 @@ CI retains the targeted `RUSTSEC-2024-0429` exception. The resolved `gtk 0.18.2`
manifest still requires `glib 0.18`; remove this exception when a compatible
Tauri/Wry backend update resolves the affected dependency.

### `quick-xml` / `RUSTSEC-2026-0194` and `RUSTSEC-2026-0195`

The resolved `plist 1.9.0` manifest requires `quick-xml 0.39.2`, resolving to
`0.39.4` through `tauri-utils`. The advisories require the `0.41` fix line.
These two existing CI exceptions cover that specific transitive dependency;
they are not permission to process untrusted XML with it. Refract uses this
chain for platform plist metadata. Review the fixed plist/Tauri dependency path
before removing the exceptions. See the [first advisory](https://rustsec.org/advisories/RUSTSEC-2026-0194)
and [second advisory](https://rustsec.org/advisories/RUSTSEC-2026-0195).
### `crypto-bigint` / `RUSTSEC-2026-0387`

Stronghold 2.1.0 requires iota-crypto 0.23.2, whose k256 0.13 dependency requires
elliptic-curve 0.13 and crypto-bigint 0.5. The [timing advisory](https://rustsec.org/advisories/RUSTSEC-2026-0387)
requires crypto-bigint >=0.7.6; no compatible Stronghold release permits that
line. Refract's `secrets.rs` uses Stronghold's key-value store and encrypted
snapshots with a random OS-keyring master key. It does not invoke Stronghold's
elliptic-curve signing or derivation procedures. This limits exposure but does
not fix the affected library. Keep the exception scoped to this advisory and
reassess before adding any curve procedures. Remove it after a compatible
upstream update; do not migrate vault formats solely to silence the audit.

### Development-only `picomatch` / `GHSA-fc5q-39xc-vjpf`

[The advisory](https://github.com/advisories/GHSA-fc5q-39xc-vjpf) affects picomatch
through 4.0.7, the latest published version on 2026-11-17, with no patched release.
It concerns event-loop exhaustion from attacker-supplied repeated extglob patterns.
The dependency is confined to ESLint, TypeScript ESLint, Vite and router build
tools, which consume repository-owned configuration and patterns. It is absent
from the production dependency graph. The full CI audit ignores only this ID;
a separate `pnpm audit --prod` has no ignore, so a future production dependency
would still fail CI. Do not expose these tools to untrusted glob inputs. Remove
the exception when a patched compatible release is available.

### Resolved XML and ZIP exceptions

The 2026-11-17 lockfile uses plist 1.10.4 with quick-xml 0.42.0 and
libsodium-sys-stable 1.24.6 with ZIP 9.5.1. The quick-xml 0.39 and ZIP 8 dependency
lines are gone. CI removes RUSTSEC-2026-0194, RUSTSEC-2026-0195,
RUSTSEC-2026-0367, RUSTSEC-2026-0368 and RUSTSEC-2026-0369 from its ignore list.

## Review record and ownership

Last reviewed: 2026-09-30. Owner: Refract maintainers. Next exception review:
2026-10-30, or the next Tauri/plist release evaluation, whichever comes first.
Last reviewed: 2026-11-17. Owner: Refract maintainers. Next exception review:
2026-12-17, or the next relevant upstream release, whichever comes first.
The Security Audit workflow runs on pull requests, main pushes, manual dispatch
and every Monday. Maintainers review failures and informational warnings before
a release. Record the upstream constraint and a new review date for any retained
exception; do not add blanket ignores to make the job pass.

Targeted fixes in the current lockfile:
The review records below are historical; the current exceptions above and the
workflow are authoritative.

Targeted fixes recorded in September:

- `anyhow 1.0.103` fixes [RUSTSEC-2026-0190](https://rustsec.org/advisories/RUSTSEC-2026-0190).
- `event-listener 5.4.2` fixes [RUSTSEC-2026-0221](https://rustsec.org/advisories/RUSTSEC-2026-0221).
Expand Down Expand Up @@ -159,3 +183,25 @@ Audit ignores apply by advisory ID, so review them if another ZIP dependency is
Owner: Refract maintainers. Review by 2026-10-30 or the next upstream release,
whichever comes first. Remove these three exceptions when a compatible
libsodium-sys-stable release permits ZIP >=9, update the lockfile, and rerun the audit.

## Dependency integration review - 2026-11-17

The dependency PR integration raises Seroval's floor to 1.6.11 and Zod's to 4.6.6.
TypeScript ESLint 8.73.0 depends on minimatch 11.0.1 directly. These address
GHSA-f86p-h4j2-7qgj, GHSA-9wx9-5pv9-3349, GHSA-mrhx-c7xc-m3w5 and
GHSA-g3hv-75wg-m249 without forcing a cross-major minimatch override.

The Rust lockfile updates ctutils to 0.4.8, quinn-proto to 0.11.19, quinn-udp to
0.5.16, rustls-webpki to 0.103.17, both webpki root packages to 1.0.12, ZIP to
9.5.1, plist to 1.10.4, libsodium-sys-stable to 1.24.6, and rustix to 1.1.6.
These address the newly reported TLS distrust, QUIC, archive, timing and xattr
findings. async-executor 1.14.1 also replaces the yanked 1.14.0 release.

Validation uses `pnpm audit --prod` with no exceptions, then configures
`pnpm audit --ignore GHSA-fc5q-39xc-vjpf` in the disposable CI checkout and runs
`pnpm audit` again (pnpm 11's `--ignore` writes configuration). Rust uses
`cargo audit --ignore RUSTSEC-2024-0429 --ignore RUSTSEC-2026-0387`.
The Rust audit retains visible maintenance warnings for
bincode, chrono, paste, proc-macro-error, zbus_names, zvariant and zvariant_derive.
The exceptions at the top of this document describe the remaining risks; passing
these scoped audits does not mean every dependency is free of known advisories.
16 changes: 8 additions & 8 deletions apps/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"@hugeicons/core-free-icons": "^4.3.5",
"@hugeicons/react": "^1.1.9",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-separator": "^1.2.0",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.6",
"@refract/core": "workspace:*",
"@refract/plugin-api": "workspace:*",
"@tanstack/react-query": "^5.104.2",
"@tanstack/react-query": "^5.104.4",
"@tanstack/react-router": "^1.170.41",
"@tauri-apps/api": "^2.12.0",
"@tauri-apps/plugin-deep-link": "^2.6.1",
"@tauri-apps/plugin-deep-link": "^2.6.2",
"@tauri-apps/plugin-dialog": "^2.7.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
Expand All @@ -32,14 +32,14 @@
"zustand": "^4.5.4"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.3",
"@tailwindcss/vite": "^4.3.5",
"@types/node": "^20.14.9",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"autoprefixer": "^10.6.1",
"tailwindcss": "^4.3.3",
"@vitejs/plugin-react": "^6.2.1",
"autoprefixer": "^10.6.2",
"tailwindcss": "^4.3.5",
"typescript": "^7.0.2",
"vite": "^8.3.4"
"vite": "^8.3.6"
}
}
12 changes: 6 additions & 6 deletions apps/tauri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
},
"dependencies": {},
"devDependencies": {
"@tailwindcss/vite": "^4.3.3",
"@tanstack/router-plugin": "^1.168.43",
"@tauri-apps/cli": "^2.12.2",
"@tailwindcss/vite": "^4.3.5",
"@tanstack/router-plugin": "^1.169.0",
"@tauri-apps/cli": "^2.12.4",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"tailwindcss": "^4.3.3",
"@vitejs/plugin-react": "^6.2.1",
"tailwindcss": "^4.3.5",
"typescript": "^7.0.2",
"vite": "^8.3.4"
"vite": "^8.3.6"
}
}
Loading
Loading