Skip to content

fix: refuse sign-script argv paths - #18

Merged
coreybutler merged 1 commit into
mainfrom
fix/sign-script-proxy-auth
Oct 24, 2026
Merged

coreybutler merged 1 commit into
mainfrom
fix/sign-script-proxy-auth

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

What

Close the --sign-script VerifyCache stamp so a shell cannot mint trust for an arbitrary launcher.

Why

The flag accepted a path on argv with no parent check. That is a silent local trust backdoor. nvm firewall trust module still signs in-process and is unchanged.

Testing

Unit tests: proxy parent + matching pipe passes; cmd.exe parent fails; console stdin fails; pipe PID mismatch fails; publisher mismatch fails; argv-style extra args are refused by the CLI (len(os.Args) != 2). Yarn Classic bin and installs tree remain delegated launcher paths.

Risk

Unsigned local debug builds fail closed on the proxy helper (prompt-path re-sign). Users can still trust via nvm firewall trust module. PPID spoof without the parent's pipe still fails.

Read the launcher path from the proxy pipe only. Firewall trust module still signs in-process.

Signed-off-by: Corey Butler <770982+coreybutler@users.noreply.github.com>
@coreybutler
coreybutler merged commit f8580fc into main Oct 24, 2026
5 of 6 checks passed
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.

1 participant