Skip to content

chore: update ws and terser in every plugin's lockfile - #159

Merged
stevecastaneda merged 1 commit into
mainfrom
chore/refresh-dev-lockfiles
Dec 2, 2026
Merged

stevecastaneda merged 1 commit into
mainfrom
chore/refresh-dev-lockfiles

Conversation

@steve-dev-bot

Copy link
Copy Markdown
Collaborator

Why

npm install in any plugin folder reports 2 vulnerabilities (1 moderate, 1 high). None of them reach users. npm audit --omit=dev reports 0, because both packages come in through the react-native dev dependency. The warning still shows on every install, so this refreshes the lockfiles to clear it.

  • ws 6.2.6 and 7.5.13 (GHSA-37g9-w4hg-h9qr, high): a ws server can be made to run out of memory. These copies belong to React Native's dev server and debugger, which no plugin runs.
  • terser 5.51.2 (GHSA-6jpm-p5cq-9q44, moderate): source maps can leak source code. Only Metro uses it, and our builds use esbuild.

What changed

npm audit fix --package-lock-only in each of the seven plugins. Only package-lock.json changes:

  • ws 6.2.6 becomes 6.2.7, and ws 7.5.13 becomes 7.5.14.
  • terser 5.51.2 becomes 5.51.4.
  • In history, playwright-pulse and workspace-links, the top-level ws 8.22.0 becomes 8.23.1.

npm doesn't publish package-lock.json, so no plugin needs a new version or changelog entry.

Verification

npm audit reports 0 vulnerabilities in every plugin. In each one, npm ci, typecheck and npm test pass:

Plugin Tests
history 59 of 59
playwright-pulse 45 of 45
progress 315 of 315
setup-monitor 31 of 31
shell-yeah 127 of 127
time-since 20 of 20
workspace-links 28 of 28

Lint and the format check pass.

Security review: No release blockers found in any of the seven plugins.

Security review: history-1.3.0, no release blockers

Security review: @stevecastaneda/paseo-history@1.3.0

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: 769dfb3fa61815262aee13077fc620f32cca78c3
  • Diff: 29befcc..cefa426 -- history/
  • Date: 2026-12-02T22:53:20.049Z
  • Minutes: 0.6
  • Key: 632c69333fb9ec38d7451a1477f07baf294b4e31e18f65e73dc791dfb13dcefc

I found no release blockers in @stevecastaneda/paseo-history 1.3.0. Everything below is reasoned from the source; I didn't run anything and changed no files.

The change since the last published version. The only file that changed is history/package-lock.json. It bumps ws (6.2.6→6.2.7, 7.5.13→7.5.14, 8.22.0→8.23.1) and terser (5.51.2→5.51.4). Every changed entry is marked "dev": true. The package.json has no dependencies field, only devDependencies. The lockfile isn't in the files list either, so npm pack doesn't ship it. Nothing installed or run on a user's machine changes, and none of items 1 to 4 can be reached through this change.

Every place the shipped plugin touches files, programs, HTML or the network:

  • server/files.ts:19 readdir walk: it only searches ~/.codex/{sessions,archived_sessions} or ~/.claude/projects, or the overrides CODEX_HOME / CLAUDE_CONFIG_DIR, which come from the user's environment or config. It only reads directory listings, ignores symlinks, and accepts a session ID matching ^[a-zA-Z0-9_-]+$ only. No .. path can get in, and it needs an exact, unique file-name match.
  • server/files.ts:45 and server/system.ts:23 open(path, "r"): read-only. The path comes from findLog or from the OMP path Paseo recorded, not from anything the attacker controls. It checks isFile() and writes nothing.
  • server/omp.ts:23 stat plus readPage: reads only persistence.nativeHandle, which Paseo recorded. The path must be absolute and a regular file, and the file's OMP session header must match the chat's session ID. A planted file can't be swapped in for another chat's log.
  • server/opencode.ts:12 and server/system.ts:19 execFile("opencode", ["export", id, "--pure"]): no shell. It starts in homedir(), not the worktree, so Windows' current-folder lookup can't find a program the repo committed. The session ID must match ^ses_[a-zA-Z0-9_-]+$, so it can't be read as an option. The environment comes from the user's own provider config. The output is capped at 64 MiB and 30 s.
  • server/history.ts RPC raw-history.read: the agent ID resolves through Paseo's own agent registry, and the provider is limited to codex, claude, omp or opencode. The input (agentId, offset, source) can't choose a file path. It only returns the transcript of the user's own Paseo agent to the user's own client, so nothing goes over the network.
  • client/viewer.tsx:147 and client/task-notification.tsx:26 <Markdown>: uses the host's Markdown component. There's no HTML, no innerHTML, no WebView and no script.
  • Raw JSON, paths and notification details: shown with React Native <Text>, which renders plain text, never HTML.
  • client/viewer.tsx:292 copyText: only copies to the clipboard when the user clicks Copy. It doesn't send anything anywhere.
  • "You" / "Assistant" labels (shared/entries.ts:84–100, :248, :183): only text blocks from user-role log entries count as "You". Tool results go under Tools. Claude Code's isMeta/compaction text, AGENTS.md/environment context, and OMP entries the agent added are filed as Context. Repo or tool content therefore can't show up as text the user typed.
  • client/pills.tsx and client/directory.ts: Paseo SDK calls only (agent list subscription, composer pill, modal). No files, programs or network access.
  • client/web.ts: only stops event bubbling. No files, programs or network access.
  • Dependencies at runtime: none. Only dev dependencies are listed, so users don't install any third-party package with the plugin.

No release blockers found.

Security review: playwright-pulse-1.5.1, no release blockers

Security review: @stevecastaneda/paseo-playwright-pulse@1.5.1

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: caf1d7d6ad19556ce70f6ab310b98e4914647538
  • Diff: 495358c..cefa426 -- playwright-pulse/
  • Date: 2026-12-02T22:53:43.437Z
  • Minutes: 1.0
  • Key: a5fd91d91751cb5003e99d51f86025ee1e9332ea4e6a038de76de974f691a199

I found no release blockers in @stevecastaneda/paseo-playwright-pulse 1.5.1. I reviewed it by reading the source only. I had no shell here, so I didn't run anything and didn't run the tests.

What changed: Apart from formatting, lockfile bumps and package.json key order, the real change is that server/programs.ts became server/system.ts. It now does all the program starts and file changes that attachments.ts, reporter-install.ts, run-file.ts and stop.ts used to do themselves. I compared each moved call with the code it replaced, and each one behaves the same as before:

  • Programs: every program is still named by its full path and still runs from LAUNCH_FOLDER, the folder Node itself lives in, never the worktree. runProgram now uses that folder by default, so the paseo CLI call in reporter-install.ts:67 and the two ps calls in run-file.ts:42 and stop.ts:15 still run from it.
  • Files: every file change still targets the same paths. The callers only pass basename(...) names or the fixed runs folder name, so the new placeIn check can't be bypassed through them.

Places that touch files, programs, HTML or the network

  • server/system.ts:29 findProgram: skips relative PATH entries and anything inside the folders it's told to avoid. It's used for xdg-open (avoiding the worktree), ps and paseo. PATH and PASEO_BIN are the user's own environment, so they're outside the threat model. Safe.
  • server/system.ts:58 runProgram: execFile with no shell and an argument array, run from LAUNCH_FOLDER unless told otherwise. Safe.
  • server/system.ts:63 startDetached: spawn with no shell, used only for Windows explorer.exe, from LAUNCH_FOLDER. Safe.
  • server/system.ts:88 placeFileIn: writes only ~/.local/share/playwright-pulse/reporter.mjs. It writes a temp file, then renames or links it into place; the link step fails rather than replace a file that appeared meanwhile. Only a file starting with the plugin's marker line gets renamed over. Repo content can't reach it. Safe.
  • server/system.ts:100 removeIn and :105 removeFolderIn: called only for the reporter copy, for the reporter's own JSON file names (matched by REPORTER_FILE), and for empty folders under ~/.local/state/playwright-pulse/. Removal never follows a link, rmdir only removes empty folders, and nothing touches the worktree or .git. Safe.
  • server/reporter-install.ts:61 findPluginDirectory: calls the paseo CLI from PASEO_BIN, PATH or the fixed app path, all user-controlled. It reads server/pulse-reporter.mjs from the plugin's own install folder. Safe.
  • server/run-file.ts:64 and :83 readRunFile / latestRunId: read JSON from the plugin's state folder in the user's home. The run id must match RUN_ID, so it can't name another path. Safe.
  • server/run-file.ts:145 pruneRuns: only clears a folder after the worktree its run names is confirmed gone. It deletes only reporter-named files, skips anything that isn't a real folder, and keeps any folder that has other files in it. Safe.
  • server/run-file.ts:38 and server/stop.ts:11: ps is run by full path with a whole-number pid. stopRun only sends SIGINT to a process that is still Playwright and started no later than the run. The pid comes from the state folder in the user's home, which repo content alone can't write. Safe.
  • server/attachments.ts:49 resolveAttachment: only accepts a path that is in the latest run, matches what the panel asked for, sits inside the worktree, has no link at any step and is a regular file. Safe.
  • server/attachments.ts:71 previewImage: requires an image extension and at most 10 MB, and sends a base64 data URI to the plugin's own panel only. Nothing goes to the network. Safe.
  • server/attachments.ts:93 and :122 hostCommand / openFile: the file must have an extension of its kind (image, video, or .zip for traces), checked case-insensitively. It's opened with /usr/bin/open, %SystemRoot%\explorer.exe (only an absolute X:\ path is accepted) or xdg-open found outside the worktree. Traces are only shown in their folder, never opened. Safe.
  • server/attachments.ts:114 viewTraceCommand: only copies a command to the clipboard for the user to run. Paths with quotes, $, backticks, backslashes, !, % (on Windows) or control characters get no command, and --prefix points npx at the home folder rather than the worktree. Nothing is run. Safe.
  • server/pulse-reporter.mjs: runs inside the user's own Playwright run and writes only under ~/.local/state/playwright-pulse/<name>-<hash>/. Safe.
  • Client (client/*.tsx): all repo-supplied text is shown as React Native Text. There's no HTML, WebView, Linking or fetch. The only Image source is the server's data URI. The clipboard buttons copy text the user can see and choose to copy. Safe.
  • package-lock.json and package.json: development dependency bumps only (ws, terser, zod), and nothing is installed when a user installs the plugin. Safe.

No release blockers found.

Security review: progress-1.20.1, no release blockers

Security review: @stevecastaneda/paseo-progress@1.20.1

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: ac8f751b4a0ea8750ff3c91f1199d1823eed1bac
  • Diff: 00a4b21..cefa426 -- progress/
  • Date: 2026-12-02T22:52:39.157Z
  • Minutes: 1.1
  • Key: 0836cce703769fdb1bc230fb3303637656a4e366a3c5fed7666bd5db44a80b52

I found no release blockers.

What changed. The only change since 1.20.1 is progress/package-lock.json. It raises four nested copies of ws (6.2.6 to 6.2.7 and 7.5.13 to 7.5.14) and raises terser (5.51.2 to 5.51.4). Every changed entry is marked "dev": true, and the package has no runtime dependencies (package-lock.json:7-26). The lockfile and node_modules/ are not in the files list (package.json:20-34), so neither ships. The one built file that ships, dist/server/cli.js, is esbuild's bundle of server/cli.ts and the files it imports. None of those import ws or terser; those come in through react-native, metro and react-devtools. So the change does not alter anything that ships.

I still read the shipped server code and the client code that touches files, programs, HTML or the network. Everything below comes from reading the source. I ran nothing.

Places that touch files, programs, HTML or the network

  • server/system.ts:24-31 (runProgram / runCommandLine): Programs start in Node's own folder (LAUNCH_FOLDER), never the worktree, so a git.exe or paseo.cmd committed to a repo can't be picked up first. execFile gets its arguments as a list, with no shell. Safe.
  • server/system.ts:37-110 (write, append, make folder, remove): Every change names a trusted folder plus a relative name. Absolute names and .. are refused, and a link anywhere on the way in stops the change. Safe.
  • server/progress-file.ts:58-65, 107-148, 200-202 (the progress file, its lock, the panel-opened marker): These live under ~/.local/state/paseo-progress/<name>-<hash>, the plugin's own folder. The folder name is a hash of the worktree path, not something the repo can choose. Every event is checked against eventSchema before it's written. Safe.
  • server/lock.ts:12-39: A lock folder is created and removed inside the plugin's state folder through system.ts. Safe.
  • server/store.ts:15-23 (git): Runs git -C <root> from the launch folder. The arguments are fixed and the root is resolved first. Safe.
  • server/store.ts:54-90 (history folder in git config): The folder name comes from the repo's local git config, which the user controls and a committed repo can't set. checkFolder refuses folders outside the repo or inside .git. It's set only when the user picks a folder in the panel. Safe.
  • server/store.ts:111-122 (saveRunCopy): Writes into the real worktree path. makeFoldersIn stops at any link or file on the way. The file name is a timestamp plus a cleaned-up title ([a-z0-9-] only), and the write goes to a temporary file first and then replaces the target, so a link already sitting at that name is replaced, not written through. Nothing goes into .git. Safe.
  • server/store.ts:126-135 (listFolders): Only lists folder names, leaves out .git, and uses the same path check. Read-only. Safe.
  • server/open.ts:69-83 (resolveAttachment): Finds a file only by a reference to something already recorded (like D3). It follows links to the real path and refuses anything outside the real worktree. Safe.
  • server/open.ts:87-93 and 29-61 (open on the host): Needs the user's click. The real file must be a regular file, and only images, video, audio, PDFs and plain-text types open (shared/attachments.ts:138-142). HTML and SVG never open. It runs explorer, xdg-open or open from the launch folder with the path as an argument. Safe.
  • server/open.ts:120-186 (preview and reading a file in pieces): Reads only the real file inside the worktree, with size limits. The result goes only to the plugin's own panel, nothing leaves the machine, and HTML is refused here. Safe.
  • server/launcher.ts:128-173 (installing the launcher): From the panel it writes only to ~/.local/bin/paseo-progress (plus .cmd on Windows), and only when the user clicks. It never replaces a file the plugin didn't write. The script runs paseo from Node's folder (dirname(process.execPath)), not the repo. Safe.
  • server/cli.ts:669-670 (install-launcher [path] from the command line): An agent's tool call can't reach it: server/tool.ts:216-222 rejects it. Agents with a shell can already write files themselves. It also refuses to overwrite a file the plugin didn't write. Safe.
  • server/skill.ts:81-194 (copying the skill into ~/.agents, ~/.claude, ~/.gemini): The content is the plugin's own SKILL.md, found by asking Paseo where the plugin is installed. It replaces only copies marked as the plugin's own or links that point to a skill folder of the same name. The first install needs the user's click. paseo runs from the launch folder. Safe.
  • server/question-mode.ts, server/whats-new.ts:100-160, server/answers.ts:190-205: Each reads and writes small JSON files in the plugin's own state folder, and each is checked against a schema when read. Answers left waiting when the plugin stopped come back as "held", not sent. Safe.
  • server/answers.ts:151-186 (sending to an agent): Sends only the answer the user typed, to the agent recorded on the question, and only if that agent is in the same workspace. Safe.
  • server/tool.ts:22-35 (agent tools): Arguments are passed as --name=value after a --, so an agent can't sneak in extra flags. Every tool goes through the same checked command. Safe.
  • server/cli.ts:169-179, 606-619 (file and URL arguments): URLs must be http(s), which the schema at shared/events.ts:31 checks again. A path is only stored as text. Opening or previewing it later goes through resolveAttachment. Safe.
  • client/attachments.tsx:66-74 (opening a link): Only on the user's click, and only an http(s) URL, through Paseo's openBrowser / openExternalUrl. Safe.
  • client/attachments.tsx:96-110 with shared/markdown.ts:354 (an HTML deliverable opens in a Paseo tab): Only on the user's click, in Paseo's sandboxed preview, which blocks all web access. Even if the path or a link leads to a private file, the page's scripts have nowhere to send it. Safe.
  • shared/markdown.ts:181-344 (fixing up links in a Markdown preview): Rewrites only relative targets, and only to paths inside the worktree. Anything with a scheme or an absolute path is left alone. It's shown in Paseo's own Markdown view and sent nowhere. Safe.
  • progress/package-lock.json (the change): Dev dependencies only. It isn't packed and isn't in the bundle. Safe.

No release blockers found.

Security review: setup-monitor-1.2.0, no release blockers

Security review: @stevecastaneda/paseo-setup-monitor@1.2.0

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: e71a97d3e39b9f958d0b4ba1af6c0ec7160f800c
  • Diff: 29a247d..cefa426 -- setup-monitor/
  • Date: 2026-12-02T22:53:29.488Z
  • Minutes: 0.8
  • Key: 2885348f54485bf257d9edfdfc90ee70f47e91bb4ea9e4ba85b423c158e418c9

I reviewed @stevecastaneda/paseo-setup-monitor 1.2.0 at cefa426 by reading the source only. I didn't run anything and didn't change any files.

What changed

The only change is in setup-monitor/package-lock.json. It bumps ws (6.2.6 → 6.2.7 and 7.5.13 → 7.5.14, under react-native, metro and react-devtools-core) and terser (5.51.2 → 5.51.4). Every one of these entries is marked "dev": true. The plugin has no runtime dependencies in package.json (setup-monitor/package.json:43-53 only lists devDependencies), and the lockfile isn't in the files list (package.json:19-31). So nothing in this change ships or runs on a user's machine, and the change has no effect on items 1–4.

The plugin as it ships

I searched the shipped files (index.*, client/, server/, shared/) for fs, child_process, spawn/exec, fetch, Linking/openURL, WebView, dangerouslySetInnerHTML, require( and dynamic import(. None of them appear.

Every place that touches files, programs, HTML or the network:

  • server/daemon.ts:18-34 (defaultPort): It only sends messages to the Paseo daemon over process.send / process.on("message"). It doesn't touch the filesystem or the network.
  • server/daemon.ts:41-65 (parsePaseoFrame): It runs JSON.parse inside a try/catch and checks the shape strictly. Bad frames are dropped, so they can't crash the server.
  • server/daemon.ts:71-79, shared/setup.ts:29-35: Snapshots from the daemon are checked with zod, and logs are capped at 8,000 characters (shared/snapshot.ts:23-26, 170-187). Attacker-written setup output stays plain data and its size is limited.
  • server/daemon.ts:132-144 (status fetch): It sends workspace_setup_status_request for a non-empty workspaceId and only reads data back. Nothing is written.
  • server/daemon.ts:147-162, 343-349 (setup-monitor.setup.run): It forwards Paseo's own workspace.setup.run.request. Any daemon client can already send that request, so the plugin gives no one, including an agent, a capability it didn't already have. The plugin doesn't choose or build any commands; Paseo runs the repo's configured setup.
  • server/daemon.ts:203-264, 339-341 (setup watcher on workspace.create.after): It subscribes to setup progress and releases the subscription later. This only reads status; it never starts setup.
  • client/directory.ts: It lists and subscribes to Paseo workspaces through the plugin SDK client. Paseo handles everything else.
  • client/buttons.tsx:64-68, client/popover.tsx:134-166 ("Run setup"): This button only appears when Paseo has blocked the setup. Before the click it shows Paseo's own warning (shared/snapshot.ts:141-144: "This PR comes from …, a different repository. Its setup and scripts could run code you have not reviewed."). The button is labelled "Run setup" and does exactly what Paseo's own Setup panel approval does, so it isn't a command hidden behind a harmless label.
    • It runs nothing until the user clicks it, and nothing an agent or repo controls triggers it.
    • The blocked view doesn't list the setup commands. That's a hardening idea, not a blocker.
  • client/popover.tsx (rendering): All attacker-influenced strings (branch name, commands, cwd, logs, error, headRepository) are shown as React Native <Text>. There's no HTML, Markdown, links, images from the repo, or openURL.
    • This content only appears inside a popover headed "Setup" or "Setup failed", in log and command boxes. It can't land in settings, history, or anywhere it would look like the user's own work.
  • shared/snapshot.ts: These are pure string and number helpers with no I/O. The regexes (shortCommand) run only on the first line of a command and are simple, with no catastrophic backtracking.
  • paseo-plugin.json, icon.png, images/*.png, OVERVIEW.md, tsconfig.json: These are static files from the maintainer, and none of them read repo content.

No release blockers found.

Security review: shell-yeah-1.5.0, no release blockers

Security review: @stevecastaneda/paseo-shell-yeah@1.5.0

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: 7c441eae0df034683bcceeaf38b460528412d12c
  • Diff: 29a247d..cefa426 -- shell-yeah/
  • Date: 2026-12-02T22:54:06.707Z
  • Minutes: 1.4
  • Key: 6b1de56f9f7712e686573f92451e8d97cfca2f3acfeb7c7904faf1c35c407ae8

I found no release blockers in @stevecastaneda/paseo-shell-yeah 1.5.0. Everything below comes from reading the source; I didn't run anything, and I changed no files.

What changed. The only change since the last published version is shell-yeah/package-lock.json. It updates nested copies of ws (6.2.6→6.2.7 and 7.5.13→7.5.14, under react-native, @react-native/dev-middleware, metro and react-devtools-core) and terser (5.51.2→5.51.4). Every one of these entries is marked "dev": true and comes in through dev dependencies only.

  • node_modules isn't in the files list in package.json, so none of these packages ship.
  • No shipped file in client/, server/ or shared/ imports ws, terser, metro or react-devtools-core. The client imports only react, react-native, zod and @getpaseo/plugin.

So the change has no effect on what users get. I still reviewed the whole plugin as it ships.

Places that touch files, programs, HTML or the network:

  • server/proc.ts:101, :134 (start the command, through node-pty or /bin/sh on pipes): Safe. It only runs a command the user started with /sh, the Run window, or Run/Rerun on a card. It runs that command in the agent's own folder, using an absolute shell path from the user's SHELL setting or /bin/sh.
  • server/proc.ts:85-89 (startup check that the terminal works): Safe. It runs /bin/sh -c "exit 0" in /, or ComSpec on Windows. Nothing comes from the repo.
  • server/proc.ts:218 (taskkill on Windows, found by name): Safe under this threat model. The search uses the Paseo server's own folder, not the repo's, because no cwd is passed.
  • server/shells.ts:7-10 (which shell runs the command): Safe. On macOS and Linux it's the user's SHELL if it's a known shell, else /bin/bash or /bin/sh. On Windows it's PowerShell with -NoProfile -EncodedCommand, so quotes in the command can't be misread.
  • server/shells.ts:81-117 (commandFinder checks whether words in the reply are programs): Safe. It only checks that files exist and can run, and the result just picks which commands appear in the list. On Windows it refuses network paths outside the agent's folder, so nothing sends the user's login hash to another computer.
  • server/system.ts, server/logs.ts (saving and deleting logs): Safe. They only write in ~/.local/state/shell-yeah/logs (or %LOCALAPPDATA% on Windows). Agent and run ids that aren't plain become hashes, the file name is cleaned down to [a-z0-9-], .. is refused, links are refused, and files are private (0600/0700). They never write in the repo or in .git.
  • server/runs.ts:384, :532 (stat of the folder before a run): Safe. It only reads.
  • server/claude.ts:89-130 (turning the agent's reply into suggestion cards): Safe. Control characters, text-reordering marks and line separators are refused (HIDING), and Windows-style line endings become plain newlines before anything is shown or run.
  • client/run-row.tsx:347-384 (suggestion card and its Run button): Safe. The card shows the whole command, not cut short, with risk warnings, before Run. The only part not shown as a command is the leading # title line, which shows as the card's title and which the shell skips as a comment.
  • client/run-window.tsx:226-310 (one-tap Run in the Run window): Safe. One tap runs a command only if it's one short line shown in full (runsOnOneTap). Anything longer goes into the text box to review first.
  • client/output.tsx:25, :375-392 (links in command output): Safe. Only http(s) links become clickable, the text you see is the address that opens, and terminal hyperlink codes keep only their text.
  • server/claude.ts:545-551, :487-517 (Send to the agent, and the attach menu): Safe. Output goes only to the user's own agent, and only when the user presses Send or picks the item. The file:// address points at the agent's own folder, and the text is wrapped as output, not instructions.
  • index.server.ts:72-75 (adds a short block to new agents' instructions): Safe. It's fixed text from the plugin, added once.
  • Timeline cards (index.server.ts:29): Safe. Only the plugin's own server writes them, and suggestions are labeled "Suggested by ".

No release blockers found.

Security review: time-since-1.2.0, no release blockers

Security review: @stevecastaneda/paseo-time-since@1.2.0

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: 0492f37b2546cfd432558c259fec153b7c382448
  • Diff: 29a247d..cefa426 -- time-since/
  • Date: 2026-12-02T22:53:14.099Z
  • Minutes: 0.5
  • Key: 6a4b44f44fc2e4dc15701b1979c16127c56210b9f6aea04714be2dcb1c959a3d

I found no release blockers in time-since 1.2.0. I worked this out by reading the source and didn't run anything.

What changed: only time-since/package-lock.json. It bumps ws from 6.2.6 to 6.2.7 and from 7.5.13 to 7.5.14 (four nested copies), and terser from 5.51.2 to 5.51.4. Every changed entry is "dev": true. The lockfile is not in the files list in time-since/package.json:19-31, and the plugin has no dependencies, only devDependencies. So none of the changed code ships or runs in a user's Paseo. The tarball is the same as the last published version, so I reviewed the shipped code as a whole.

Every place the shipped plugin touches files, programs, HTML or the network:

  • File reads: server/settings.storage.ts:19 and server/last-reply.storage.ts:17 read files at fixed paths: <PASEO_HOME or ~/.paseo>/plugin-data/time-since/settings.json and last-reply.json. Safe: the root comes from the user's own environment and the file names are constants, so the repo, agents and RPC input can't change them. The contents are validated with zod (two booleans, or a map of strings) and never shown as trusted content.
  • File writes: server/system.ts:23-34 (writeFileAtomicIn) is the plugin's only write path. Called from settings.storage.ts:40 and last-reply.storage.ts:32. It creates the plugin-data folder, writes a temporary file, then renames it over the target. Safe: the folder and name are fixed constants inside the plugin's own data folder, which is never in the worktree or a .git folder. It also rejects absolute names and .. and checks for links along the path.
  • Writes on agent events: server hooks at server/last-reply.ts:14-15 (agent.turn.after and agent.archive.after) write {agentId: timestamp} into that fixed ledger file. Safe: the agent ID comes from the daemon, the timestamp from the server clock, and the plugin's own data file is the only target.
  • Settings RPC: server/settings.ts:9 (time-since.settings.update). Safe: the input is limited to two optional booleans and checked again with settingsSchema.parse before writing. Even if an agent could call it, the worst outcome is turning the clock icon or the "ago" suffix on or off. No attacker text gets stored or shown.
  • Ledger RPC: server/last-reply.ts:22-24 (time-since.last-reply.list) returns the ledger to the plugin's own client. Safe: it only returns agent IDs and timestamps, and doesn't read the repo, .env or .git.
  • Programs: none. No child_process, no opening files with their default app, no spawning in any shipped file. Safe.
  • HTML: none. The client renders only React Native Text and View, so there's no dangerouslySetInnerHTML, webview or iframe. Agent timeline data only supplies a timestamp: shared/elapsed.ts:47-53 checks that it parses as a date, and it's shown as a formatted elapsed time or a toLocaleString() date (client/ticker.tsx:83). Safe.
  • Network: no fetch and no sockets. The only traffic is Paseo's own RPC and subscription calls (client.rpc, client.paseo.agents.list/ref) in client/ticker.tsx and client/directory.ts. Safe: nothing is sent outside Paseo.
  • UI clicks: the options panel toggles (client/settings-panel.tsx:53) and the command center item (index.client.tsx:21) only flip a boolean setting or open the plugin's own panel. Safe.

No release blockers found.

Security review: workspace-links-1.1.2, no release blockers

Security review: @stevecastaneda/paseo-workspace-links@1.1.2

  • Reviewer: claude --model opus
  • Commit: cefa426
  • Tree: fb7bd920a0b239fda80f4f4d1feb85cb59a43a2f
  • Diff: a08928e..cefa426 -- workspace-links/
  • Date: 2026-12-02T22:53:24.155Z
  • Minutes: 0.7
  • Key: 3fea066a987cc5d8280b5365245e838ebdd678c8476f43a2063652e188469ab8

I found no release blockers in workspace-links 1.1.2. I reasoned this from the source and did not run anything.

What changed: Most of the diff is formatting only (line wrapping, quote style, reordered package.json keys, and the prepublishOnly script removed, which doesn't ship). The other changes are lockfile version bumps for ws, terser and zod, which are all dev dependencies and don't ship. The one change in behaviour is the new server/system.ts. server/shortcut.storage.ts now saves settings through it instead of writing the file itself.

Every place the shipped plugin touches files, programs, HTML or the network:

  • server/system.ts:11-19 placeIn — Safe. The folder and name come from server/shortcut.storage.ts:54: the folder is PASEO_HOME or ~/.paseo, plus plugin-data/workspace-links, and the name is the fixed settings.json. The attacker controls none of that. The .. and symlink checks add protection but aren't needed.
  • server/system.ts:23-34 writeFileAtomicIn (mkdir, temp file writeFile, rename, rm of the temp file) — Safe. It only writes inside the plugin's own data folder. The temp file name is the fixed path plus the process id and a random UUID. It never writes into the workspace or any .git folder.
  • server/shortcut.storage.ts:30-50 reading settings.json — Safe. It reads the plugin's own file, the schema allows only placement (an enum) and headerShowsLabel (a boolean), and errors only show the plugin's own path.
  • server/shortcut.storage.ts:67-73 and shared/shortcut.ts:32-39 (the settings update call) — Safe. The input can only be the enum or the boolean, so even an agent-sent update can't put free text into settings.
  • server/links.ts:8-30 reading <workspaceDirectory>/workspace-links.json — Safe:
    • It checks the file with lstat, so a symlink or non-regular file is refused rather than followed.
    • Files over 64 KB are refused.
    • The content must be at most 100 {label, url} entries, and each URL must start with http or https.
    • Only that file name is ever read, so .env, .git or files outside the worktree can't come back through it.
    • Parse errors are replaced with a fixed message, so file content doesn't leak into the error.
    • The gap between the lstat check and the read is a timing race, which the threat model counts as a follow-up.
  • server/links.ts:34-40 canonical — Safe. URLs with a username or password before an @ are rejected, and the cleaned-up href is what gets both shown and opened, so the URL shown matches the site the click opens.
  • server/status.ts:12-35 probe (an HTTP/HTTPS HEAD request to each link, 1.5 s timeout, certificates not checked) — Safe for items 1 to 4:
    • It only checks URLs from the workspace's own file, never URLs the client sends.
    • The request is a bodiless HEAD to a URL fixed in the repo file, so no user file or secret goes into it.
    • Nothing from the response is used except "it answered".
    • Repeated URLs are checked once.
  • index.server.ts:8-14 — Safe. It only registers the four RPC handlers above. Nothing is spawned or run, and no default app is opened.
  • client/panel.tsx:176-179, 256 and client/popover.tsx:82-85 openExternalUrl(link.url) — Safe:
    • It opens only http or https URLs that passed the server's checks.
    • It runs on the user's click, and the row shows the URL right there (panel.tsx:265, popover.tsx:189).
    • The displayUrl cleanup only removes the scheme, www. and a trailing slash, so the host stays at the start of what's shown.
  • client/popover.tsx:199 copyText(link.url) — Safe. It copies the same displayed URL, on the user's click.
  • client/links-query.ts:8-32 — Safe. These are only plugin RPC calls; the directory comes from Paseo's useWorkspace, not from agent text.
  • client/directory.ts and client/pills.tsx — Safe. They only use Paseo's agent and workspace directory subscriptions and register buttons, with no file, program or HTML access. Labels are fixed strings.
  • HTML — Nothing. All rendering uses React Native Text/View, with no dangerouslySetInnerHTML, WebView or Markdown. Attacker-written labels are shown as plain text next to their real URL, in a list that clearly comes from workspace-links.json.

No release blockers found.

npm audit flagged ws 6.2.6 and 7.5.13 (GHSA-37g9-w4hg-h9qr) and terser
5.51.2 (GHSA-6jpm-p5cq-9q44). Both come in through the react-native
dev dependency. npm audit fix moves them to ws 6.2.7 and 7.5.14 and terser
5.51.4. The lockfiles aren't published, so no plugin needs a release.
@stevecastaneda
stevecastaneda merged commit 0be1916 into main Dec 2, 2026
7 checks passed
@stevecastaneda
stevecastaneda deleted the chore/refresh-dev-lockfiles branch December 2, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants