Skip to content

fix(F1085): scope rm to /configs/path - 1-line fix - #1682

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/f1085-rm-scope-v4
Apr 22, 2026
Merged

fix(F1085): scope rm to /configs/path - 1-line fix#1682
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/f1085-rm-scope-v4

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

1-line fix for the rm overscope bug. rm received /configs and filePath as two separate args, deleting entire /configs dir on every call. Concatenate to target only the intended file. validateRelPath already prevents traversal.

rm received /configs and filePath as two separate arguments, deleting
the entire /configs dir on every call. Concatenate to target only the
intended file. validateRelPath already prevents traversal, so this is
a logic bug not a security vulnerability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit 41316ee into main Apr 22, 2026
9 of 10 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