Skip to content

[Fix] Create : no more '../' shenanigans#1

Open
pradeeshl wants to merge 1 commit into
HemanthRaj0C:mainfrom
pradeeshl:main
Open

[Fix] Create : no more '../' shenanigans#1
pradeeshl wants to merge 1 commit into
HemanthRaj0C:mainfrom
pradeeshl:main

Conversation

@pradeeshl

Copy link
Copy Markdown

The create command was a bit too adventurous with file paths. This PR reins it in.

Changes
Validate all project names consistently (CLI + prompt)
Ensure resolved paths stay within the current working directory
Block overwrite/delete operations outside safe boundaries

Outcome
No more accidental or malicious ../ escapes. The command now stays firmly within its lane.

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