Repository navigation
chore: update ws and terser in every plugin's lockfile - #159
Merged
Merged
Conversation
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.
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.
Why
npm installin any plugin folder reports 2 vulnerabilities (1 moderate, 1 high). None of them reach users.npm audit --omit=devreports 0, because both packages come in through thereact-nativedev dependency. The warning still shows on every install, so this refreshes the lockfiles to clear it.What changed
npm audit fix --package-lock-onlyin each of the seven plugins. Onlypackage-lock.jsonchanges:npm doesn't publish
package-lock.json, so no plugin needs a new version or changelog entry.Verification
npm auditreports 0 vulnerabilities in every plugin. In each one,npm ci, typecheck andnpm testpass: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
I found no release blockers in
@stevecastaneda/paseo-history1.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 bumpsws(6.2.6→6.2.7, 7.5.13→7.5.14, 8.22.0→8.23.1) andterser(5.51.2→5.51.4). Every changed entry is marked"dev": true. Thepackage.jsonhas nodependenciesfield, onlydevDependencies. The lockfile isn't in thefileslist either, sonpm packdoesn'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:19readdirwalk: it only searches~/.codex/{sessions,archived_sessions}or~/.claude/projects, or the overridesCODEX_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:45andserver/system.ts:23open(path, "r"): read-only. The path comes fromfindLogor from the OMP path Paseo recorded, not from anything the attacker controls. It checksisFile()and writes nothing.server/omp.ts:23statplusreadPage: reads onlypersistence.nativeHandle, which Paseo recorded. The path must be absolute and a regular file, and the file's OMPsessionheader must match the chat's session ID. A planted file can't be swapped in for another chat's log.server/opencode.ts:12andserver/system.ts:19execFile("opencode", ["export", id, "--pure"]): no shell. It starts inhomedir(), 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.tsRPCraw-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:147andclient/task-notification.tsx:26<Markdown>: uses the host's Markdown component. There's no HTML, noinnerHTML, no WebView and no script.<Text>, which renders plain text, never HTML.client/viewer.tsx:292copyText: only copies to the clipboard when the user clicks Copy. It doesn't send anything anywhere.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'sisMeta/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.tsxandclient/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.No release blockers found.
Security review: playwright-pulse-1.5.1, no release blockers
Security review: @stevecastaneda/paseo-playwright-pulse@1.5.1
I found no release blockers in
@stevecastaneda/paseo-playwright-pulse1.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.jsonkey order, the real change is thatserver/programs.tsbecameserver/system.ts. It now does all the program starts and file changes thatattachments.ts,reporter-install.ts,run-file.tsandstop.tsused to do themselves. I compared each moved call with the code it replaced, and each one behaves the same as before:LAUNCH_FOLDER, the folder Node itself lives in, never the worktree.runProgramnow uses that folder by default, so the paseo CLI call inreporter-install.ts:67and the twopscalls inrun-file.ts:42andstop.ts:15still run from it.basename(...)names or the fixedrunsfolder name, so the newplaceIncheck can't be bypassed through them.Places that touch files, programs, HTML or the network
server/system.ts:29findProgram: skips relative PATH entries and anything inside the folders it's told to avoid. It's used forxdg-open(avoiding the worktree),psandpaseo. PATH andPASEO_BINare the user's own environment, so they're outside the threat model. Safe.server/system.ts:58runProgram:execFilewith no shell and an argument array, run fromLAUNCH_FOLDERunless told otherwise. Safe.server/system.ts:63startDetached:spawnwith no shell, used only for Windowsexplorer.exe, fromLAUNCH_FOLDER. Safe.server/system.ts:88placeFileIn: 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:100removeInand:105removeFolderIn: called only for the reporter copy, for the reporter's own JSON file names (matched byREPORTER_FILE), and for empty folders under~/.local/state/playwright-pulse/. Removal never follows a link,rmdironly removes empty folders, and nothing touches the worktree or.git. Safe.server/reporter-install.ts:61findPluginDirectory: calls the paseo CLI fromPASEO_BIN, PATH or the fixed app path, all user-controlled. It readsserver/pulse-reporter.mjsfrom the plugin's own install folder. Safe.server/run-file.ts:64and:83readRunFile/latestRunId: read JSON from the plugin's state folder in the user's home. The run id must matchRUN_ID, so it can't name another path. Safe.server/run-file.ts:145pruneRuns: 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:38andserver/stop.ts:11:psis run by full path with a whole-number pid.stopRunonly 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:49resolveAttachment: 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:71previewImage: 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:93and:122hostCommand/openFile: the file must have an extension of its kind (image, video, or.zipfor traces), checked case-insensitively. It's opened with/usr/bin/open,%SystemRoot%\explorer.exe(only an absoluteX:\path is accepted) orxdg-openfound outside the worktree. Traces are only shown in their folder, never opened. Safe.server/attachments.ts:114viewTraceCommand: 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--prefixpoints 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/*.tsx): all repo-supplied text is shown as React NativeText. There's no HTML, WebView,Linkingorfetch. The onlyImagesource is the server's data URI. The clipboard buttons copy text the user can see and choose to copy. Safe.package-lock.jsonandpackage.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
I found no release blockers.
What changed. The only change since 1.20.1 is
progress/package-lock.json. It raises four nested copies ofws(6.2.6 to 6.2.7 and 7.5.13 to 7.5.14) and raisesterser(5.51.2 to 5.51.4). Every changed entry is marked"dev": true, and the package has no runtimedependencies(package-lock.json:7-26). The lockfile andnode_modules/are not in thefileslist (package.json:20-34), so neither ships. The one built file that ships,dist/server/cli.js, is esbuild's bundle ofserver/cli.tsand the files it imports. None of those importwsorterser; 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 agit.exeorpaseo.cmdcommitted to a repo can't be picked up first.execFilegets 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 againsteventSchemabefore it's written. Safe.server/lock.ts:12-39: A lock folder is created and removed inside the plugin's state folder throughsystem.ts. Safe.server/store.ts:15-23(git): Runsgit -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.checkFolderrefuses 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.makeFoldersInstops 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 (likeD3). It follows links to the real path and refuses anything outside the real worktree. Safe.server/open.ts:87-93and29-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 runsexplorer,xdg-openoropenfrom 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.cmdon Windows), and only when the user clicks. It never replaces a file the plugin didn't write. The script runspaseofrom 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-222rejects 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 ownSKILL.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.paseoruns 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=valueafter 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 atshared/events.ts:31checks again. A path is only stored as text. Opening or previewing it later goes throughresolveAttachment. Safe.client/attachments.tsx:66-74(opening a link): Only on the user's click, and only an http(s) URL, through Paseo'sopenBrowser/openExternalUrl. Safe.client/attachments.tsx:96-110withshared/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
I reviewed
@stevecastaneda/paseo-setup-monitor1.2.0 atcefa426by 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 bumpsws(6.2.6 → 6.2.7 and 7.5.13 → 7.5.14, under react-native, metro and react-devtools-core) andterser(5.51.2 → 5.51.4). Every one of these entries is marked"dev": true. The plugin has no runtimedependenciesinpackage.json(setup-monitor/package.json:43-53only listsdevDependencies), and the lockfile isn't in thefileslist (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/) forfs,child_process,spawn/exec,fetch,Linking/openURL,WebView,dangerouslySetInnerHTML,require(and dynamicimport(. 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 overprocess.send/process.on("message"). It doesn't touch the filesystem or the network.server/daemon.ts:41-65(parsePaseoFrame): It runsJSON.parseinside 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 sendsworkspace_setup_status_requestfor a non-emptyworkspaceIdand only reads data back. Nothing is written.server/daemon.ts:147-162,343-349(setup-monitor.setup.run): It forwards Paseo's ownworkspace.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 onworkspace.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.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, oropenURL.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
I found no release blockers in
@stevecastaneda/paseo-shell-yeah1.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 ofws(6.2.6→6.2.7 and 7.5.13→7.5.14, underreact-native,@react-native/dev-middleware,metroandreact-devtools-core) andterser(5.51.2→5.51.4). Every one of these entries is marked"dev": trueand comes in through dev dependencies only.node_modulesisn't in thefileslist inpackage.json, so none of these packages ship.client/,server/orshared/importsws,terser,metroorreact-devtools-core. The client imports onlyreact,react-native,zodand@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/shon 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'sSHELLsetting or/bin/sh.server/proc.ts:85-89(startup check that the terminal works): Safe. It runs/bin/sh -c "exit 0"in/, orComSpecon Windows. Nothing comes from the repo.server/proc.ts:218(taskkillon Windows, found by name): Safe under this threat model. The search uses the Paseo server's own folder, not the repo's, because nocwdis passed.server/shells.ts:7-10(which shell runs the command): Safe. On macOS and Linux it's the user'sSHELLif it's a known shell, else/bin/bashor/bin/sh. On Windows it's PowerShell with-NoProfile -EncodedCommand, so quotes in the command can't be misread.server/shells.ts:81-117(commandFinderchecks 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(statof 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# titleline, 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. Onlyhttp(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. Thefile://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.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
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 bumpswsfrom 6.2.6 to 6.2.7 and from 7.5.13 to 7.5.14 (four nested copies), andterserfrom 5.51.2 to 5.51.4. Every changed entry is"dev": true. The lockfile is not in thefileslist intime-since/package.json:19-31, and the plugin has nodependencies, onlydevDependencies. 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:
server/settings.storage.ts:19andserver/last-reply.storage.ts:17read files at fixed paths:<PASEO_HOME or ~/.paseo>/plugin-data/time-since/settings.jsonandlast-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.server/system.ts:23-34(writeFileAtomicIn) is the plugin's only write path. Called fromsettings.storage.ts:40andlast-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.gitfolder. It also rejects absolute names and..and checks for links along the path.server/last-reply.ts:14-15(agent.turn.afterandagent.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.server/settings.ts:9(time-since.settings.update). Safe: the input is limited to two optional booleans and checked again withsettingsSchema.parsebefore 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.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,.envor.git.child_process, no opening files with their default app, no spawning in any shipped file. Safe.TextandView, so there's nodangerouslySetInnerHTML, webview or iframe. Agent timeline data only supplies a timestamp:shared/elapsed.ts:47-53checks that it parses as a date, and it's shown as a formatted elapsed time or atoLocaleString()date (client/ticker.tsx:83). Safe.fetchand no sockets. The only traffic is Paseo's own RPC and subscription calls (client.rpc,client.paseo.agents.list/ref) inclient/ticker.tsxandclient/directory.ts. Safe: nothing is sent outside Paseo.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
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.jsonkeys, and theprepublishOnlyscript removed, which doesn't ship). The other changes are lockfile version bumps forws,terserandzod, which are all dev dependencies and don't ship. The one change in behaviour is the newserver/system.ts.server/shortcut.storage.tsnow 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-19placeIn— Safe. The folder and name come fromserver/shortcut.storage.ts:54: the folder isPASEO_HOMEor~/.paseo, plusplugin-data/workspace-links, and the name is the fixedsettings.json. The attacker controls none of that. The..and symlink checks add protection but aren't needed.server/system.ts:23-34writeFileAtomicIn(mkdir, temp filewriteFile,rename,rmof 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.gitfolder.server/shortcut.storage.ts:30-50readingsettings.json— Safe. It reads the plugin's own file, the schema allows onlyplacement(an enum) andheaderShowsLabel(a boolean), and errors only show the plugin's own path.server/shortcut.storage.ts:67-73andshared/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-30reading<workspaceDirectory>/workspace-links.json— Safe:lstat, so a symlink or non-regular file is refused rather than followed.{label, url}entries, and each URL must start with http or https..env,.gitor files outside the worktree can't come back through it.lstatcheck and the read is a timing race, which the threat model counts as a follow-up.server/links.ts:34-40canonical— Safe. URLs with a username or password before an@are rejected, and the cleaned-uphrefis what gets both shown and opened, so the URL shown matches the site the click opens.server/status.ts:12-35probe(an HTTP/HTTPSHEADrequest to each link, 1.5 s timeout, certificates not checked) — Safe for items 1 to 4:HEADto a URL fixed in the repo file, so no user file or secret goes into it.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, 256andclient/popover.tsx:82-85openExternalUrl(link.url)— Safe:panel.tsx:265,popover.tsx:189).displayUrlcleanup only removes the scheme,www.and a trailing slash, so the host stays at the start of what's shown.client/popover.tsx:199copyText(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'suseWorkspace, not from agent text.client/directory.tsandclient/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.Text/View, with nodangerouslySetInnerHTML, WebView or Markdown. Attacker-written labels are shown as plain text next to their real URL, in a list that clearly comes fromworkspace-links.json.No release blockers found.