Skip to content

Cli scripts init git argv injection#61

Merged
jamie-at-bunny merged 2 commits intomainfrom
cli-scripts-init-git-argv-injection
May 7, 2026
Merged

Cli scripts init git argv injection#61
jamie-at-bunny merged 2 commits intomainfrom
cli-scripts-init-git-argv-injection

Conversation

@jamie-at-bunny
Copy link
Copy Markdown
Member

Insert a -- end-of-options separator before the template repo URL so git treats it as a positional argument, hardening bunny scripts init --template-repo <value> against argv injection (e.g. --upload-pack=... or --config=...) if the flag value is ever sourced from a less-trusted channel.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 7, 2026

🦋 Changeset detected

Latest commit: 6e20ccf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@bunny.net/cli Patch
@bunny.net/cli-linux-x64 Patch
@bunny.net/cli-linux-arm64 Patch
@bunny.net/cli-darwin-x64 Patch
@bunny.net/cli-darwin-arm64 Patch
@bunny.net/cli-windows-x64 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jamie-at-bunny jamie-at-bunny merged commit 73a2dd9 into main May 7, 2026
1 check passed
@jamie-at-bunny jamie-at-bunny deleted the cli-scripts-init-git-argv-injection branch May 7, 2026 07:47
@github-actions github-actions Bot mentioned this pull request May 7, 2026
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