mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4293] [MERGED] Require consent for imported webhook tools #6323
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6323
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4293
Author: @SpicyMarinara
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:security/consent-imported-webhooks📝 Commits (1)
79fa562security: require consent for imported webhooks📊 Changes
7 files changed (+443 additions, -67 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
docs/extending/custom-tools.md(+2 -0)📝
package.json(+2 -1)📝
packages/client/src/components/panels/PresetsPanel.tsx(+234 -53)📝
packages/client/src/lib/custom-tool-transfer.ts(+71 -13)📝
packages/client/src/localization/locales/en.json(+19 -0)➕
scripts/regressions/custom-tool-import-security.regression.ts(+111 -0)📄 Description
Linked issue
Closes #4287
Why this change
An import file is data, not authorization. Restoring an enabled webhook or hidden-context sharing from that file can initiate external requests or disclose private prompt context without a fresh, local consent decision.
What changed
includeHiddenContext=false.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated proof completed before publication:
pnpm regression:custom-tool-import-securitypnpm localization:checkpnpm checkpnpm version:checkgit diff --check staging...security/consent-imported-webhookspnpm smoke:uiwas attempted but stopped after unrelated accent-color assertions failed in the message-deletion, connection-discard, and favorite-star scenarios. No webhook-import failure was reported before that interruption.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)English documentation and
CHANGELOG.mdare updated. Translation follow-up: #4289.UI evidence (if applicable)
Manual visual evidence remains to be captured during maintainer verification.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.