Skip to content

fix(server): reject CLI options in Skill install references - #432

Merged
SaladDay merged 1 commit into
mainfrom
codex/bug033-skill-install-options
Sep 10, 2026
Merged

fix(server): reject CLI options in Skill install references#432
SaladDay merged 1 commit into
mainfrom
codex/bug033-skill-install-options

Conversation

@SaladDay

Copy link
Copy Markdown
Collaborator

Skill installation accepted option-shaped slugs and source strings that the upstream CLI could interpret as local paths. Reject those values before invoking the downloader, while preserving ordinary owner/repo references and safe Skill names.

Scope: input validation only; installation, credentials, permissions and persistence are unchanged.

Validation: the new route tests fail against the baseline because the runner is invoked, then pass with the guard; safe-reference cases pass. make check passed and OpenAPI regeneration produced no changes. Tests use a fake downloader and do not execute the unsafe CLI arguments.

@SaladDay
SaladDay merged commit 9afbb4d into main Sep 10, 2026
13 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